Consider the following data set. The data were actually collected in pairs, and each row represents a pair.

Group 1 Group 2
48.86 48.88
50.6 52.63
51.02 52.55
47.99 50.94
54.2 53.02
50.66 50.66
45.91 47.78
48.79 48.44
47.76 48.92
51.13 51.63

a. Suppose that we ignore the fact that the data were collected in pairs and mistakenly treat this as a two-sample problem. Compute the sample mean and variance for each group. Then compute the two-sample t statistic, degrees of freedom, and P-value for the two-sided alternative.
b. Now analyze the data in the proper way. Compute the sample mean and variance of the differences. Then compute the t statistic, degrees of freedom, and P-value.
c. Describe the differences in the two test results.

Respuesta :

Answer:

Step-by-step explanation:

Hello!

a.

Using the data sets you have to analyze them as if they are two independent samples.

The hypotheses are:

H₀: μ₁=μ₂

H₁: μ₁≠μ₂

α: 0.05

Assuming that both data sets are from a normal distribution and both population variances, although unknown, are equal, the statistic to use is:

[tex]t=\frac{(X[bar]_1-X[bar]_2)-(Mu_1-Mu_2)}{Sa\sqrt{\frac{1}{n_1} +\frac{1}{n_2} } } ~~t_{n_1+n_2-2}[/tex]

[tex]Sa^2= \frac{(n_1-1)S^2_1+(n_2-1)S^2_2}{n_1+n_2-2}[/tex]

[tex]Sa^2= \frac{9*5.38+9*3.65}{10+10-2} =4.51[/tex]

Sa= 2.12

[tex]t_{H_0}= \frac{(49.69-50.52)-0}{2.12*\sqrt{\frac{1}{10} +\frac{1}{10} } } = -0.875[/tex]

The p-value for the two-tailed test is:

P([tex]t_{18}[/tex]≤-0.875) + P([tex]t_{18}[/tex]≥0.875)= P([tex]t_{18}[/tex]≤-0.875) + (1 - P([tex]t_{18}[/tex]≤0.875))= 0.1965 + ( 1 - 0.8035)= 0.393

Since there is no significant level I determined it at 5%, comparing it to the p-value, the hypothesis test is not significant. Meaning that the difference between the population means of both groups is equal to zero.

b.

Considering the given data as a paired sample, you have to determine the variable difference to conduct the test:

Xd: the difference between X₁ and X₂

Before the sample mean and sample standard deviation you have to calculate the difference between the observations of group 1 and group 2. (2nd attachment)

Mean X[bar]d= -0.83

Standard deviation Sd= 1.28

The hypotheses for the paired sample test are:

H₀: μd=0

H₁: μd≠0

α: 0.05

[tex]t= \frac{X[bar]d-Mud}{\frac{Sd}{\sqrt{n} } } ~~t_{n-1}[/tex]

[tex]t_{H_0}= \frac{-0.83-0}{\frac{1.28}{ \sqrt{10} }} = -2.05[/tex]

The p-value for the two-tailed test is:

P([tex]t_{9}[/tex]≤-2.05) + P([tex]t_{9}[/tex]≥2.05)= P([tex]t_{9}[/tex]≤-2.05) + (1 - P([tex]t_{9}[/tex]≤2.05))= 0.0353 + (1 - 0.9647)= 0.0706

Comparing the p-value with the significance level, the hypothesis test is not significant. Meaning that the population mean of the difference between group 1 and group 2 is equal to cero. There is no difference between the two groups.

c.

The value of the statistic in "a" is greater than the value of the statistic obtained in "b". Since there are two samples used an "a" the degrees of freedom of the test are the double as the ones used in "b". The p-value obtained in "b" is around half of the p-value of "a".

The main difference is that in "a" you compared two different samples but in "b" you compared two dependent samples when analyzing paired data the "effect of the individual" is removed from the equation.

I hope this helps!

Ver imagen cchilabert
Ver imagen cchilabert
ACCESS MORE