Question

In: Statistics and Probability

4. Questions A – D require a complete test of hypotheses. Your answer must include: i)...

4. Questions A – D require a complete test of hypotheses. Your answer must include: i) null and alternative hypotheses; ii) statement of assumptions; iii) calculation of the test statistic; iv) calculation of the P-value; v) decision in terms of the null hypothesis; and vi) conclusion in the context of the problem.

a) A coffee shop claims that its fresh-brewed drinks have a mean caffeine content of 80 milligrams per five ounces. You work for a city health agency and are asked to test this claim. You find that a random sample of 42 five-ounce servings has a mean caffeine content of 83 milligrams and a standard deviation of 7.5 milligrams. At α = 0.02, do the evidence suggest that the mean caffeine content is in fact different than 80 milligrams per five ounces?

b) In order to study the amounts owed to the city, a city clerk takes a random sample of 16 files from a cabinet containing a large number of delinquent accounts and finds the average amount owed to the city to be $259 with a sample standard deviation of $36. It has been claimed that the true mean amount owed on accounts of this type is greater than $250. If it is appropriate to assume that the amount owed is a normally distributed random variable, test the claim at α = 0.01.

c) An environmental conservation agency recently claimed that more than 30% of Canadian consumers have stopped buying a certain product because the manufacturing of the product pollutes the environment. You want to test this claim. To do so, you randomly select 980 Canadian consumers and find that 314 have stopped buying this product because of pollution concerns. At α = 0.04, can you support the agency’s claim?

d) Refer to question C. Construct a confidence interval for the true proportion of Canadian consumers who have stopped buying the product at the following levels of confidence:

a. 90%

b. 95%

Solutions

Expert Solution

## a) A coffee shop claims that its fresh-brewed drinks have a mean caffeine content of 80 milligrams per five ounces. You work for a city health agency and are asked to test this claim. You find that a random sample of 42 five-ounce servings has a mean caffeine content of 83 milligrams and a standard deviation of 7.5 milligrams. At α = 0.02, do the evidence suggest that the mean caffeine content is in fact different than 80 milligrams per five ounces?

Answer : we have given :

n  = sample size  = 42

x̄ = sample mean  =83   

μ = population mean = 80

s = sample  standard deviation  = 7.5

α = 2 % = 0.02

Claim : do the evidence suggest that the mean caffeine content is in fact different than 80 milligrams per five ounces?

i) null and alternative hypotheses;  

Ho : μ = 80 Vs H1 :μ ≠ 80

( it is two tailed test )

ii) statement of assumptions;

# variable follow normal distribution

# population variance is unknown  

here we can use one sample t test .

iii) calculation of the test statistic;

t = ( x̄ - μ ) * √n / s

= ( 83 - 80 ) * √ 42 / 7.5

= 2.5922

iv) calculation of the P-value;

degree of freedom = n -1 = 42 -1 = 41  

use statistical table : test is two tailed test :

p value = 2 * 0.006578  

= 0.01315

v) decision in terms of the null hypothesis;

We reject Ho if p value is less than α value here p value is less than α value ie 0.01315 < 0.02  

here we reject Ho

vi) conclusion in the context of the problem.

There is sufficient evidence to conclude that the mean caffeine content is in fact different than 80 milligrams per five ounces .

#### b) In order to study the amounts owed to the city, a city clerk takes a random sample of 16 files from a cabinet containing a large number of delinquent accounts and finds the average amount owed to the city to be $259 with a sample standard deviation of $36. It has been claimed that the true mean amount owed on accounts of this type is greater than $250. If it is appropriate to assume that the amount owed is a normally distributed random variable, test the claim at α = 0.01.

Answer : we have given :

n  = sample size  = 16

x̄ = sample mean  = 259  

μ = population mean = 250

s = sample  standard deviation  = 36

α = 1 % = 0.01

Claim : It has been claimed that the true mean amount owed on accounts of this type is greater than $250.

i) null and alternative hypotheses;  

Ho : μ = 250   Vs H1 :μ >  250

( it is one tailed , right tailed test )

ii) statement of assumptions;

# variable follow normal distribution

# population variance is unknown  

here we can use one sample t test .

iii) calculation of the test statistic;

t = ( x̄ - μ ) * √n / s

= ( 259 - 250 ) * √ 16 / 36

= 36 / 36 = 1

iv) calculation of the P-value;

degree of freedom = n -1 = 16  -1 = 15  

use statistical table : test is one  tailed test :

p value =   0.1665

= 0.1665

v) decision in terms of the null hypothesis;

We reject Ho if p value is less than α value here p value is greater  than α value ie 0.1665  >   0.01  

here we fail to reject Ho

vi) conclusion in the context of the problem.

There is Insufficient evidence to conclude that the true mean amount owed on accounts of this type is greater than $250  

( ie true mean amount owed on accounts of this type is equal to $250 )

### c) An environmental conservation agency recently claimed that more than 30% of Canadian consumers have stopped buying a certain product because the manufacturing of the product pollutes the environment. You want to test this claim. To do so, you randomly select 980 Canadian consumers and find that 314 have stopped buying this product because of pollution concerns. At α = 0.04, can you support the agency’s claim?

Answer : we have given :

n  = sample size  = 980

x = 314 have stopped buying this product

phat = sample proportion = x / n = ( 314 / 980 ) = 0.3204

p = population proportion = 30 % = 0.30

α = 4 % = 0.04

Claim : An environmental conservation agency recently claimed that more than 30% of Canadian consumers have stopped buying a certain product because the manufacturing of the product pollutes the environment

i) null and alternative hypotheses;  

Ho : p  = 0.30 Vs H1 : p > 0.30

( it is one  tailed test , right tailed test  )

ii) statement of assumptions;

# variable follow normal distribution

# sample size is too large

here we can use one sample proportion z   test .

iii) calculation of the test statistic;

z = ( phat - p ) /  √ ( p * (1 - p) / n )

= ( 0.3204 - 0.30 ) /   √ ( 0.30 * (1 - 0.30) / 980 )

= 1.3935

iv) calculation of the P-value;

use statistical table : test is two tailed test :

p value = 0.08173  

= 0.08173

v) decision in terms of the null hypothesis;

We reject Ho if p value is less than α value here p value is greater  than α value ie 0.08173 < 0.04  

here we fail to reject Ho

vi) conclusion in the context of the problem.

There is Insufficient evidence to conclude that the more than 30% of Canadian consumers have stopped buying a certain product because the manufacturing of the product pollutes the environment .

### d) Refer to question C. Construct a confidence interval for the true proportion of Canadian consumers who have stopped buying the product at the following levels of confidence:

a. 90%

b. 95%

Answer : here we have to construct confidence interval for the true proportion

for 90 %

p = [ phat ± z critical value *  √ (( phat * (1 - phat) / n) ]

here z critical value =  ± 1.65 ( from table )

= [ 0.3204  ± 1.65 * √ ((0.3204  * (1 - 0.3204) / 980) ]

= [ 0.3204  ± 1.65 * 0.01490 ]

= [ 0.3204  ± 0.02459 ]

lower limit =    0.3204 -   0.02459 = 0.2958

upper limit =   0.3204 +   0.02459 = 0.3449

We can say 90 % confident that popolation proportion is lies within 0.2958 to 0.3449.

now b ) 95 %

p = [ phat ± z critical value *  √ (( phat * (1 - phat) / n) ]

here z critical value =  ± 1.96 ( from table )

= [ 0.3204  ± 1.96 * √ ((0.3204  * (1 - 0.3204) / 980) ]

= [ 0.3204  ± 1.96 * 0.01490 ]

= [ 0.3204  ± 0.02920 ]

lower limit =    0.3204 - 0.02920 = 0.2911

upper limit =   0.3204 + 0.02920 = 0.3496

We can say 95 % confident that popolation proportion is lies within 0.2911 to 0.3496.


Related Solutions

Directions: Complete the assignment. Clearly label each answer. Your answers for this assignment must include reasons;...
Directions: Complete the assignment. Clearly label each answer. Your answers for this assignment must include reasons; simply stating the answer without justification will earn partial credit. (32points) The gestation period of gray squirrels in captivity is listed as 44 days. It is recognized that the potential life span of animals is rarely attained in nature, but the gestation period could be either shorter or longer. Suppose the gestation period of a random sample of 49 squirrels living in the wild...
    Please answer all questions in question 1 and question 2.     Your submission must include...
    Please answer all questions in question 1 and question 2.     Your submission must include a bibliography.     The word limit for question 1 and 2 combined is 1500 words. Question 1 Angus is a 44-year-old high school teacher who wishes to invest his savings of $100,000 by building up a blue-chip share portfolio. Angus was a keen observer of the Royal Commission into Misconduct in the Banking, Superannuation and Financial Services Industry in 2019 and has strong views...
. For the questions, your report should include the formulated hypotheses, steps of calculation and formulas,...
. For the questions, your report should include the formulated hypotheses, steps of calculation and formulas, your answers and conclusions, and the results from Excel. A retail company has started a new advertising campaign in order to increase sales. In the past, the mean spending in both the 18–35 and 35+ age groups was at most $70.00. a. Formulate a hypothesis test to determine if the mean spending has statistically increased to more than $70.00. b. After the new advertising...
A multiple choice test has 50 questions, with 4 answer choices each. You must get at...
A multiple choice test has 50 questions, with 4 answer choices each. You must get at least 30 correct to pass the test, and the questions are very difficult. a) Are you likely to be able to pass by guessing on every question? Explain. (Hint: use the normal approximation). b) Suppose, after studying for a while, you believe you have raised your chances of getting each question right to 70%. How likely are you to pass now? c) Assuming you...
Design study a nonexperimental, and then answer the following questions: A. State your hypotheses and null...
Design study a nonexperimental, and then answer the following questions: A. State your hypotheses and null hypotheses. B. Identify and provide operational definitions of your variables. C. Identify your population and describe your sample selection method and group assignment process. D. Describe your nonexperimental design that you will use to test your hypotheses. This is the most important part of the midterm. Please be specific and clear. E.What are some confounding variables and how will you control for them? it...
all hypothesis testing problems must include specification of the null and alternative hypotheses and must report...
all hypothesis testing problems must include specification of the null and alternative hypotheses and must report the p-value of the data Standards for automated filling of bulk coffee bean bags require that the mean fill amount should be 10 kg and the s.d. of fill amounts should be no more than 0.01 kg. A random sample of 30 bags was weighed and their weights are given 10.0072 10.0021 10.0105 10.0098 10.0162 9.9756 10.0196 10.0237 10.0432 10.0147 10.053 9.9728 10.0338 9.9446...
A test consists of 20 true or false questions. To get an A, you must answer...
A test consists of 20 true or false questions. To get an A, you must answer at least 18 questions correctly. If you guess on each question, what is the probability that you will get an A? Use the Standard Normal Table to find the indicated probabilities: a b c d
Completion is only granted for questions that require a graph if your answer includes: A clear...
Completion is only granted for questions that require a graph if your answer includes: A clear and completely labeled graph. A clear statement of what curve(s) are changing. Why those curve(s) are changing. A clear statement of what is happening to the equilibrium values of the variables in the model. 1)     A survey indicated that chocolate is the most popular flavor of ice cream in America. For each of the following, indicate the possible effects on demand, supply, or both...
Use the t-distribution and the sample results to complete the test of the hypotheses. Use a...
Use the t-distribution and the sample results to complete the test of the hypotheses. Use a 5% significance level. Assume the results come from a random sample, and if the sample size is small, assume the underlying distribution is relatively normal. Test H0 : μ=100 vs Ha : μ<100 using the sample results x¯=91.7, s=12.5, with n=30.
1) Use the normal distribution and the sample results to complete the test of the hypotheses....
1) Use the normal distribution and the sample results to complete the test of the hypotheses. Use a 5% significance level. Assume the results come from a random sample. a) Test ?!: ? = 15 ?? ?!: ? > 15 using the sample results ? = 17.2 , ? = 6.4 with ? = 40 b) Test ?!: ? = 100 ?? ?!: ? < 100 using the sample results ? = 91.7 , ? = 12.5 with ? =...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT