Question

In: Statistics and Probability

Using the following data (already sorted), use a goodness of fit test to test whether it...

Using the following data (already sorted), use a goodness of fit test to test whether it comes from an exponential distribution. The exponential distribution has one parameter, its mean, μ (which is also its standard deviation). The exponential distribution is a continuous distribution that takes on only positive values in the interval (0,). Probabilities for the exponential distribution can be found based on the following probability expression:

.

Use 10 equally likely cells for your goodness of fit test.

Data Display

0.2 0.4 0.5 0.5 0.7 0.8 1.0 1.2 1.2 1.2

1.4 1.5 1.5 1.6 1.7 1.7 1.7 1.8 1.8 1.9

2.0 2.3 2.6 2.7 2.7 2.8 2.8 2.8 2.8 2.8

2.8 2.9 2.9 3.0 3.0 3.0 3.2 3.2 3.2 3.4

3.4 3.5 3.6 3.6 3.7 3.8 3.9 3.9 3.9 4.0

4.1 4.1 4.2 4.3 4.5 4.5 4.5 4.6 4.7 4.8

4.8 4.9 4.9 4.9 5.0 5.0 5.1 5.1 5.1 5.3

5.3 5.3 5.3 5.4 5.4 5.4 5.4 5.5 5.5 5.5

5.6 5.6 5.6 5.7 5.7 5.8 5.8 5.8 5.9 5.9

6.0 6.0 6.2 6.2 6.2 6.3 6.3 6.3 6.3 6.4

6.6 6.6 6.6 6.6 6.7 6.8 6.9 6.9 6.9 7.0

7.0 7.1 7.2 7.3 7.3 7.4 7.5 7.5 7.6 7.6

7.7 7.8 7.8 7.9 8.0 8.0 8.0 8.1 8.1 8.1

8.2 8.3 8.4 8.4 8.4 8.5 8.5 8.6 8.6 8.7

8.7 8.8 9.0 9.1 9.1 9.2 9.3 9.4 9.5 9.6

9.6 9.6 9.8 9.9 9.9 9.9 10.0 10.1 10.2 10.5

10.6 10.7 10.7 10.8 10.9 10.9 11.0 11.0 11.4 11.5

11.7 11.8 11.8 11.9 12.0 12.0 12.1 12.1 12.3 12.3

12.3 12.3 12.6 12.9 13.1 13.3 13.3 13.4 13.5 13.6

13.9 14.0 14.2 14.2 14.3 14.3 14.4 15.0 15.0 15.2

15.6 15.6 15.7 15.7 15.7 15.9 16.0 16.3 16.4 16.5

16.5 16.6 16.6 16.7 17.2 17.3 17.3 17.4 17.7 17.9

18.6 18.8 19.9 19.9 19.9 20.0 20.1 20.3 20.4 21.0

21.3 21.5 22.2 23.3 23.5 23.9 24.3 24.8 25.5 25.5

25.6 25.8 27.5 28.2 30.9 35.7 36.3 37.2 40.9 52.8

Descriptive Statistics:

Variable    N   Mean

Exp?      250 9.974

Solutions

Expert Solution

We test the hypothesis,

Null Hypothesis : The given data comes from an exponential distribution, versus

Alternative Hypothesis : The given data does not come from an exponential distribution.

We need to form a frequency table to solve the problem. Here, I have divided the observations into ten class intervals and write the corresponding frequencies.

Class Interval Frequency
0 - 5.5 77
5.5 - 11 89
11 - 16.5 43
16.5 - 22 23
22 - 27.5 10
27.5 - 33 3
33 - 38.5 3
38.5 - 44 1
44 - 49.5 0
49.5 - 55 1

Here, we are required to estimate the parameters of the distribution if it is not provided. We are already given the parameter, i.e., mean is equal to 9.974.

If X follows exponential distribution, then the pdf of X is given by,

Then,

Hence,

Expected frequency,

The integral can be easily calculated using calculator.

"a" and "b" are the lower and upper limits of the class interval respectively.

Class Interval Observed Frequency , P(a < X < b) Expected Frequency,
0 - 5.5 77 0.424 106 7.934
5.5 - 11 89 0.244 61 12.852
11 - 16.5 43 0.141 36 1.3611
16.5 - 22 23 0.081 20 0.45
22 - 27.5 10 0.047 12 0.333
27.5 - 33 3 0.027 7 3.2667
33 - 38.5 3 0.016 4
38.5 - 44 1 0.009 2
44 - 49.5 0 0.005 1
49.5 - 55 1 0.003 1

If the frequency values are less than five, chi-square test does not work well. Hence, we have to pool the values less than 5 to get a larger value.

For the pooled values,

The test statistic, under the null hypothesis is

From the above table, U = 26.1968

Critical value, ( from the chi - square table)

where is the level of significance = 0.05

Degrees of freedom = k - r - 1, where k is the number of classes after pooling(i.e.,k=6)and r is the number of parameters estimate(i.e., r=0).

We reject the null hypothesis if  

Here, .

Hence, we reject the null hypothesis and conclude that exponential is not a good fit for the above data.


