Question

You are testing H0: µ1 - µ 2 = 0 vs H1: µ1 - µ2 ≠...

You are testing H0: µ1 - µ 2 = 0 vs H1: µ1 - µ2 ≠ 0. In doing so, you are choosing n1 observations from population 1, and n2 observations from population 2. Keeping the same total N = 100 = n1 + n2, compute the power of the test to detect a difference of 0.6, with a population standard deviation of 1.0 when: n1 = 0.1×n2, n1 = 0.2×n2, n1 = 0.3×n2, …, n1 = 1.0×n2, n1 = 2×n2, n1 = 3×n2, … n1 = 10×n2.

Homework Answers

Answer #1

n1=91, 83 ,77, 71, 67, 62 ,59, 56, 53, 50, 33, 25, 20, 17, 14 ,12, 11, 10 , 9

n2=9, 17, 23, 29, 33, 38, 41, 44, 47, 50, 67, 75, 80, 83, 86, 88, 89, 90, 91

Power=0.4042, 0.6156, 0.7140, 0.7771, 0.8055, 0.8295, 0.8392, 0.8457, 0.8496, 0.8508,
0.8055, 0.7383, 0.6700, 0.6156, 0.5485, 0.4960, 0.4671, 0.4365, 0.4042

R code:

x=c(1:10*0.1,2:10)
n1=round(100/(x+1),0)
n2=100-n1
t=1:length(x)*0
p=1:length(x)*0
for(i in 1:length(x))
{
t[i]=0.6/sqrt(1/n1[i]+1/n2[i])
p[i]=2-pnorm(1.96-t[i])-pnorm(1.96+t[i])
}
round(p,4)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
7. Suppose you are testing H0 : µ = 10 vs H1 : µ 6= 10....
7. Suppose you are testing H0 : µ = 10 vs H1 : µ 6= 10. The sample is small (n = 5) and the data come from a normal population. The variance, σ 2 , is unknown. (a) Find the critical value(s) corresponding to α = 0.10. (b) You find that t = −1.78. Based on your critical value, what decision do you make regarding the null hypothesis (i.e. do you Reject H0 or Do Not Reject H0)?
1. For testing H0 : µ = 0 vs. Ha : µ > 0, H0 is...
1. For testing H0 : µ = 0 vs. Ha : µ > 0, H0 is rejected if X >¯ 1.645, given n = 36 and σ = 6. What is the value of α, i.e., maximum probability of Type I error? A. 0.90 B. 0.10 C. 0.05 D. 0.01 2. For testing H0 : µ = 0 vs. Ha : µ > 0, H0 is rejected if X >¯ 1.645, given n = 36 and σ = 6. What...
3. Suppose you are testing H0 : = 10 vs H1 : 6= 10: The sample...
3. Suppose you are testing H0 : = 10 vs H1 : 6= 10: The sample is small (n = 5) and the data come from a normal population. The variance, 2, is unknown. (a) Find the critical value(s) corresponding to = 0:10. (b) You find that t = -1.78. Based on your critical value, what decision do you make regarding the null hypothesis (i.e. do you Reject H0 or Do Not Reject H0)?
4. Assume that you have a sample of n1 = 7, with the sample mean XBar...
4. Assume that you have a sample of n1 = 7, with the sample mean XBar X1 = 44, and a sample standard deviation of S1 = 5, and you have an independent sample of n2 = 14 from another population with a sample mean XBar X2 = 36 and sample standard deviation S2 = 6. What is the value of the pooled-variance tSTAT test statistic for testing H0:µ1 = µ2? In finding the critical value ta/2, how many degrees...
Q2. This question is testing your understanding of some important concepts about hypothesis testing and confidence...
Q2. This question is testing your understanding of some important concepts about hypothesis testing and confidence intervals. For each part below, you must explain your answer. (a) Suppose we are performing a one-sample t test at the 10% level of significance where the hypotheses are H0 : µ = 0 vs H1 : µ =/ 0. The number of observations is 15. What is the critical value? (b) Suppose we are performing a one-sample t test with H0 : µ...
Use the following for question 1, 2, and 3. Consider the following hypothesis test: H0: µ1...
Use the following for question 1, 2, and 3. Consider the following hypothesis test: H0: µ1 – µ2 = 0 Ha: µ1 – µ2 ≠ 0 The following results are from samples from two populations. Sample 1 Sample 2 sample size 12 15 sample mean 13 10 sample std. dev. 5 8 1) What is the estimate of the difference between the two population means? Use Sample1 – Sample2? 2) What is the value of the test statistic? Give your...
Assuming that, in testing H0: μ =20 vs. H1 μ ≠20, you decide on the critical...
Assuming that, in testing H0: μ =20 vs. H1 μ ≠20, you decide on the critical region X bar ≤ 15 and X bar ≥ 25. Assume X is normally distributed, σ 2 = 25, and the following four random values are observed: 9, 20, 15, 11. a) Would you accept or reject H 0 ? b) What level of α is assumed here? c) What probability value would you report? d) What would be the appropriate critical region for...
Question 3 (10 marks) This question concerns some concepts about hypothesis testing and confidence interval. For...
Question 3 This question concerns some concepts about hypothesis testing and confidence interval. For each part below, you must explain your answer. (a) Suppose we are doing a one-sample t test at the 5% level of significance where the hypotheses are H0 : µ = 0 vs H1 : µ > 0. The number of observations is 8. What is the critical value? [2 marks] (b) Suppose we are doing a hypothesis test and we can reject H0 at the...
You have been asked to determine if two different production processes have different mean numbers of...
You have been asked to determine if two different production processes have different mean numbers of units produced per hour. Process 1 has a mean defined µ1 and process 2 has a mean defined as µ2 . the null and alternative hypotheses are as follows: H0 = µ1- µ2 = 0 H1 = µ1- µ2 > 0 Using a random sample of 25 paired observations, the sample means are 50 and 60 for population 1 and 2 respectively, test the...
Suppose the following hypotheses: H0: µ = 2 vs Ha: µ ≠ 2, and σ =...
Suppose the following hypotheses: H0: µ = 2 vs Ha: µ ≠ 2, and σ = 20, sample mean = 12, and use alpha = 0.05 a.     If n = 10 what is p-value? b.     If n = 15, what is p-value? c.     If n = 20 what is p-value? d.     Summarize your findings from above. Please show your work and thank you SO much in advance! You are helping a struggling stats student SO much!
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT