Question

In: Math

Suppose that in a random selection of 100 colored​ candies, 30​% of them are blue. The...

Suppose that in a random selection of 100 colored​ candies, 30​% of them are blue. The candy company claims that the percentage of blue candies is equal to 28​%. Use a 0.10 significance level to test that claim.

Identify the test statistic for this hypothesis test.

Identify the​ P-value for this hypothesis test.

Solutions

Expert Solution

Concepts and reason

Statistical hypotheses testing: Hypotheses testing is used to make inferences about the population based on the sample data. The hypotheses test consists of null hypothesis and alternative hypothesis.

Null hypothesis: The null hypothesis states that there is no difference in the test, which is denoted by H0{H_0} . Moreover, the sign of null hypothesis is equal (=)\left( = \right) , greater than or equal ()\left( \ge \right) and less than or equal ()\left( \le \right) .

Alternative hypothesis: The hypothesis that differs from the H0{H_0} is called alternative hypothesis. This signifies that there is a significant difference in the test. The sign of alternative hypothesis is less than (<)\left( < \right) , greater than (>)\left( > \right) , or not equal ()\left( \ne \right) .

Proportion: The ratio of the number of favorable outcomes and total number of possible outcomes is in the sample called as the proportion.

Z-statistic for proportion: The standardized z- statistic is defined as the ratio of the ‘distance of the observed statistic from the proportion of the null distribution’ and the ‘standard deviation of the null distribution’.

P-value: The probability of getting the value of the statistic that is as extreme as the observed statistic when the null hypothesis is true is called as P-value. Therefore, it assumes “null hypothesis is true”.

Fundamentals

The formula for test statistic is,

z=p^p0p0(1p0)nz = \frac{{\hat p - {p_0}}}{{\sqrt {\frac{{{p_0}\left( {1 - {p_0}} \right)}}{n}} }}

Here,

n:Samplesizep^:Sampleproportionp0:Populationproportion\begin{array}{c}\\n:{\rm{Sample}}\,{\rm{size}}\\\\\hat p:{\rm{Sample}}\,{\rm{proportion}}\\\\{p_0}:{\rm{Population}}\,{\rm{proportion}}\\\end{array}

The formula for the sample proportion is, p^=xn\hat p = \frac{x}{n} , here x is the number of success and n is the sample size.

Procedure for finding the probability value (confidence level) from standard normal table:

Let the z value be 0.ab

1.In the standard normal table first locate the value 0.a in the first z column.

2.Locate the value of 0.0b in the first z row.

3.Move right until the column of 0.0b is reached.

4.From the located 0.0b column move down until the row 0.a is reached.

5.Locate the probability value, by the intersection of the row and column values gives the area to the left of z.

The hypotheses are stated below:

From the give information, suppose that a random selection of 100 colored candies out of them 30% are blue. The candy company claims that the percentage of blue candies is equal to 28% and the level of level of significance is 0.10.

That is, p^=0.30\hat p = 0.30 and p0=0.28{p_0} = 0.28

The hypotheses are,

Null hypothesis:

H0:p0=0.28{H_0}:{p_0} = 0.28

Alternative hypothesis:

Ha:p00.28{H_a}:{p_0} \ne 0.28

The test statistic is obtained as shown below:

From the given information, n=100n = 100 , p^=0.30\hat p = 0.30 and p0=0.28{p_0} = 0.28 .

The test statistic is,

Z=p^p0p0(1p0)n=(0.300.28)0.28(10.28)100=(0.02)0.28(0.72)100=0.020.002\begin{array}{c}\\Z = \frac{{\hat p - {p_0}}}{{\sqrt {\frac{{{p_0}\left( {1 - {p_0}} \right)}}{n}} }}\\\\ = \frac{{\left( {0.30 - 0.28} \right)}}{{\sqrt {\frac{{0.28\left( {1 - 0.28} \right)}}{{100}}} }}\\\\ = \frac{{\left( {0.02} \right)}}{{\sqrt {\frac{{0.28\left( {0.72} \right)}}{{100}}} }}\\\\ = \frac{{0.02}}{{\sqrt {0.002} }}\\\end{array}

=0.020.044=0.454\begin{array}{l}\\ = \frac{{0.02}}{{0.044}}\\\\ = 0.454\\\end{array}

The p-value is obtained as shown below:

The p-value is,

pvalue=2[P(Z>0.45)]=2[1P(Z0.45)]\begin{array}{c}\\p - {\rm{value}} = 2\left[ {P\left( {Z > 0.45} \right)} \right]\\\\ = 2\left[ {1 - P\left( {Z \le 0.45} \right)} \right]\\\end{array}

