Download Beta Distribution

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Continuous Distributions
Standard Normal Distribution
PDF:
f  z   k exp   z 2 2  ,
k
1
2
1

2
   exp   z 2   2 
k

Mean = Mode:
Variance:
493715722
E Z   0
Var  Z   1
1
6/29/2017
Normal Distribution
PDF:
 1  x   2 
f  x |  ,    exp   
,
 2    



k
k
1
2


 1  x   2 
dx


2

   exp   


 
2



 k



EX   
Mean = Mode:
Var  X    2
Variance
Uniform
PDF:
1, 0    1
f    
0, elsewhere
Mean:
E     1 2  0.5
Var     1 12  0.08333
Variance:
PDF
1
0
0
0.5
1
pi
493715722
2
6/29/2017
Beta Distribution
k  1 1     1 , 0    1 


PDF: g    g  |  ,    
, k 
0,
elsewhere




1
  ,  

    
      
1
      
1
  1
 1
   ,        1   
d 
k
    
0
E  
Mean:
Var    
Variance:

 
, ,   0

, ,   0
        1
2
3.0
3.0
2.5
   1
2.0
PDF
PDF
2.5
    0.5
2.0
1.5
1.5
1.0
1.0
0.5
0.5
0.0
0.0
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
0.0
0.1
0.2
0.3
0.4
X
0.6
0.7
0.8
0.9
1.0
X
3.0
4.0
2.5
3.5
  2
    12
3.0
PDF
2.0
PDF
0.5
1.5
2.5
2.0
1.5
1.0
1.0
0.5
0.5
0.0
0.0
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
0.0
0.1
0.2
0.3
0.4
X
0.5
0.6
0.7
0.8
0.9
1.0
0.6
0.7
0.8
0.9
1.0
X
12.0
10.0
PDF
PDF
3.0
  1 2,   2
8.0
6.0
4.0
  8,   3
2.0
1.0
2.0
0.0
0.0
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
0.0
X
493715722
0.1
0.2
0.3
0.4
0.5
X
3
6/29/2017
Mode:
Mode    
 1
, ,   0
  2
  x    x  1!, x  1, 2,
  x   ( x  1)  x  1 , x  .
493715722
4
6/29/2017
JMP Script for Beta Distribution
Figure 1. Beta (2, 2) PDF and CDF.
Beta PDF and CDF
https://courseware.vt.edu/users/holtzman/common/data/JMP_Scripts/BetaPDFandCDF.J
SL
493715722
5
6/29/2017
Minitab Implementation for Bolstad Chapter 7, Example 12
Normal Approximation to the Beta PDF
Bolstad Chapter 7 Example 12
Beta(12, 25), Mean=0.3243, Var=0.005767, SD=0.07594
0.4
Variable
Beta pdf
Normal pdf
5
Y-Data
4
3
2
1
0
0.0
0.1
0.2
0.3
x
0.4
0.5
0.6
To approximate P(Y>0.4)
Normal Approximation to the Beta CDF
Bolstad Chapter 7 Example 12
Beta(12, 25), Mean=0.3243, Var=0.005767, SD=0.07594
0.4
1.0
Variable
Beta(12,25) C DF
Normal A pprox
Y-Data
0.8
0.6
0.4
0.2
0.0
0.1
0.2
0.3
0.4
0.5
0.6
x
To approximate P(Y>0.4)
493715722
6
6/29/2017
The Minitab project that calculated and graphed this distribution is on line at
http://courseware.vt.edu/users/holtzman/common/data/Examples/BetaNormalApproxBols
tadCh7Example12.MPJ
For Bolstad Chapter 7, Example 12, there is an error. The answer is not 0.3406. The
correct answer using Bolstad’s style of Normal table that gives P(0 < Z < z) is
P(Y > 0.4) = 0.5 – 0.3406 = 0.1594
Using Minitab, we find the normal approximation is
P(Y > 0.4) = 0.15942
Using Minitab, we find the exact Beta-distribution value is
P(Y > 0.4) = 0.16201
so the normal approximation was correct to two decimal places and two significant
figures.
493715722
7
6/29/2017
Gamma Distribution
g  x   g  x | r, v   kx
PDF:
r 1  vx
e ,
k  v r 
r
1
r  
 r 1  vx
   x e dx  r 
v 
k
r
E  X   , r, v  0
v
Mean:
Var  X  
Variance:
r
v2
1.0
PDF
0.8
r=v=4
0.6
0.4
0.2
0.0
0
1
2
3
4
5
X
Gamma PDF and CDF JMP script
If Y ~ Chi-Squared with d degrees of freedom, then Y ~ Gamma with r = d/2 and v = ½.
E Y  
d 2
d
12
Var Y  
493715722
8
d 2
1 2 
2
 2d
6/29/2017
Exercises
1. Using Minitab, JMP, R, SAS, or whatever you like, for Y~Beta(1, 1)
a. calculate and graph the PDF and CDF of Beta(1,1),
b. calculate the mean, median, variance, standard deviation, and mode.
2. Repeat for Beta (0.5, 0.5).
3. Repeat for Beta (0.5, 2.0).
4. Repeat for Beta (2.0, 0.5).
5. Repeat for Beta (2, 2).
493715722
9
6/29/2017
Related documents