# Comparing 3 Variables Drug trial what tests to do?

#### tara888

##### New Member
I have been given a data set of 3 groups, 20 patients ine each measuring for drugA, drugB and placebo. with the effect of the drug in numerical form-> Here is my data set:
Treatment Change.in.systolic
1 Placebo -1.26
2 Placebo -2.39
3 Placebo 5.75
4 Placebo 2.33
5 Placebo -3.63
6 Placebo 1.19
7 Placebo 3.61
8 Placebo 0.29
9 Placebo 5.27
10 Placebo -6.56
11 Placebo 4.02
12 Placebo -2.18
13 Placebo 3.76
14 Placebo -4.70
15 Placebo -2.14
16 Placebo -5.69
17 Placebo -2.24
18 Placebo 3.67
19 Placebo -5.77
20 Placebo 3.68
21 DrugA -0.45
22 DrugA 1.69
23 DrugA -4.00
24 DrugA -0.92
25 DrugA -3.04
26 DrugA -2.72
27 DrugA 2.46
28 DrugA 3.49
29 DrugA 2.63
30 DrugA -5.16
31 DrugA -4.40
32 DrugA -0.20
33 DrugA 2.73
34 DrugA -2.71
35 DrugA -2.74
36 DrugA 1.02
37 DrugA -4.59
38 DrugA oline -3.24
39 DrugA -0.37
40 DrugA 0.07
41 DrugB -2.54
42 DrugB 0.80
43 DrugB -0.53
44 DrugB -0.89
45 DrugB -4.31
46 DrugB -1.18
47 DrugB -0.12
48 DrugB -3.11
49 DrugB -4.35
50 DrugB 1.06
51 DrugB -2.73
52 DrugB 1.86
53 DrugB -0.61
54 DrugB -8.25
55 DrugB -2.69
56 DrugB -4.64
57 DrugB -2.79
58 DrugB -4.41
59 DrugB 1.65
60 DrugB -3.83

I'm getting really confused: I think i'm meant to do 3 t-tests for them, so i extracted just the raw numbers for each of them and did t.test(drugB.numb,DrugA.numb,paired=T) is that correct because i got over0.05 for all my p-values
Also how do i run an Anova with this data???

Thank-you for any help!!!

#### Teleopsis

##### New Member
Dear tara888

As the two lecturers responsible for the module for which this exercise forms a major piece of assessed coursework, we would strongly recommend (i) either trying to work out the answer for yourself, rather than getting someone else to write your R code for you; or (ii) attending the drop-in R session which is running as we type. Best wishes, Rob and Steve.

#### brukkaros

##### New Member
Sorry about answering that one for them, I've now deleted my posts....