The beta distribution, The weibull distribution, Functions for continuous distributions – HP 50g Graphing Calculator User Manual

Page 556

Advertising
background image

Page 17-7

,

while its cdf is given by F(x) = 1 - exp(-x/

β), for x>0, β >0.

The beta distribution

The pdf for the gamma distribution is given by

As in the case of the gamma distribution, the corresponding cdf for the beta
distribution is also given by an integral with no closed-form solution.

The Weibull distribution

The pdf for the Weibull distribution is given by

While the corresponding cdf is given by

Functions for continuous distributions

To define a collection of functions corresponding to the gamma, exponential,
beta, and Weibull distributions, first create a sub-directory called CFUN
(Continuous FUNctions) and define the following functions (change to Approx
mode):

Gamma pdf:

'gpdf(x) = x^(

α-1)*EXP(-x/β)/(β^α*GAMMA(α))'

Gamma cdf:

'gcdf(x) =

∫(0,x,gpdf(t),t)'

Beta pdf:

'

βpdf(x)= GAMMA(α+β)*x^(α-1)*(1-x)^(β-1)/(GAMMA(α)*GAMMA(β))'

Beta cdf:

'

βc

df(x)

=

∫(0,x, βpdf(t),t)'

0

,

0

),

exp(

1

)

(

>

>

=

β

β

β

x

for

x

x

f

0

,

0

,

1

0

,

)

1

(

)

(

)

(

)

(

)

(

1

1

>

>

<

<

Γ

Γ

+

Γ

=

β

α

β

α

β

α

β

α

x

for

x

x

x

f

0

,

0

,

0

),

exp(

)

(

1

>

>

>

=

β

α

α

β

α

β

β

x

for

x

x

x

f

0

,

0

,

0

),

exp(

1

)

(

>

>

>

=

β

α

α

β

x

for

x

x

F

Advertising