This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Hypothesis (Goodness of Fit) TestHypothesis (Goodness of Fit) Testfor Proportions of a Multinomial for Proportions of a Multinomial
PopulationPopulation1.1. Set up the null and alternative hypotheses. Set up the null and alternative hypotheses.
2.2. Select a random sample and record the observed Select a random sample and record the observed
frequency, frequency, ffi i , for each of the , for each of the kk categories. categories.
3.3. Assuming Assuming HH00 is true, compute the expected is true, compute the expected frequency, frequency, eei i , in each category by multiplying the, in each category by multiplying the category probability by the sample size.category probability by the sample size.
Hypothesis (Goodness of Fit) TestHypothesis (Goodness of Fit) Testfor Proportions of a Multinomial for Proportions of a Multinomial
PopulationPopulation
22
1
( )f ee
i i
ii
k2
2
1
( )f ee
i i
ii
k
4.4. Compute the value of the test statistic. Compute the value of the test statistic.
Note: The test statistic has a chi-square distributionNote: The test statistic has a chi-square distributionwith with kk – 1 df provided that the expected frequencies – 1 df provided that the expected frequenciesare 5 or more for all categories.are 5 or more for all categories.
ffii = observed frequency for category = observed frequency for category iieeii = expected frequency for category = expected frequency for category ii
Multinomial Distribution Goodness of Fit Multinomial Distribution Goodness of Fit TestTest
Conclusion Using the Conclusion Using the pp-Value Approach-Value Approach
The The pp-value -value << . We can reject the null hypothesis. . We can reject the null hypothesis.
Because Because 22 = 10 is between 9.348 and 11.345, = 10 is between 9.348 and 11.345, thethe area in the upper tail of the distribution is area in the upper tail of the distribution is betweenbetween .025 and .01..025 and .01.
Area in Upper Tail .10 .05 .025 .01 .005Area in Upper Tail .10 .05 .025 .01 .005
22 Value (df = 3) 6.251 7.815 9.348 11.345 12.838 Value (df = 3) 6.251 7.815 9.348 11.345 12.838
Test of Independence: Contingency Test of Independence: Contingency TablesTables
22
( )f e
eij ij
ijji2
2
( )f e
eij ij
ijji
5.5. Determine the rejection rule. Determine the rejection rule.
Reject Reject HH00 if if p p -value -value << or or . .
2 2 2 2
4.4. Compute the test statistic. Compute the test statistic.
where where is the significance level and, is the significance level and,with with nn rows and rows and mm columns, there are columns, there are((nn - 1)( - 1)(mm - 1) degrees of freedom. - 1) degrees of freedom.
Contingency Table (Independence) TestContingency Table (Independence) Test
HH00: Price of the home : Price of the home isis independent of the independent of the
style of the home that is purchasedstyle of the home that is purchasedHHaa: Price of the home : Price of the home is notis not independent of the independent of the
style of the home that is purchasedstyle of the home that is purchased
Conclusion Using the Conclusion Using the pp-Value Approach-Value Approach
The The pp-value -value << . We can reject the null hypothesis. . We can reject the null hypothesis.
Because Because 22 = 9.145 is between 7.815 and = 9.145 is between 7.815 and 9.348, the9.348, the area in the upper tail of the distribution is area in the upper tail of the distribution is betweenbetween .05 and .025..05 and .025.
Area in Upper Tail .10 .05 .025 .01 .005Area in Upper Tail .10 .05 .025 .01 .005
22 Value (df = 3) 6.251 7.815 9.348 11.345 12.838 Value (df = 3) 6.251 7.815 9.348 11.345 12.838
Contingency Table (Independence) TestContingency Table (Independence) Test
Conclusion Using the Critical Value ApproachConclusion Using the Critical Value Approach
Contingency Table (Independence) TestContingency Table (Independence) Test
We reject, at the .05 level of We reject, at the .05 level of significance,significance,the assumption that the price of the the assumption that the price of the home ishome isindependent of the style of home that independent of the style of home that isispurchased.purchased.
Goodness of Fit Test: Poisson DistributionGoodness of Fit Test: Poisson Distribution
1.1. Set up the null and alternative hypotheses. Set up the null and alternative hypotheses.
HH00: Population has a Poisson probability distribution: Population has a Poisson probability distribution
HHaa: Population does not have a Poisson distribution: Population does not have a Poisson distribution
3.3. Compute the expected frequency of occurrences Compute the expected frequency of occurrences eeii for each value of the Poisson random variable.for each value of the Poisson random variable.
2.2. Select a random sample and Select a random sample and
a.a. Record the observed frequency Record the observed frequency ffii for each value of for each value of
the Poisson random variable.the Poisson random variable.
b.b. Compute the mean number of occurrences Compute the mean number of occurrences ..
Goodness of Fit Test: Poisson DistributionGoodness of Fit Test: Poisson Distribution
HHaa: Number of cars entering the garage during a: Number of cars entering the garage during a one-minute interval is one-minute interval is notnot Poisson distributed Poisson distributed
HH00: Number of cars entering the garage during: Number of cars entering the garage during a one-minute interval is Poisson distributeda one-minute interval is Poisson distributed
Conclusion Using the Conclusion Using the pp-Value Approach-Value Approach
The The pp-value > -value > . We cannot reject the null . We cannot reject the null hypothesis. There is no reason to doubt the hypothesis. There is no reason to doubt the assumption of a Poisson distribution.assumption of a Poisson distribution.
Because Because 22 = 3.268 is between 2.833 and = 3.268 is between 2.833 and 12.017 in the Chi-Square Distribution Table, the 12.017 in the Chi-Square Distribution Table, the area in the upper tailarea in the upper tailof the distribution is between .90 and .10. of the distribution is between .90 and .10.
Area in Upper Tail .90 .10 .05 .025 .01 Area in Upper Tail .90 .10 .05 .025 .01
22 Value (df = 7) 2.833 12.017 14.067 16.013 18.475 Value (df = 7) 2.833 12.017 14.067 16.013 18.475
Goodness of Fit Test: Poisson DistributionGoodness of Fit Test: Poisson Distribution
Normal Distribution Goodness of Fit TestNormal Distribution Goodness of Fit Test
HHaa: The population of number of units sold: The population of number of units sold does does notnot have a normal distribution with have a normal distribution with
mean 71 and standard deviation 18.54.mean 71 and standard deviation 18.54.
HH00: The population of number of units sold: The population of number of units sold has a normal distribution with mean 71has a normal distribution with mean 71 and standard deviation 18.54.and standard deviation 18.54.
Normal Distribution Goodness of Fit TestNormal Distribution Goodness of Fit Test
To satisfy the requirement of an To satisfy the requirement of an expectedexpectedfrequency of at least 5 in each interval frequency of at least 5 in each interval we willwe willdivide the normal distribution into 30/5 = divide the normal distribution into 30/5 = 66equal probability intervals.equal probability intervals.
Normal Distribution Goodness of Fit TestNormal Distribution Goodness of Fit Test
Conclusion Using the Conclusion Using the pp-Value Approach-Value Approach
The The pp-value > -value > . We cannot reject the null . We cannot reject the null hypothesis. There is little evidence to support hypothesis. There is little evidence to support rejecting the assumption the population is rejecting the assumption the population is normally distributed with normally distributed with = 71 and = 71 and = 18.54. = 18.54.
Because Because 22 = 1.600 is between .584 and = 1.600 is between .584 and 6.251 in the Chi-Square Distribution Table, the 6.251 in the Chi-Square Distribution Table, the area in the upper tailarea in the upper tailof the distribution is between .90 and .10. of the distribution is between .90 and .10.
Area in Upper Tail .90 .10 .05 .025 .01 Area in Upper Tail .90 .10 .05 .025 .01
22 Value (df = 3) .584 6.251 7.815 9.348 11.345 Value (df = 3) .584 6.251 7.815 9.348 11.345