Procedure for finding the probability value from standard normal table:

The z value be 0.45.

1.In the standard normal table, first locate the value 0.45 in the first z column.

2.Locate the value of 0.4 in the first z row.

3.Move right until the column of 0.05 is reached.

4.From the located 0.05 column move down until the row 0.4 is reached.

5.Locate the probability value, by the intersection of the row and column values gives the area to the left of z.

The area to the left of Z<0.45Z < 0.45 is,

P(Z<0.45)=P(Z<0.45)=0.6736\begin{array}{c}\\P\left( {Z < 0.45} \right) = P\left( {Z < 0.45} \right)\\\\ = 0.6736\\\end{array}

Now the p- value is,

pvalue=2(10.6736)=2(0.3264)=0.6528\begin{array}{c}\\p - {\rm{value}} = 2\left( {1 - 0.6736} \right)\\\\ = 2\left( {0.3264} \right)\\\\ = 0.6528\\\end{array}

[Part b]

Ans:

The test statistic for this hypothesis test is 0.45.

Part b

The​ P-value for this hypothesis test is 0.6528.


Related Solutions

Suppose that in a random selection of 100 colored​ candies, 25​% of them are blue. The...
Suppose that in a random selection of 100 colored​ candies, 25​% of them are blue. The candy company claims that the percentage of blue candies is equal to 21​%. Use a 0.10 significance level to test that claim. Identify the null and alternative hypotheses for this test. Choose the correct answer below. A. Upper H 0​: pequals0.21 Upper H 1​: pgreater than0.21 B. Upper H 0​: pnot equals0.21 Upper H 1​: pequals0.21 C. Upper H 0​: pequals0.21 Upper H 1​:...
Suppose that in a random selection of 100 colored​ candies, 25​% of them are blue. The...
Suppose that in a random selection of 100 colored​ candies, 25​% of them are blue. The candy company claims that the percentage of blue candies is equal to 27​%. Use a 0.05 significance level to test that claim. Identify the test statistic for this hypothesis test. Identify the​ P-value for this hypothesis test. Identify the conclusion for this hypothesis test.
Suppose that in a random selection of 100100 colored​ candies, 2424​% of them are blue. The...
Suppose that in a random selection of 100100 colored​ candies, 2424​% of them are blue. The candy company claims that the percentage of blue candies is equal to 2727​%. Use a 0.050.05 significance level to test that claim.
suppose that in a random selection of colored candies, 21% od them are blue. The candy...
suppose that in a random selection of colored candies, 21% od them are blue. The candy company claims that thr percentage of blue candies us equal to26%. use a 0.10 signicance level to test the claim. include Any TI 84 commands the sample size is 100
A manufacturer of colored candies states that 13​%of the candies in a bag should be​ brown,14​%​yellow,13​%​red,24​%​blue,20​%...
A manufacturer of colored candies states that 13​%of the candies in a bag should be​ brown,14​%​yellow,13​%​red,24​%​blue,20​% ​orange, and16% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the alpha equalsα=0.05 level of significance. Colored Candies in a bag Color Brown Yellow Red Blue Orange Green Frequency 61 67 57...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​ brown,14​% ​yellow, 13​% ​red, 24​% ​blue, 20​% ​orange, and 16​% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the α= 0.05 level of significance. Colored Candies in a bag Color Brown Yellow...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​ brown, 14​% ​yellow, 13​% ​red, 24​% ​blue, 20​% ​orange, and 16​% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the α=0.05 level of significance. Colored Candies in a bag Color Brown Yellow...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​ brown, 14​% yellow, 13​% ​red, 24​% ​blue, 20​% orange, and 16​% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the alpha=0.05 level of significance. Determine the null and alternative hypotheses. Compute the...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​...
A manufacturer of colored candies states that 13​% of the candies in a bag should be​ brown,14​% ​yellow,13​% ​red, 24% ​blue, 20% ​orange, and 16% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the alpha equalsα=0.05 level of significance Color Frequency Claimed Proportion Brown 60 0.13 Yellow 67...
A manufacturer of colored candies states that 1313​% of the candies in a bag should be​...
A manufacturer of colored candies states that 1313​% of the candies in a bag should be​ brown, 1414​% ​yellow, 1313​% ​red, 2424​% ​blue, 2020​% ​orange, and 1616​% green. A student randomly selected a bag of colored candies. He counted the number of candies of each color and obtained the results shown in the table. Test whether the bag of colored candies follows the distribution stated above at the alpha equalsα=0.050.05 level of significance. LOADING... Click the icon to view the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT