Download presentation
Presentation is loading. Please wait.
Published byImogen Hodge Modified over 9 years ago
1
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution. Null Hypothesis, H0: The data fits the distribution. Fact: Divide the range into k intervals. If the data fits the distribution, then following random variable follows the chi-square distribution with k-1 degrees of freedom.
2
Testing Hypothesis That Data Fit a Given Probability Distribution The value of the above variable computed in a hypothesis test is called chi-square statistic. If chi-square statistic is too large (far in the right tail of the chi-square distribution) this is a surprising result, and it means that the evidence from the test contradicts the hypothesis that the data fit the probability distribution.
3
Algorithm 1.Perform visual test first. If there is no reason to reject hypothesis proceed as follows. 2.Divide range of values in a sample into k adjacent intervals. 3.Tally the number of observations in each interval. 4.Calculate the chi-square statistic. 5.Calculate the p-value of the test. 6.Decide if the hypothesis should be rejected.
4
Decision Rule Reject hypothesis if p- value less or equal to some low significance level (e.g. 0.05). Otherwise do not reject hypothesis. Reject H0Do not reject H0
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.