Presentation is loading. Please wait.

Presentation is loading. Please wait.

Goodness-of-Fit Tests

Similar presentations


Presentation on theme: "Goodness-of-Fit Tests"— Presentation transcript:

1 Goodness-of-Fit Tests
Chapter 14 Goodness-of-Fit Tests

2 Goodness-of-Fit Statistic Measure of how well a model explains a given set of data.

3 Multinomial Experiment
Provided that npi 5 for every i, the random variable has approximately a chi-squared distribution with k – 1 df.

4 When the Underlying Distribution is Continuous
Let X denote the variable being sampled. The hypothesized pdf is f0(x). Subdivide the measurement scale of X into k intervals [a0, a1),…, [ak, ak-1). The cell properties specified by H0 are

5 Degrees of Freedom A general rule of thumb for degrees of freedom in a chi-squared test is:

6 Test Procedure

7 Goodness of Fit for Continuous Distributions
The chi-squared test can be used to test whether the sample comes from a specified family of continuous distributions. Once the cells are chosen (independent of the observations) it is usually difficult to estimate unspecified parameters from the observed cell counts, so mle’s based on the full sample are computed.

8 Example of Goodness-of-Fit Test You are testing a power supply used in a computer. Using α = .05, determine whether output voltage is adequately described by a normal distribution. From the sample data below, you obtain sample estimates of the mean and standard deviation. ẍ = 5.04 volts and s = 0.08 volts k = 8 Class Interval Observed Expected x < ≤ x < ≤ x < ≤ x < ≤ x < ≤ x < ≤ x < ≤ x

9 Goodness of Fit for Discrete Distributions
Let be the maximum likelihood estimators of based on the full sample X1,…,Xn and let denote the statistic based on these estimators. Then the critical value that specifies a level upper-tailed test satisfies

10 Example for Discrete RV The number of defects in printed circuit boards is hypothesized to follow a Poisson pmf. A random sample of n = 60 boards has been collected. The following data result: Number of defects Observed


Download ppt "Goodness-of-Fit Tests"

Similar presentations


Ads by Google