Lecture 23 - Testing for Goodness of Fit So far, we have...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Testing for Goodness of Fit So far, we have assumed that we have known the probability distribution for a particular set of data. How do we verify that our assumption is correct? When we are dealing with discrete distributions, we’ll use the χ 2 Goodness of Fit Test. This chi-square test is used to test if a sample of data came from a population with a specific distribution. To perform the test, we require a random sample of size n from the population in question (the larger the n , the better). We list the k values for the variable with the observed frequency (O i ) for each value. From the hypothesized distribution, we compute the expected frequency for each value, E i . Hypothesis Test Setup: Null hypothesis: The data follows the distribution we specify.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Alternative hypothesis: The does not follow the specified distribution. The test statistic is = - = k i i i i E E O 1 2 2 ) ( χ , which approximately follows a Chi-Squared distribution with p-1 degrees of freedom, where p is the number of parameters in the
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/15/2009 for the course STAT 2004 taught by Professor Melutz during the Fall '07 term at Virginia Tech.

Page1 / 5

Lecture 23 - Testing for Goodness of Fit So far, we have...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online