229k views
2 votes
A crossover trial is a type of experiment used to compare two drugs, Subjects take one drug for a period of time, thenswitch to the other. The responses of the subjects are then compared using matched pair methods In an experiment tocompare two pain relievers, seven subjects took one pain reliever_'___———Sublet!1 1 3 4 5 6 7____'_._Drug A 6 3 4 S 7 l 4Drug B 5 1 5 5 5 2 2_____'_'__Can you conclude that the mean response differs between the two dmgs?

User Dykam
by
5.2k points

1 Answer

4 votes

Answer:


t=(\bar d -0)/((s_d)/(√(n)))=(-0.714 -0)/((1.38)/(√(7)))=-1.369


p_v =2*P(t_((6))<-1.369) =0.220

So the p value is higher than any significance level given, so then we can conclude that we FAIL to reject the null hypothesis that the difference mean between Drug A and Drug B is equal to 0.

Explanation:

Data given

1 2 3 4 5 6 7

Drug A 6 3 4 5 7 1 4

Drug B 5 1 5 5 5 2 2

A paired t-test is used to compare two population means where you have two samples in which observations in one sample can be paired with observations in the other sample. For example if we have Before-and-after observations (This problem) we can use it.

Let put some notation

x=test value for A , y = test value for B

The system of hypothesis for this case are:

Null hypothesis:
\mu_y- \mu_x = 0

Alternative hypothesis:
\mu_y -\mu_x \\eq 0

The first step is calculate the difference
d_i=y_i-x_i and we obtain this:

d: -1, -2, 1, 0, -2, 1, -2

The second step is calculate the mean difference


\bar d= (\sum_(i=1)^n d_i)/(n)=-0.714

The third step would be calculate the standard deviation for the differences, and we got:


s_d =(\sum_(i=1)^n (d_i -\bar d)^2)/(n-1) =1.38

The 4 step is calculate the statistic given by :


t=(\bar d -0)/((s_d)/(√(n)))=(-0.714 -0)/((1.38)/(√(7)))=-1.369

The next step is calculate the degrees of freedom given by:


df=n-1=7-1=6

Now we can calculate the p value, since we have a two tailed test the p value is given by:


p_v =2*P(t_((6))<-1.369) =0.220

So the p value is higher than any significance level given, so then we can conclude that we FAIL to reject the null hypothesis that the difference mean between Drug A and Drug B is equal to 0.

User Ilyssis
by
5.8k points