Two types of medication for hives are being tested to determine if there is a difference in the proportions of adult patient reactions. Twenty out of a random sample of 200 adults given medication A still had hives 30 minutes after taking the medication. Twelve out of another random sample of 180 adults given medication B still had hives 30 minutes after taking the medication. Test at a 1% level of significance.
1. The null and alternative hypothesis would be:
H1:μA<μB
H1:pA<pB
H1:μA≠μB
H1:pA≠pB
H1:μA>μB
H1:pA>pB
2. State the null and alternative hypothesis as a difference statement?
H1:pA - pB > 0
H1:μA - μB > 0
H1:pA-pB≠ 0
H1:μA - μB≠0
H1:pA - pB < 0
H1:μA - μB < 0
3. Now we are going to investigate the effect that sample size
has on a hypothesis test. We will keep the point estimator (ie. the
fraction will remain the same) the same but change the sample
size.
What would be your p-value if the sample size for both sets
doubled (Sample for Medicine A was out of 400 people, Sample for
Medicine B was out of 360 people)? (Hint: to keep the point
estimate the same, if you double the denominator, you must also
double the numerator).
Rerun the hypothesis test and find the p-value.
p-value =
(Round to the 3rd decimal place)
What would be your p-value if the sample size for both sets
tripled (Sample for Medicine A was out of 600 people, Sample for
Medicine B was out of 540 people)? (Hint: to keep the point
estimate the same, if you double the denominator, you must also
double the numerator).
Rerun the hypothesis test and find the p-value.
p-value =
(Round to the 3rd decimal place)
What would be your p-value if the sample size for both sets quadrupled (Sample for Medicine A was out of 800 people, Sample for Medicine B was out of 720 people)?
p-value =
(Round to the 3rd decimal place)
4. What happens to the p-value as we increase the sample size?
5. Estimate the needed sample size for both Medication A and Medication B needed at these point estimators to reject the null hypothesis at a 0.01 significance level.
Two types of medication for hives are being tested to determine if there is a difference...
Two types of medication for hives are being tested. The manufacturer claims that the new medication B is more effective than the standard medication A and undertakes a comparison to determine if medication B produces relief for a higher proportion of adult patients within a 30-minute time window. 20 out of a random sample of 200 adults given medication A still had hives 30 minutes after taking the medication. 12 out of another random sample of 200 adults given medication...
Two different models of a car manufacturer are compared to see if Model A has a higher average miles per gallon (mpg) than Model B. A sample of size 14 Model A cars found a sample average of 28.2 mpg and a standard deviation 3.0 mpg. A sample of size 10 Model B cars found a sample average of 22.6 mpg and a standard deviation of 5.1 mpg. Conduct the appropriate hypothesis test. a. Ho: μA = μB Ha: μA...
A recent study of two vendors of desktop personal computers reported that out of 898 units sold by Brand A, 102 required repair, while out of 793 units sold by Brand B, 129 required repair. Round all numeric answers to 4 decimal places. 1. Calculate the difference in the sample proportion for the two brands of computers, p̂ BrandA−p̂ BrandBp^BrandA−p^BrandB = ________ 2. What are the correct hypotheses for conducting a hypothesis test to determine whether the proportion of computers...
A recent study of two vendors of desktop personal computers reported that out of 877 units sold by Brand A, 147 required repair, while out of 710 units sold by Brand B, 114 required repair. Round all numeric answers to 4 decimal places. 1. Calculate the difference in the sample proportion for the two brands of computers, p̂ BrandA−p̂ BrandB = 2. What are the correct hypotheses for conducting a hypothesis test to determine whether the proportion of computers needing...
5. Test the claim that the proportion of people who own cats is smaller than 70% at the 0.05 significance level The null and alternative hypothesis would be: Ho:p>0.7 H0'? 0.7 H1 : p < 0.7 H1 : ? > 0.7 ??: -0.7 H0'p 0.7 H1 : ? 0.7 H1 : p > 0.7 The test is: left-tailed two-tailed right-tailed Based on a sample of 500 people, 63% owned cats The test statistic is: (to 2 decimals) The p-value is...
Test the claim that the proportion of men who own cats is significantly different than 80% at the 0.02 significance level. The null and alternative hypothesis would be: H0:p=0.8 H1:p≠0.8 H0:μ=0.8 H1:μ≠0.8 H0:p=0.8 H1:p>0.8 H0:p=0.8 H1:p<0.8 H0:μ=0.8 H1:μ<0.8 H0:μ=0.8 H1:μ>0.8 The test is: two-tailed right-tailed left-tailed Based on a sample of 45 people, 71% owned cats The test statistic is: (to 2 decimals) The positive critical value is: (to 2 decimals) Based on this we: Fail to reject the null hypothesis Reject...
1. Test the claim that the mean GPA of night students is significantly different than 2.4 at the 0.2 significance level. The null and alternative hypothesis would be: a) H0:μ=2.4 H1:μ>2.4 b) H0:μ=2.4 H1:μ<2.4 c) H0:p=0.6 H1:p<0.6 d) H0:p=0.6 H1:p>0.6 e) H0:p=0.6 H1:p≠0.6 f) H0:μ=2.4 H1:μ≠2.4 2. The test is: a) left-tailed b) right-tailed c) two-tailed 3. Based on a sample of 35 people, the sample mean GPA was 2.44 with a standard deviation of 0.04 The test statistic is:...
Test the claim that the proportion of people who own cats is larger than 20% at the 0.05 significance level. The null and alternative hypothesis would be: H0:p≤0.2H0:p≤0.2 H1:p>0.2H1:p>0.2 H0:μ=0.2H0:μ=0.2 H1:μ≠0.2H1:μ≠0.2 H0:μ≤0.2H0:μ≤0.2 H1:μ>0.2H1:μ>0.2 H0:p≥0.2H0:p≥0.2 H1:p<0.2H1:p<0.2 H0:p=0.2H0:p=0.2 H1:p≠0.2H1:p≠0.2 H0:μ≥0.2H0:μ≥0.2 H1:μ<0.2H1:μ<0.2 The test is: (A) left-tailed (B) two-tailed (C) right-tailed Based on a sample of 100 people, 22% owned cats: The test statistic is: _____ (to 2 decimals) The p-value is: _____ (to 2 decimals) Based on this we: (A) Fail to...
Test the claim that the proportion of people who own cats is smaller than 40% at the 0.01 significance level. The null and alternative hypothesis would be: H0:μ≤0.4H0:μ≤0.4 H1:μ>0.4H1:μ>0.4 H0:p≥0.4H0:p≥0.4 H1:p<0.4H1:p<0.4 H0:p=0.4H0:p=0.4 H1:p≠0.4H1:p≠0.4 H0:p≤0.4H0:p≤0.4 H1:p>0.4H1:p>0.4 H0:μ=0.4H0:μ=0.4 H1:μ≠0.4H1:μ≠0.4 H0:μ≥0.4H0:μ≥0.4 H1:μ<0.4H1:μ<0.4 The test is: two-tailed right-tailed left-tailed Based on a sample of 500 people, 33% owned cats The test statistic is: (to 2 decimals) The p-value is: (to 2 decimals) Based on this we: Fail to reject the null hypothesis Reject the null hypothesis
Test the claim that the proportion of people who own cats is smaller than 30% at the 0.01 significance level. The null and alternative hypothesis would be: H0:μ=0.3H0:μ=0.3 H1:μ≠0.3H1:μ≠0.3 H0:μ≥0.3H0:μ≥0.3 H1:μ<0.3H1:μ<0.3 H0:p≤0.3H0:p≤0.3 H1:p>0.3H1:p>0.3 H0:μ≤0.3H0:μ≤0.3 H1:μ>0.3H1:μ>0.3 H0:p=0.3H0:p=0.3 H1:p≠0.3H1:p≠0.3 H0:p≥0.3H0:p≥0.3 H1:p<0.3H1:p<0.3 The test is: left-tailed right-tailed two-tailed Based on a sample of 100 people, 28% owned cats The test statistic is: (to 2 decimals) The p-value is: (to 2 decimals) Based on this we: Reject the null hypothesis Fail to reject the null hypothesis