math 225n week 7 hypothesis testing question and answers
Written for
MATH 225N
All documents for this subject (688)
Seller
Follow
DrAnswers
Reviews received
Content preview
MATH 225N WEEK 7 HYPOTHESIS TESTING QUESTION AND ANSWERS
1. Steve listens to his favorite streaming music service when he works out. He wonders whether the
service algorithm does a good job of finding random songs that he will like more often than not. To
test this, he listens to 50 songs chosen by the service at random and finds that he likes 32 of them.
Use Excel to test whether Steve will like a randomly selected song more than not and then draw a conclusion in the
context of a problem. Use α = 0.05. Type equation here .
Ho: p = ≤ 0.5 (50%) p = 0.5
Ha: p = > 0.5 (strictly ¿ ≠ )
P-value = 0.02 which is < α =0.05 we reject Ho and support the Ha
Hypothesis Test for p population
proportion
(decimal
Level of Significance 0.05 )
(decimal
Proportion under H0 0.5000 )
n 50
Number of
Successes 32
Answer: Reject the null hypothesis. There is sufficient evidence to prove that Steve will like a random selected song
more often than not.
2. A magazine regularly tested products and gave the reviews to its customers. In one of its reviews, it
tested 2 types of batteries and claimed that the batteries from company A outperformed batteries
from company B in 108 of the tests. There were 200 tests. Company B decided to sue the magazine,
,MATH 225N WEEK 7 HYPOTHESIS TESTING QUESTION AND ANSWERS
claiming that the results were not significantly different from 50% and that the magazine was
slandering its good name.
,MATH 225N WEEK 7 HYPOTHESIS TESTING QUESTION AND ANSWERS
Use Excel to test whether the true proportion of times that Company A’s batteries outperformed Company B’s batteries is
different from 0.5. Identify the p=value rounding it to 3 decimal places.
Ho: p = 0.5 Ha ≠ 0.5 (two tailed test) n = 200 (α is not given soleave it 0.05)
Hypothesis Test for p population
proportion
Level of Significance 0.05
Proportion under H0 0.5000
n 200
Number of Successes 108
Sample Proportion 0.540000
StDev 0.500000
SE 0.035355
Test Statistic (z) 1.131371
One-Sided p-value 0.129238
Two-Sided p-value 0.258476
Right-Tailed (>) 1.644854
-
Left-Tailed (<) 1.644854
Two-Tailed (≠) ± 1.959964
Answer: 0.258 (because it is a two tailed test). We are not rejecting the null hypothesis and we do not have evidence to
support the alternative hypothesis.
3. A candidate in an election lost by 5.8% of the vote. The candidate sued the state and said that more
than 5.8% of the ballots were defective and not counted by the voting machine, so a full recount
would need to be done. His opponent wanted to ask for the case to be dismissed, so she had a
government official from the state randomly select 500 ballots and count how many were defective.
The official found 21 defective ballots.
Use Excel to test if the candidates claim is true and that < 5.8% of the ballots were defective. Identify the p=value
rounding to 3 decimal places.
Ho: p = ≥ 0.058 Ha ¿ 0.058 (one tailed test) n = 500 (α is not given soleave it 0.05)
Hypothesis Test for p population
proportion
Level of Significance 0.042000
0.05 Sample Proportio
0.233743
Proportion under H0 0.0580 StDe
n 0.010453
500 S
Number of Successes -
21 Test Statistic (z
, MATH 225N WEEK 7 HYPOTHESIS TESTING QUESTION AND ANSWERS
(
d
e
c
i
m
a
l
)
(
d
e
c
i
m
a
l
)
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller DrAnswers. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $15.99. You're not tied to anything after your purchase.