Related Solutions

Use a = .01 and conduct a goodness of fit test to see whether the following...
Use a = .01 and conduct a goodness of fit test to see whether the following sample appears to have been selected from a normal distribution. 55, 86, 94, 58, 55, 95, 55, 52, 69, 95, 90, 65, 87, 50, 56 55, 57, 98, 58, 79, 92, 62, 59, 88, 65 a) What is the value of the test statistic? b) What is the critical value of the test statistic? c) What is the p-value (or range for the p-value...
Test the following hypotheses by using the χ2 goodness of fit test.
You may need to use the appropriate technology to answer this question. Test the following hypotheses by using the χ2 goodness of fit test. H0: pA = 0.40, pB = 0.40, and pC = 0.20 Ha: The population proportions are not pA = 0.40, pB = 0.40, and pC = 0.20. A sample of size 200 yielded 60 in category A, 120 in category B, and 20 in category C. Use α = 0.01 and test to see whether the...
Test the following hypotheses by using the χ2 goodness of fit test. H0: pA = 0.40,...
Test the following hypotheses by using the χ2 goodness of fit test. H0: pA = 0.40, pB = 0.40, and pC = 0.20 Ha: The population proportions are not pA = 0.40, pB = 0.40, and pC = 0.20. A sample of size 200 yielded 60 in category A, 20 in category B, and 120 in category C. Use α = 0.01 and test to see whether the proportions are as stated in H0. (a) Use the p-value approach. Find...
Consider the following sets of data. Explain (without carrying out a formal Goodness-of-fit test) whether you...
Consider the following sets of data. Explain (without carrying out a formal Goodness-of-fit test) whether you think the data follows the distribution it is expected to follow. You might choose to find the expected frequencies and compare them with the observed frequencies to make a conclusion. (3 points) Data Set I: Grades Distribution                                   Grades Claimed Distribution Survey Results A 10% 20 B 30% 65 C 35% 75 D 10% 17 F 5% 8 Data Set II: Ice-Cream Flavors Preferred Flavors...
For each of the following examples, state whether the chi-square goodness-of-fit test or the chi-square test...
For each of the following examples, state whether the chi-square goodness-of-fit test or the chi-square test for independence is appropriate, and state the degrees of freedom (df) for the test. Part A) An instructor tests whether class attendance (low, high) and grade point average (low, average, high) are independent. - State whether the chi-square goodness-of-fit test or the chi-square test for independence is appropriate. - State the degrees of freedom for the test. df = Part B) A student tests...
Test the following hypotheses by using the χ 2 goodness of fit test. H 0: p...
Test the following hypotheses by using the χ 2 goodness of fit test. H 0: p A = 0.2, p B = 0.4, and p C = 0.4 Ha: The population proportions are not p A = 0.2 , p B = 0.4 , and p C = 0.4 A sample of size 200 yielded 60 in category A, 120 in category B, and 20 in category C. Use  = .01 and test to see whether the proportions are as stated...
Apply the χ2 goodness‐of‐fit test to the data in column 1 and test the assumption of...
Apply the χ2 goodness‐of‐fit test to the data in column 1 and test the assumption of a normal distribution. Measured Force Data for Exercise Problems F (N) Set 1 F (N) Set 2 F (N) Set 3 51.9 51.9 51.1 51.0 48.7 50.1 50.3 51.1 51.4 49.6 51.7 50.5 51.0 49.9 49.7 50.0 48.8 51.6 48.9 52.5 51.0 50.5 51.7 49.5 50.9 51.3 52.4 52.4 52.6 49.5 51.3 49.4 51.6 50.7 50.3 49.4 52.0 50.3 50.8 49.4 50.2 50.8 49.7...
Given a data set with 100 observations, a goodness of fit test to see if a...
Given a data set with 100 observations, a goodness of fit test to see if a sample follows a uniform distribution or a poisson distribution or a normal distribution will have the same number of degrees of freedom. true or false and When a contingency table of expected frequencies is constructed, the null hypothesis is that all of the cells in the table are equally likely. true or false thank you :)
QUESTION: Using Microsoft® Excel®, run a chi square Goodness of Fit test to determine whether these...
QUESTION: Using Microsoft® Excel®, run a chi square Goodness of Fit test to determine whether these observed starting salaries are significantly different. What do the findings tell you? Expected Salaries Observed Salaries Applicant 1 $20,000 $17,500 Applicant 2 $20,000 $20,000 Applicant 3 $20,000 $22,000 Applicant 4 $20,000 $20,500 Applicant 5 $20,000 $20,000
Perform the indicated goodness-of-fit test. Use a significance level of 0.01 to test the claim that...
Perform the indicated goodness-of-fit test. Use a significance level of 0.01 to test the claim that workplace accidents are distributed on workdays as follows: Monday 25%, Tuesday: 15%, Wednesday: 15%, Thursday: 15%, and Friday: 30%. In a study of 100 workplace accidents, 25 occurred on a Monday, 17 occurred on a Tuesday, 16 occurred on a Wednesday, 12 occurred on a Thursday, and 30 occurred on a Friday
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT