PDF
The two-parameter Weibull probability density function
Controller:
CodeCogs
Interface
#include <codecogs/statistics/distributions/continuous/weibull/pdf.h>
using namespace Stats::Dists::Continuous::Weibull;
| double | PDF (double x, double a, double b)
The two-parameter Weibull probability density function |
Use the following HTML code to embed the calculators within other websites:
| Name | HTML Code |
|---|
PDF
The two-parameter Weibull probability density function | |
PDF
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
In its standard form,
b=1, therefore
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/stats/dists/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.035589
Parameters
| x | the value at which to evaluate the distribution |
| a | shape parameter |
| b | scale parameter |
Returns
- probability density value
Authors
- Anatoly Prognimack (Mar 19, 2005)
Developed and tested with: Borland C++ 3.1 for DOS and Microsoft Visual C++ 5.0, 6.0
Updated by Will Bateman (March 2005)
Source Code
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge