Question

In: Statistics and Probability

Suppose we are interested in testing null hypothesis that difference of two population means is the...

Suppose we are interested in testing null hypothesis that difference of two population means is the same. Consider two samples collected from a normal population.

x 4.2 4.5 4.9 5.6 5.7 5.9 6.1 6.3 6.8 7.1 7.3 7.8 8.4 8.6 9.1 9.7 10.2
y 5.6 5.9 6.5 7.8 8.5 9.3

We need to testH0:x=yvsHa:x̸=yWe can use R-command t.test to compute the p-value and the confidence interval.> x = c ( 4.2 ,4.5,4.9,5.6,5.7 ,5.9, 6.1, 6.3 , 6.8 , 7.1 , 7.3 ,7.8,8.4,8.6 , 9.1, 9.7, 10.2)#entering data > y = c ( 5.6 ,5.9,6.5,7.8 ,8.5, 9.3)#entering data> x[1] 4.2 4.5 4.9 5.6 5.7 5.9 6.1 6.3 6.8 7.1 7.3 7.8 8.4 8.6 9.1 9.7 10.2> y[1] 5.6 5.9 6.5 7.8 8.5 9.3> t.test(x,y,mu=0,var.equal=F,conf.level=0.95)# Ho:mux

Solutions

Expert Solution

R Output

> x = c ( 4.2 ,4.5,4.9,5.6,5.7 ,5.9, 6.1, 6.3 , 6.8 , 7.1 , 7.3 ,7.8,8.4,8.6 , 9.1, 9.7, 10.2)
> y = c ( 5.6 ,5.9,6.5,7.8 ,8.5, 9.3)
> t.test(x,y,mu=0,var.equal=F,conf.level=0.95)

   Welch Two Sample t-test

data: x and y
t = -0.41807, df = 10.565, p-value = 0.6843
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-1.973709 1.346258
sample estimates:
mean of x mean of y
6.952941 7.266667

The following null and alternative hypotheses need to be tested:

Ho: μx​y

Ha: μx ≠ μy

This corresponds to a two-tailed test.

Since it is assumed that the population variances are unequal, the t-statistic is:

t = -0.41807

Using the P-value approach: The p-value is p-value = 0.6843, and since p-value = 0.6843 > 0.05, it is concluded that the null hypothesis is not rejected. and we conclude that μx​y

95 percent confidence interval:
-1.973709 1.346258


Related Solutions

We are testing the hypothesis of no difference between means of two normally distributed populations (eg...
We are testing the hypothesis of no difference between means of two normally distributed populations (eg number of cracks in bricks). Alternative hypothesis is inequality. Significance is .05. Samples from these populations are X {3,5,6,9] and Y [6,11,15,21] Sample correlation coefficient p=.993 , V(x) = 6.25 and V(Y) = 40.25 What test is appropriate (explain)? Calculate appropriate test statistic (two tailed) and the P-Value using table? State Conclusion
Consider the following statements. (i). If we are testing for the difference between two population means,...
Consider the following statements. (i). If we are testing for the difference between two population means, it is assumed that the sample observations from one population are independent of the sample observations from the other population. (ii). If we are testing for the difference between two population means, it is assumed that the two populations are approximately normal and have equal variances. (iii). The critical value of t for a two-tail test of the difference of two means, a level...
In a 2 sample test for a difference in means, if we fail to reject the null hypothesis, we conclude
  In a 2 sample test for a difference in means, if we fail to reject the null hypothesis, we concludea. There is evidence that the 2 population means are equal to each otherb. There is evidence that the 2 sample means are equal to each otherc. There is evidence that the 2 population means are not equal to each otherd. There is evidence that the 2 sample means are not equal to each othere. There is no evidence that...
2. Suppose that we want to test for the difference between two population means. Explain under...
2. Suppose that we want to test for the difference between two population means. Explain under what conditions we would use the t-test and under what conditions we would use the z-test. Explain the differences between the two tests. Type all your answers. Try to write at least one page
The objective of hypothesis testing is to reject the null hypothesis. How do we use the...
The objective of hypothesis testing is to reject the null hypothesis. How do we use the P-value to accomplish this goal? Describe the difference between One-way versus Two-way ANOVA and provide an example of each.
Two key concepts in hypothesis testing are the null and the alternative hypothesis. Formulating the hypothesis...
Two key concepts in hypothesis testing are the null and the alternative hypothesis. Formulating the hypothesis test in the right manner, i.e. by correctly formulating null and alternative hypothesis is the first step towards solving the problems in the right manner. How do we represent these concepts tl (i.e. what abbreviation we use to denote null and alternative hypothesis)?
If we are testing the null hypothesis that the mean is less than or equal to...
If we are testing the null hypothesis that the mean is less than or equal to 100, and the critical value for the test is determined to be z = 1. 645, then the rejection region would be all of the z values that are ____________ 1. 645. Multiple Choice greater than less than greater than or equal to less than -1.645 or greater than +1.645
In hypothesis testing, we can reject a. the null hypothesis. b. the alternative hypothesis. c. both...
In hypothesis testing, we can reject a. the null hypothesis. b. the alternative hypothesis. c. both the null and the alternative hypotheses. d. neither the null and the alternative hypotheses.
Suppose we have multinomial population with four categories: A,B,C, and D. The null hypothesis is that...
Suppose we have multinomial population with four categories: A,B,C, and D. The null hypothesis is that the proportion of items is the same in every category. The null hypothesis is H0: Pa =Pb=Pc=Pd =0.25 A sample of size 300 yielded the following results. A:80 B:85 C:60 D:70 Use alpha=0.05, determine whether H0 should be rejected?
This assignment uses hypothesis testing to determine if there is a significant difference between the means...
This assignment uses hypothesis testing to determine if there is a significant difference between the means of three or more groups. Find solutions to the following problems. Be sure to include a statement about significance and complete a Tukey's HSD when necessary. Subjects were interviewed about their smoking habits in cigarettes per day and were tested for their aerobic capacity. Taking cigarettes per day as the explanatory (independent) variable and aerobic capacity as the response (dependent) variable, find the correlation...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT