weibull_distribution function
The lifetime of a unit whose chance of surviving to time x is e^(-(x/scale)^shape).
How to write it
weibull_distribution(shape, scale)
- shape
- The shape, above 0. Below 1 the failure rate falls with age, at 1 it is constant, above 1 it rises. Takes an expression.
- scale
- The scale, above 0: the time by which 1 - 1/e of the units have failed. Takes an expression.
Examples
weibull_distribution(k, lambda)Open in the solverprobability(x > 50, distributed(x, weibull_distribution(2, 100)))In the solver,
Open in the solverprobability(x > 50, distributed(x, weibull_distribution(2, 100)))gives1/e^(1/4).mean(weibull_distribution(k, lambda))In the solver,
Open in the solvermean(weibull_distribution(k, lambda))giveslambda*gamma(1/k + 1).
Functions its examples use
- probability
The probability that a condition holds for a variable with a distribution.
- distributed
A variable and the distribution it follows, as probability and expectation read it.
- mean
The average of a list of numbers, or the expected value of a distribution.
Related functions
- uniform_distribution
The continuous distribution that is equally likely anywhere between a and b.
- binomial_distribution
The number of successes in n independent trials that each succeed with chance p.
- stationary_distribution
The law a process settles into over time, when it has one.
- poisson_distribution
The number of events in a period when they come at an average rate lambda.
- exponential_distribution
The waiting time for events that come at rate lambda.
- normal_distribution
The normal distribution with mean mu and standard deviation sigma.