Questions tagged [weibull]

The Weibull distribution is a probability distribution with applications in survival analysis, reliability engineering, failure analysis, industrial engineering, extreme value theory, weather forecasting, forestry, and more.

References

Wikipedia article


Tag usage

Questions on should be about implementation and programming problems, not about the statistical or theoretical properties of the technique.
Consider whether your question might be better suited to Cross Validated, the StackExchange site for statistics, machine learning and data analysis.

273 questions
0
votes
2 answers

log-log scale for y axis in R

I am trying to create a Weibull probability plot for censored data in R. To do so I need a log-log scale for the y axis and a log scale for the x axis. The y axis is the probability (range 0 to 1) and the x axis is "time in days". I know that I can…
elevendollar
  • 1,115
  • 10
  • 19
0
votes
3 answers

Sample mean and variance of a Weibull distribution sample

Let's suppose that I have a random sample x from a Weibull distribution with shape parameter k=1 and scale parameter λ=2. How am I supposed to compute the mean value of the sample? Also what can I do to compute the variance of the sample? I would…
obelix
  • 880
  • 2
  • 16
  • 43
0
votes
2 answers

How can I plot two cumulative distributions curve as line type in same plot

I want to plot cumulative distributions curve for Weibull distribution over empirical cumulative distribution curve. I have tried with this several times but it does not serve the way I want. Here is the…
user2968058
  • 25
  • 2
  • 11
0
votes
1 answer

How do I plot the cdf curve as line type and overlay it with ecdf curve?

Can anybody tell how can I put the two cumulative distribution curve in a same plot? While executing this command: plot(x,pweibull(x,shape=1.120662,scale=18.496778),type="l",col=4) plot(ecdf(SIZEDIST$AVG.µm.),add=TRUE) the Weibull cdf curve is…
user2968058
  • 25
  • 2
  • 11
0
votes
1 answer

Which distribution fits data better?

I use fitdistr in R to select which distribution fits my data best. I've tried Cauchy, Weibull, normal, and Gamma distributions. The log-likelihoods were: -329.8492 for Cauchy, -277.4931 for Gamma, -327.7622 for Normal, -279.0352 for Weibull. Which…
0
votes
1 answer

Generate random variable between 1 and 100 according to specific distribution using Node.js

Using Node.js we are trying to come up with a way of generating a random number that falls between 1 and 100. However instead of using a standard linear distribution like the typical RAND() function might we want to instead use a Weibull (or some…
Gatmando
  • 2,179
  • 3
  • 29
  • 56
0
votes
1 answer

Axes like wblplot when plotting X and Y in Matlab

I want to plot a series of x and y coordinates with axes like those that are produced by wblplot. How can I achieve that? I can't use wblplot. http://www.mathworks.se/help/stats/wblplot.html
SM411
  • 3
  • 1
0
votes
2 answers

Assign Weibull densities within groups of dataset

I am trying to create a new column on my data.frame (df) with values of Weibull densities. I need to assign densities for vector of quantiles (w) taking into account groups in this df. The subsets are delimited by the variable "plot". Each plot…
Andre Silva
  • 4,782
  • 9
  • 52
  • 65
0
votes
1 answer

Weibull distribution and the data in the same figure (with numpy and scipy)

Here is my data: https://www.dropbox.com/s/xx02015pbr484es/Book2.xlsx This is my output: And this is the desired output: As you can see,I want "the data" and the "Weibull distribution" together, (in the same figure). This is my code: (loc, scale)…
Adel
  • 3,542
  • 8
  • 30
  • 31
0
votes
1 answer

Weibull distribution cdf

I need to calculate weibull distribution using jquery. The formula used by me is mentioned below: If my X process follows a Weibull distribution which has parameters alpha, beta, and gamma, what is the probability of getting an outcome less than or…
user2260265
0
votes
2 answers

Probability transformation using R

I want to turn a continuous random variable X with cdf F(x) into a continuous random variable Y with cdf F(y) and am wondering how to implement it in R. For example, perform a probability transformation on data following normal distribution (X) to…
0
votes
5 answers

Generating samples from Weibull distribution in MATLAB

I am using the command wblrnd(12.34,1.56) to get 100 different values that lie within the Weibull distribution with those parameters. But I want those 100 points/values to have the same distribution as the one given by the parameters. Which doesn't…
João Sousa
  • 13
  • 1
  • 2
0
votes
1 answer

Need random sample: Weibull distribution with specific inter-arrival times

I am using R, and would like to generate a number of observations using rweibull(n, shape, scale = 1). I have the arrival rate (i.e. 1/interarrival time), but I do not know how to use it in rweibull function.
-1
votes
1 answer

simulation of a weibull duration model

I want to create an event variable that follows Weibull distribution. The important thing is that the variable should be a combination of a few other observed variables. Eg: Death is the time to event variable follow Weibull distribution which I…
Aria
  • 37
  • 4
-1
votes
1 answer

R codes for AIC in distribution fitting

I have fitted the Weibull, lognormal and Gamma distributions to my claim amount data using the fitdistr in R. I want to choose which one fits my sample data the best using the AIC in R. How do I proceed?
user3309969
  • 55
  • 2
  • 6
1 2 3
18
19