Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Chi-square Test Chi-square Test
The chi-square probability density ∞
function is Γ(α ) = ∫ uα −1e− u du for α > 0
0
1
f ( y) = y ( n / 2) −1e− y / 2
2n / 2 Γ( n / 2) From this we can derive the following relationships:
Chi-square Density
Chi-square Test
Function
The mean of Y is:
µ y = E [Y ] = n
σ y2 = E (Y − µ y ) 2 = 2n
2
Chi-square Test T (Student’s) Test
The chi-square distribution has arises in the problem of estimating
numerous applications in inferential the mean of a normally distributed
statistics (chi-square tests and population when the sample size is
estimating variances). small.
It enters the problem of estimating Student's distribution arises when (as
the mean of a normally distributed in nearly all practical statistical work)
population and the problem of the population standard deviation is
estimating the slope of a regression unknown and has to be estimated
line via its role in Student's t- from the data.
distribution.
T (Student’s) Test
probability density function of the t-
distribution resembles the bell shape
of a normally distributed variable with
mean 0 and variance 1, except that it
is a bit lower and wider.
as the number of degrees of freedom
grows, the t-distribution approaches
the normal distribution with mean 0
and variance 1.
Symmetric about zero blue = normal distribution
red = t-distribution
3
T (Student’s) Test T (Student’s) Test
∞ The mean of T is:
Γ(α ) = ∫ uα −1e− u du for α > 0
0
Homework:
1. The random variable X has a chi-square
distribution with twenty degrees of freedom.
Calculate and plot the chi-square distribution of
Y. Also determine the mean and standard
deviation of Y. Show the table of values
computed from the chi-square density function.
Use up to 30 values for y, with 0.5 increments.
2. The random variable V is the sum of squares of
ten standard normal variables. Calculate and
plot the probability density function of V (V has
a t-distribution). Evaluate the mean and
standard deviation of V. Show the table of
values computed from the t (student’s) density
function. Use up to 30 values for y, with 0.5
increments.