<< Chapter < Page Chapter >> Page >
This course is a short series of lectures on Introductory Statistics. Topics covered are listed in the Table of Contents. The notes were prepared by EwaPaszek and Marek Kimmel. The development of this course has been supported by NSF 0203396 grant.

Gamma and chi-square distributions

In the (approximate) Poisson process with mean λ , we have seen that the waiting time until the first change has an exponential distribution . Let now W denote the waiting time until the α th change occurs and let find the distribution of W . The distribution function of W ,when w 0 is given by

F ( w ) = P ( W w ) = 1 P ( W > w ) = 1 P ( f e w e r _ t h a n _ α _ c h a n g e s _ o c c u r _ i n _ [ 0, w ] ) = 1 k = 0 α 1 ( λ w ) k e λ w k ! ,

since the number of changes in the interval [ 0, w ] has a Poisson distribution with mean λ w . Because W is a continuous-type random variable, F ' ( w ) is equal to the p.d.f. of W whenever this derivative exists. We have, provided w >0, that

F ' ( w ) = λ e λ w e λ w k = 1 α 1 [ k ( λ w ) k 1 λ k ! ( λ w ) k λ k ! ] = λ e λ w e λ w [ λ λ ( λ w ) α 1 ( α 1 ) ! ] = λ ( λ w ) α 1 ( α 1 ) ! e λ w .

Gamma distribution

The gamma function is defined by Γ ( t ) = 0 y t 1 e y d y ,0 < t .

This integral is positive for 0 < t , because the integrand id positive. Values of it are often given in a table of integrals. If t > 1 , integration of gamma fnction of t by parts yields

Γ ( t ) = [ y t 1 e y ] 0 + 0 ( t 1 ) y t 2 e y d y = ( t 1 ) 0 y t 2 e y d y = ( t 1 ) Γ ( t 1 ) .

Let Γ ( 6 ) = 5 Γ ( 5 ) and Γ ( 3 ) = 2 Γ ( 2 ) = ( 2 ) ( 1 ) Γ ( 1 ) . Whenever t = n , a positive integer, we have, be repeated application of Γ ( t ) = ( t 1 ) Γ ( t 1 ) , that Γ ( n ) = ( n 1 ) Γ ( n 1 ) = ( n 1 ) ( n 2 ) ... ( 2 ) ( 1 ) Γ ( 1 ) .

However, Γ ( 1 ) = 0 e y d y = 1 .

Thus when n is a positive integer, we have that Γ ( n ) = ( n 1 ) ! ; and, for this reason, the gamma is called the generalized factorial .

Got questions? Get instant answers now!

Incidentally, Γ ( 1 ) corresponds to 0!, and we have noted that Γ ( 1 ) = 1 , which is consistent with earlier discussions.

Summarizing

The random variable x has a gamma distribution if its p.d.f. is defined by

f ( x ) = 1 Γ ( α ) θ α x α 1 e x / θ ,0 x < .

Hence, w , the waiting time until the α th change in a Poisson process, has a gamma distribution with parameters α and θ = 1 / λ .

Function f ( x ) actually has the properties of a p.d.f., because f ( x ) 0 and

f ( x ) d x = 0 x α 1 e x / θ Γ ( α ) θ α d x , which, by the change of variables y = x / θ equals

0 ( θ y ) α 1 e y Γ ( α ) θ α θ d y = 1 Γ ( α ) 0 y α 1 e y d y = Γ ( α ) Γ ( α ) = 1.

The mean and variance are: μ = α θ and σ 2 = α θ 2 .

Gamma distribution

The c.d.f. graph.
The p.d.f. graph.
The p.d.f. and c.d.f. graphs of the Gamma Distribution.

Suppose that an average of 30 customers per hour arrive at a shop in accordance with Poisson process. That is, if a minute is our unit, then λ = 1 / 2 . What is the probability that the shopkeeper will wait more than 5 minutes before both of the first two customers arrive? If X denotes the waiting time in minutes until the second customer arrives, then X has a gamma distribution with α = 2, θ = 1 / λ = 2. Hence,

p ( X > 5 ) = 5 x 2 1 e x / 2 Γ ( 2 ) 2 2 d x = 5 x e x / 2 4 d x = 1 4 [ ( 2 ) x e x / 2 4 e x / 2 ] 5 = 7 2 e 5 / 2 = 0.287.

We could also have used equation with λ = 1 / θ , because α is an integer P ( X > x ) = k = 0 α 1 ( x / θ ) k e x / θ k ! . Thus, with x =5, α =2, and θ = 2 , this is equal to

P ( X > x ) = k = 0 2 1 ( 5 / 2 ) k e 5 / 2 k ! = e 5 / 2 ( 1 + 5 2 ) = ( 7 2 ) e 5 / 2 .

Got questions? Get instant answers now!

Chi-square distribution

Let now consider the special case of the gamma distribution that plays an important role in statistics.

Let X have a gamma distribution with θ = 2 and α = r / 2 , where r is a positive integer. If the p.d.f. of X is
f ( x ) = 1 Γ ( r / 2 ) 2 r / 2 x r / 2 1 e x / 2 ,0 x < .
We say that X has chi-square distribution with r degrees of freedom, which we abbreviate by saying is χ 2 ( r ) .

The mean and the variance of this chi-square distributions are

μ = α θ = ( r 2 ) 2 = r and σ 2 = α θ 2 = ( r 2 ) 2 2 = 2 r .

That is, the mean equals the number of degrees of freedom and the variance equals twice the number of degrees of freedom.

In the fugure 2 the graphs of chi-square p.d.f. for r =2,3,5, and 8 are given.

The p.d.f. of chi-square distribution for degrees of freedom r =2,3,5,8.
the relationship between the mean μ = r , and the point at which the p.d.f. obtains its maximum.

Because the chi-square distribution is so important in applications, tables have been prepared giving the values of the distribution function for selected value of r and x ,

F ( x ) = 0 x 1 Γ ( r / 2 ) 2 r / 2 w r / 2 1 e w / 2 d w .

Let X have a chi-square distribution with r =5 degrees of freedom. Then, using tabularized values,

P ( 1.145 X 12.83 ) = F ( 12.83 ) F ( 1.145 ) = 0.975 0.050 = 0.925

and P ( X > 15.09 ) = 1 F ( 15.09 ) = 1 0.99 = 0.01.

Got questions? Get instant answers now!

If X is χ 2 ( 7 ) , two constants, a and b , such that P ( a < X < b ) = 0.95 , are a =1.690 and b =16.01.

Other constants a and b can be found, this above are only restricted in choices by the limited table.

Got questions? Get instant answers now!

Probabilities like that in Example 4 are so important in statistical applications that one uses special symbols for a and b . Let α be a positive probability (that is usually less than 0.5) and let X have a chi-square distribution with r degrees of freedom. Then χ α 2 ( r ) is a number such that P [ X χ α 2 ( r ) ] = α

That is, χ α 2 ( r ) is the 100(1- α ) percentile (or upper 100a percent point) of the chi-square distribution with r degrees of freedom. Then the 100 α percentile is the number χ 1 α 2 ( r ) such that P [ X χ 1 α 2 ( r ) ] = α . This is, the probability to the right of χ 1 α 2 ( r ) is 1- α . SEE fugure 3 .

Let X have a chi-square distribution with seven degrees of freedom. Then, using tabularized values, χ 0.05 2 ( 7 ) = 14.07 and χ 0.95 2 ( 7 ) = 2.167. These are the points that are indicated on Figure 3.

χ 0.05 2 ( 7 ) = 14.07 and χ 0.95 2 ( 7 ) = 2.167.
Got questions? Get instant answers now!

Questions & Answers

the operation * is x * y =x + y/ 1+(x × y) show if the operation is commutative if x × y is not equal to -1
Alfred Reply
An investment account was opened with an initial deposit of $9,600 and earns 7.4% interest, compounded continuously. How much will the account be worth after 15 years?
Kala Reply
lim x to infinity e^1-e^-1/log(1+x)
given eccentricity and a point find the equiation
Moses Reply
12, 17, 22.... 25th term
Alexandra Reply
12, 17, 22.... 25th term
Akash
College algebra is really hard?
Shirleen Reply
Absolutely, for me. My problems with math started in First grade...involving a nun Sister Anastasia, bad vision, talking & getting expelled from Catholic school. When it comes to math I just can't focus and all I can hear is our family silverware banging and clanging on the pink Formica table.
Carole
I'm 13 and I understand it great
AJ
I am 1 year old but I can do it! 1+1=2 proof very hard for me though.
Atone
hi
Adu
Not really they are just easy concepts which can be understood if you have great basics. I am 14 I understood them easily.
Vedant
find the 15th term of the geometric sequince whose first is 18 and last term of 387
Jerwin Reply
I know this work
salma
The given of f(x=x-2. then what is the value of this f(3) 5f(x+1)
virgelyn Reply
hmm well what is the answer
Abhi
how do they get the third part x = (32)5/4
kinnecy Reply
make 5/4 into a mixed number, make that a decimal, and then multiply 32 by the decimal 5/4 turns out to be
AJ
can someone help me with some logarithmic and exponential equations.
Jeffrey Reply
sure. what is your question?
ninjadapaul
20/(×-6^2)
Salomon
okay, so you have 6 raised to the power of 2. what is that part of your answer
ninjadapaul
I don't understand what the A with approx sign and the boxed x mean
ninjadapaul
it think it's written 20/(X-6)^2 so it's 20 divided by X-6 squared
Salomon
I'm not sure why it wrote it the other way
Salomon
I got X =-6
Salomon
ok. so take the square root of both sides, now you have plus or minus the square root of 20= x-6
ninjadapaul
oops. ignore that.
ninjadapaul
so you not have an equal sign anywhere in the original equation?
ninjadapaul
hmm
Abhi
is it a question of log
Abhi
🤔.
Abhi
I rally confuse this number And equations too I need exactly help
salma
But this is not salma it's Faiza live in lousvile Ky I garbage this so I am going collage with JCTC that the of the collage thank you my friends
salma
Commplementary angles
Idrissa Reply
hello
Sherica
im all ears I need to learn
Sherica
right! what he said ⤴⤴⤴
Tamia
hii
Uday
hi
salma
hi
Ayuba
Hello
opoku
hi
Ali
greetings from Iran
Ali
salut. from Algeria
Bach
hi
Nharnhar
what is a good calculator for all algebra; would a Casio fx 260 work with all algebra equations? please name the cheapest, thanks.
Kevin Reply
a perfect square v²+2v+_
Dearan Reply
kkk nice
Abdirahman Reply
algebra 2 Inequalities:If equation 2 = 0 it is an open set?
Kim Reply
or infinite solutions?
Kim
The answer is neither. The function, 2 = 0 cannot exist. Hence, the function is undefined.
Al
Jeannette has $5 and $10 bills in her wallet. The number of fives is three more than six times the number of tens. Let t represent the number of tens. Write an expression for the number of fives.
August Reply
What is the expressiin for seven less than four times the number of nickels
Leonardo Reply
How do i figure this problem out.
how do you translate this in Algebraic Expressions
linda Reply
why surface tension is zero at critical temperature
Shanjida
I think if critical temperature denote high temperature then a liquid stats boils that time the water stats to evaporate so some moles of h2o to up and due to high temp the bonding break they have low density so it can be a reason
s.
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
Crystal Reply
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Chris Reply
Got questions? Join the online conversation and get instant answers!
QuizOver.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Introduction to statistics. OpenStax CNX. Oct 09, 2007 Download for free at http://cnx.org/content/col10343/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to statistics' conversation and receive update notifications?

Ask
Danielrosenberger
Start Quiz