60 likes | 213 Views
Gamma, exponential and Chi-squared distributions. Xijin Ge SDSU Math/STAT. Alpha= 1, beta=1. x = 1:100 *.1. y = dgamma(x,shape=1,scale=1). plot(x,y,type="l"). Alpha= 2, beta=1. Alpha= 2, beta=2. From Wikipedia.org. Chi-Squared distribution. y = dchisq (x,df=10).
E N D
Gamma, exponential and Chi-squared distributions Xijin Ge SDSU Math/STAT
Alpha= 1, beta=1 x = 1:100 *.1 y = dgamma(x,shape=1,scale=1) plot(x,y,type="l")
From Wikipedia.org Chi-Squared distribution