Question

In: Statistics and Probability

Suppose you needed to test the claim that the two samples described below come from populations...

Suppose you needed to test the claim that the two samples described below come from populations with the same mean. Assume that the samples are independent simple random samples.

Sample 1: n1=17, x¯¯¯1=24.7, s1=3.05n1=17, x¯1=24.7, s1=3.05

Sample 2: n2=7, x¯¯¯2=22.5, s2=4.62n2=7, x¯2=22.5, s2=4.62

Compute:

(a) the degrees of freedom:

(b) the test statistic (use Sample 1 −− Sample 2):

(c) he P-value:

Solutions

Expert Solution

Given

Sample 1: n1=17, x1=24.7, s1=3.05

Sample 2: n2=7, x2=22.5, s2=4.62

To test

H0 : 1 = 2      ( two populations have same mean )

H1 : 1 2      ( two populations mean differ significantly )

we have n1 = 17   ,  1 =24.7      , s1 = 3.05

            n2=7       , 2=22.5       , s2=4.62

Test statistics T.S :

T.S =

where

S.E =

To calculate sd2 we have

sd2   =

Using above samples information

sd2   =

after calculation

sd2   =

Hence

S.E = =    = ( 2.734156 ) 1/2= 1.653528

Hence S.E = 1.653528

Thus

T.S =

       = = 1.186761

Hence calculated test statistics is T.S = 1.330488

a) Degree of freedom df = n1+n2-2 = 17+7-2 = 22

b) the test statistic is T.S = 1.186761

c) To calculate P-value we have

P-value = P ( t < -T.S ) + P (t > T.S )

               = 2 * P ( t < -T.S )

P-value =    2 * P ( t < -1.330488)           

where t is t-distributed with n1-n2-2 = 22 degree of freedom

Required probability can be computed from statistical book or more accurately from any software like R,Excel

From R       

> 2*pt( -1.330488,22)             # 2 * P ( t < -1.186761 )   
[1] 0.1969851

So 2 * P ( t < -1.330488 )     = 0.1969851

Hence

P-value =    2 * P ( t < -1.330488 ) =0.1969851

i.e P-value = 0.1969851

Conclusion

Now P-value = 0.1969851 > 0.05 then we can not reject null hypothesis at 5% of level of significance ,

hence we conclude that two samples described below may come from populations with the same mean.


Related Solutions

Test the claim that μ1 = μ2. Two samples are random, independent, and come from populations...
Test the claim that μ1 = μ2. Two samples are random, independent, and come from populations that are normally distributed. The sample statistics are given below. Assume that σ 21 ≠ σ 22. Use α = 0.05. n1 = 25 n2 = 30 x1 = 18 x2 = 16 s1 = 1.5 s2 = 1.9
Test the indicated claim about the means of two populations. Assume that the two samples are...
Test the indicated claim about the means of two populations. Assume that the two samples are independent simple random samples selected from normally distributed populations. 1) A researcher was interested in comparing the GPAs of students at two different colleges. Independent random samples of 8 students from college A and 13 students from college B yielded the following GPAs: College A College B 3.7 3.8 2.8 3.2 3.2 4.0 3.0 3.0 3.6 2.5 3.9 2.6 2.7 3.8 4.0 3.6 2.5...
Test the indicated claim about the means of two populations. Assume that the two samples are...
Test the indicated claim about the means of two populations. Assume that the two samples are independent simple random samples selected from normally distributed populations. Do not assume that the population standard deviations are equal. Use the traditional method or P-value method as indicated. 14) A researcher wishes to determine whether the blood pressure of vegetarians is, on average, lower than the blood pressure of nonvegetarians. Independent simple random samples of 85 vegetarians and 75 nonvegetarians yielded the following sample...
Test the indicated claim about the means of two populations. Assume that the two samples are...
Test the indicated claim about the means of two populations. Assume that the two samples are independent simple random samples selected from normally distributed populations. Do not assume that the population standard deviations are equal. Use the traditional method or P-value method as indicated. A researcher was interested in comparing the salaries of female and male employees at a particular company. Independent simple random samples of 8 female employees and 15 male employees yielded the following weekly salaries (in dollars)....
Test the indicated claim about the means of two populations. Assume that the two samples are...
Test the indicated claim about the means of two populations. Assume that the two samples are independent simple random samples selected from normally distributed populations. Do not assume that the population standard deviations are equal. Use the traditional method. 1) A researcher was interested in comparing the response times of two different cab companies. Companies A and B were each called at 50 randomly selected times. The calls to company A were made independently of the calls to company B....
Test the indicated claim about the means of two populations. Assume that the two samples are...
Test the indicated claim about the means of two populations. Assume that the two samples are independent simple random samples selected from normally distributed populations. Do not assume that the population standard deviations are equal. Use the traditional method. 1) A researcher was interested in comparing the response times of two different cab companies. Companies A and B were each called at 50 randomly selected times. The calls to company A were made independently of the calls to company B....
Test the indicated claim about the means of two populations. Assume that the two samples are...
Test the indicated claim about the means of two populations. Assume that the two samples are independent simple random samples selected from normally distributed populations. Do not assume that the population standard deviations are equal. Use the traditional method or P-value method as indicated. 9) A researcher was interested in comparing the salaries of female and male employees at a particular company. Independent simple random samples of 8 female employees and 15 male employees yielded the following weekly salaries (in...
Suppose you want to test the claim the the paired sample data given below come from...
Suppose you want to test the claim the the paired sample data given below come from a population for which the mean difference is μd=0μd=0. x: 51 66 54 78 89 71 70   y: 91 63 56 79 59 77 56 Use a 0.050.05 significance level to find the following: (a)    The mean value of the differnces dd for the paired sample data d⎯⎯⎯=d¯= (b)    The standard deviation of the differences dd for the paired sample data sd=sd= (c)    The t test statistic...
Suppose you want to test the claim the paired sample data given below come from a...
Suppose you want to test the claim the paired sample data given below come from a population for which the mean difference is ??=0. x 73 59 88 59 67 86 51 y 67 65 80 55 76 67 57 Use a 0.05 significance level to find the following: (a)    The mean value of the difference ? for the paired sample data d¯= (b)    The standard deviation of the differences ? for the paired sample data ??= (c)    The t-test statistic ?= (d)    The...
Test the given claim about the means of two populations. Assume that two dependent samples have...
Test the given claim about the means of two populations. Assume that two dependent samples have been randomly selected from normally distributed populations. A test of abstract reasoning is given to a random sample of students before and after they completed a formal logic course. The results are given below. At the 0.05 significance level, test the claim that the mean score is not affected by the course. Include your null and alternative hypotheses, the test statistic, P-value or critical...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT