Question

In: Statistics and Probability

1A) A large supermarket carries four qualities of ground beef. Customers are believed to purchase these...

1A) A large supermarket carries four qualities of ground beef. Customers are believed to purchase these four varieties with probabilities of 0.13, 0.16, 0.13, and 0.58, respectively, from the least to most expensive variety. A sample of 482 purchases resulted in sales of 46, 151, 88, and 197 of the respective qualities. Does this sample contradict the expected proportions? Use α = .05.

(a) Find the test statistic. (Give your answer correct to two decimal places.)


(b) Find the p-value. (Give your answer bounds exactly.)
____< p < ____

1B) A program for generating random numbers on a computer is to be tested. The program is instructed to generate 100 single-digit integers between 0 and 9. The frequencies of the observed integers were as follows. At the 0.05 level of significance, is there sufficient reason to believe that the integers are not being generated uniformly?

Integer 0 1 2 3 4 5 6 7 8 9
Frequency 12 6 8 8 14 10 6 12 13 11

(a) Find the test statistic. (Round your answer to two decimal places.)


(b) Find the p-value. (Round your answer to four decimal places.)

Solutions

Expert Solution

Solution:

Question 1A) A large supermarket carries four qualities of ground beef.

Customers are believed to purchase these four varieties with probabilities of 0.13, 0.16, 0.13, and 0.58, respectively, from the least to most expensive variety.

Sample size = n = 482

and observed counts of purchases resulted in sales as 46, 151, 88, and 197

We have to test if this sample contradict the expected proportions.

Level of significance = 0.05

Thus hypothesis would be:

H0: p1 = 0.13, p2 =0.16, p3= 0.13, p4 = 0.58

H1: this sample contradict the expected proportions.

Part a) Find the test statistic

Since we have to test if sample or observed counts are same as expected counts, we use Chi-square test of goodness of fit test.

Thus Chi-square test statistic is given by:

Where Oi = Observed counts and Ei = Expected counts

Oi : Observed counts Expected proportions Calculations Ei : Expected Counts Oi^2/Ei
46 0.13 =482*0.13 62.66 33.770
151 0.16 =482*0.16 77.12 295.656
88 0.13 =482*0.13 62.66 123.588
197 0.58 =482*0.58 279.56 138.822
N = 482

Thus

Thus the test statistic is

Part b) Find the p-value

df = k - 1 = 4 - 1 = 3

look in Chi-square table for df = 3 row and find the interval in which 109.835 fall and then find corresponding right tail area.

> 12.838 ,

Area for 12.838 is 0.005

So Area corresponding to 109.84 would be less than 0.005

Thus bounds on p-value are:

0.000 < p-value < 0.005

Since p-value < 0.05, we reject H0 and thus we conclude that: this sample contradict the expected proportions.

Question 1B) A program for generating random numbers on a computer is to be tested. The program is instructed to generate 100 single-digit integers between 0 and 9. The frequencies of the observed integers were as follows.

Integer 0 1 2 3 4 5 6 7 8 9
Frequency 12 6 8 8 14 10 6 12 13 11

We have to test if there is sufficient reason to believe that the integers are not being generated uniformly .

Thus H0 and H1 are:

H0: the integers are being generated uniformly

Vs

H1: the integers are not being generated uniformly

Part a) Find the test statistic

Integer Oi: Frequency Calculations Ei: Expected Counts Oi^2/Ei
0 12 =100/10 10 14.4
1 6 =100/10 10 3.6
2 8 =100/10 10 6.4
3 8 =100/10 10 6.4
4 14 =100/10 10 19.6
5 10 =100/10 10 10
6 6 =100/10 10 3.6
7 12 =100/10 10 14.4
8 13 =100/10 10 16.9
9 11 =100/10 10 12.1
N = 100

Thus

Part b) Find the p-value

To find exact p-value, we use Excel command:

=CHISQ.DIST.RT( x ,df )

where x = and df = k - 1 = 10 - 1 = 9

=CHISQ.DIST.RT( 7.40 , 9 )

=0.5955

Thus p-value = 0.5955

Since p-value = 0.5955 > 0.05 level of significance , we fail to reject H0 and thus there is not sufficient reason to believe that the integers are not being generated uniformly .

That is: the integers are being generated uniformly.


Related Solutions

A large supermarket carries four qualities of ground beef. Customers are believed to purchase these four...
A large supermarket carries four qualities of ground beef. Customers are believed to purchase these four varieties with probabilities of 0.12, 0.28, 0.16, and 0.44, respectively, from the least to most expensive variety. A sample of 497 purchases resulted in sales of 42, 146, 90, and 219 of the respective qualities. Does this sample contradict the expected proportions? Use α = 0.05. (a) Find the test statistic. (Round your answer to two decimal places.) (ii) Find the p-value. (Round your...
A large supermarket carries four qualities of ground beef. Customers are believed to purchase these four...
A large supermarket carries four qualities of ground beef. Customers are believed to purchase these four varieties with probabilities of 0.13, 0.27, 0.14, and 0.46, respectively, from the least to most expensive variety. A sample of 480 purchases resulted in sales of 48, 148, 74, and 210 of the respective qualities. Does this sample contradict the expected proportions? Use α = 0.05. (a) Find the test statistic. (Round your answer to two decimal places.) (ii) Find the p-value. (Round your...
5. A large supermarket carries four qualities of beef. Customers are believed to purchase these four...
5. A large supermarket carries four qualities of beef. Customers are believed to purchase these four qualities with probabilities of 0.10, 0.30, 0.35, and 0.25, respectively, from the least to most expensive. A sample of 500 purchases resulted in sales of 48, 162, 191, and 99 of respective qualities. Does this sample contradict the expected proportions? Use a) α = 0.05 b) α =0.025
5.5. A large supermarket carries four qualities of beef. Customers are believed to purchase these four...
5.5. A large supermarket carries four qualities of beef. Customers are believed to purchase these four qualities with probabilities of 0.10, 0.30, 0.35, and 0.25, respectively, from the least to most expensive. A sample of 500 purchases resulted in sales of 48, 162, 191, and 99 of respective qualities. Does this sample contradict the expected proportions? Use a) α = 0.05 b) α =0.025 [5+5 = 10]
The meat department of a supermarket sells ground beef in approximate 1 lb packages, but there...
The meat department of a supermarket sells ground beef in approximate 1 lb packages, but there is some variability. A random sample of 65 packages yielded a mean of 1.05 lbs and a standard deviation of .23 lbs. What is the 95% Confidence Interval for this problem? Group of answer choices 1 to 1.1 1.01 to 1.09 .99 to 1.11 .98 to 1.12 .98 to 1.12
Sears discovered that customers who purchase maintenanceagreements are very likely to purchase large appliances together....
Sears discovered that customers who purchase maintenance agreements are very likely to purchase large appliances together. What method has been applied?Association RulesK-MeansSQL queryAll of the above
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT