FUNCTION
The two-parameter Weibull probability density function
You're viewing an older version of this page (#214). View the current version.
Interface
#include <codecogs/statistics/distributions/continuous/weibull/pdf.h>
using namespace Statistics::Distributions::Continuous::Weibull;
The Weibull distribution is a two-parameter distribution named after Waloddi Weibull. It is often also called the Rosin-Rammler distribution when used to describe the size distribution of particles.
The probability density function, given by
(1)
\graph x=50:150 a=5:20:4 b=100
In its standard form, b=1, therefore
(2)
\graph x=0:2 a=5:20:4 b=1
References
- M.Abramowitz and I.A.Stegun, Handbook of Mathematical Functions, 1964 chapt.26.1; http://www.weibull.com
- Weibull, W. (1951) A statistical distribution function of wide applicability. J. Appl. Mech.-Trans. ASME 18(3), 293-297
Example 1
#include <iostream>
#include <codecogs/statistics/distributions/continuous/weibull/pdf.h>
using namespace Stats::Dists::Continuous::Weibull;
int main()
{
std::cout << "PDF(105,20,100) = " << PDF( 105, 20, 100 ) << std::endl;
return 0;
}Output
PDF(105,20,100) = 0.035589Parameters
x
the value at which to evaluate the distribution
a
shape parameter
b
scale parameter
Returns
probability density value
Interactive Calculator
x
a
b
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.