Question

HOMEWORK #9: Two Sample Independent t-test Use the HW9 script. Get a random sample of n=20...

HOMEWORK #9: Two Sample Independent t-test Use the HW9 script. Get a random sample of n=20 from the data set. H0: ??−??=0 H1: ??−??≠0

Given:

Observed sample mean A= 13

Observed sample mean B= 16.6

Observed sample difference: -3.6

Pooled variance = 4.022222

Standard error of the difference of the sampling distribution= 0.8969082

Obtained t= -4.0138

Question:

1. Create a 95% confidence interval (I know the the answer is (-5.484334, -1.715666) but I don't know how to do it, so please step by step)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

here sample size for population 1 is n1=20 and sample size for population 2 is n2=20

sample mean of first sample X1bar=13

sample mean of second sample X2bar=16.6

standard error of the difference of sampling distribution is s=0.8969082

so the t statistic for testing H0: ??−??=0 H1: ??−??≠0 is

T=((X1bar-X2bar)-(uA-uB))/s which under H0 follows a t distribution with df n1+n2-2

so P[|T|<talpha/2,n1+n2-2]=1-alpha since t distribution is a symmetric distribution. and talpha/2.n1+n2-2 is the upper alpha/2 point of a t distribution with df n1+n2-2

so P[-talpha/2,n1+n2-2<T<talpha/2,n1+n2-2]=1-alpha

or, P[-talpha/2,n1+n2-2<((X1bar-X2bar)-(uA-uB))/s<talpha/2,n1+n2-2]=1-alpha

or, P[(X1bar-X2bar)-s*talpha/2,n1+n2-2<uA-uB<(X1bar-X2bar)+s*talpha/2,n1+n2-2]=1-alpha

so 100*(1-alpha)% confidence interval is [(X1bar-X2bar)-s*talpha/2,n1+n2-2,(X1bar-X2bar)+s*talpha/2,n1+n2-2]

so for 95% confidence interval alpha=0.05

now using R, t0.025,20+20-2=2.024394

hence the required confidence interval is

[(13-16.6)-0.8969082*2.024394,(13-16.6)+0.8969082*2.024394]=[-5.4156955,-1.7843044] [answer]

Add a comment
Know the answer?
Add Answer to:
HOMEWORK #9: Two Sample Independent t-test Use the HW9 script. Get a random sample of n=20...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I need help with number 6, 8 and 9. Use the HW8 script. Get a random...

    I need help with number 6, 8 and 9. Use the HW8 script. Get a random sample of n=29 from the data set. Print out the html output (after knitting). You need the output to receive credit. Make sure the set.seed code with your student ID is visible. Perform the calculations by hand for each question using the data generated with the HW8 script. You must show your work here or on a separate piece of paper. Circle the answer...

  • I NEED HELP WITH NUMBER 8 & 9 Get a random sample of n=29 from the...

    I NEED HELP WITH NUMBER 8 & 9 Get a random sample of n=29 from the data set. H0: ? = 15 H1: ? ≠ 15 x f 10 4 11 6 12 7 13 5 14 4 15 2 16 1 Sampling distribution (assuming the null is true): 4. What is the mean of the sampling distribution? (+1) mean= 15 5. What is standard error of the sampling distribution? (+1) Find it on the output. (+1) standard error= 1.63...

  • John has obtained two independent samples form two populations, where the sample statistics are shown in...

    John has obtained two independent samples form two populations, where the sample statistics are shown in the table below. Assuming equal variances, he can construct a 95% confidence interval for the difference of the population means to be Sample 1 Sample 2 Mean 22.7 20.5 Variances (s^2) 5.4 3.6 Observations (sample size) 9 9 [0.08, 4.32] [1.17,5.08] [2.44,6.19] [-0.09,3.19] True or False? A new policy of “flex hours” is proposed. Random Sampling showed that 40 of 50 female workers favored...

  • The MINITAB printout shows a test for the difference in two population means. Two-Sample T-Test and...

    The MINITAB printout shows a test for the difference in two population means. Two-Sample T-Test and CI: Sample 1, Sample 2 Two-sample T for Sample 1 vs Sample 2      N Mean StDev SE Mean Sample 1 6 28.00 4.00 1.6 Sample 2 9 27.86 4.67 1.6 Difference = mu (Sample 1) - mu (Sample 2) Estimate for difference: 0.14 95% CI for difference: (-4.9, 5.2) T-Test of difference = 0 (vs not =): T-Value = 0.06 P-Value = 0.95...

  • rowan.instructure.com Question 3 0.5 pts Which of the following are assumptions of the independent samples t-test?...

    rowan.instructure.com Question 3 0.5 pts Which of the following are assumptions of the independent samples t-test? Skewed population Sample size over 30 Homogeneity of variance Related samples Question 4 0.5 pts What is the term called in an independent samples t-test that averages together the variances of the two samples? Mean variance Average variance Standard error of the difference Pooled variance Question 5 0.5 pts How is the standard error of the difference (used in independent samples t-tests) different from...

  • 1. When do we use an independent groups t-test? a. b. c. d. When we are...

    1. When do we use an independent groups t-test? a. b. c. d. When we are comparing means from one sample that has been measured twice. When we are comparing means from two different samples. When we are comparing a sample mean to a population mean. When we are comparing two population means. 2. Which of the following is true regarding the use of t-tests for true experiments versus quasi-experimental designs? a. b. We use the same t-test whether it...

  • One-Sample Test                          Test Value = 1                  ...

    One-Sample Test                          Test Value = 1                      t   df   Sig. (2-tailed)   Mean Difference   95% Confidence Interval of the Difference                      Lower   Upper What is your gender?   -11.787   79   .000   -.637   -.75   -.53 Hypothetical exam scores (out of 100)   98.022   79   .000   84.438   82.72   86.15 Which of the following is the null hypothesis? Highlight or circle your answer. [.5 points] a) H0: µ1 = µ2 b) H1:...

  • For the independent-measures t test, which of the following describes the estimated standard error of M1 - M2 (whose sy...

    For the independent-measures t test, which of the following describes the estimated standard error of M1 - M2 (whose symbol is )? O The variance across all the data values when both samples are pooled together O A weighted average of the two sample variances (weighted by the sample sizes) O The difference between the standard deviations of the two samples O An estimate of the standard distance between the difference in sample means (M, - M2) and the difference...

  • I need help with number 6 Get a random sample of n=29 from the data set....

    I need help with number 6 Get a random sample of n=29 from the data set. H0: ? = 15 H1: ? ≠ 15 x f 10 4 11 6 12 7 13 5 14 4 15 2 16 1 Sampling distribution (assuming the null is true): 4. What is the mean of the sampling distribution? (+1) mean= 15 5. What is standard error of the sampling distribution? (+1) Find it on the output. (+1) standard error= 1.63 6. Sketch...

  • 4 Pooled t Test Yes-No Assuming equal variances Difference 18.3974 t Ratio 2.3361 Std Err Dif...

    4 Pooled t Test Yes-No Assuming equal variances Difference 18.3974 t Ratio 2.3361 Std Err Dif 7,8753 DF 48 Upper CL Dif Lower CL Dif 34.2317 Prob > It 2,5631 Prob > t 0.0237 0.0119 O 10 20 Confidence 0.95 Prob <t -20 -10 0.9881 4Analysis of Variance Sum of F Ratio Prob > F Source DF Squares Mean Square 0.0237 Chemo Yes/No 4224.051 4224.05 5.4574 1 A Error 48 37152.449 774.01 C. Total 49 41376.500 4 Means for Oneway...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT