Results: classicalpain.sas

Pain data: Read from an Excel Spreadsheet

The PRINT Procedure

Data Set WORK.OUCH

Obs Patient Drug1Dose1 Drug1Dose2 Drug1Dose3 Drug2Dose1 Drug2Dose2 Drug2Dose3
1 1 7 8 9 10 7 6.5
2 2 7.5 6 5.5 6 4.5 7.5
3 3 3 4.5 6 6.5 5.5 8.5
4 4 3 1.5 0 5 0 2
5 5 5 3.5 4.5 5.5 1.5 5.5
6 6 8 6 4 6.5 5.5 4.5
7 7 7.5 4.5 5.5 5 5.5 6
8 8 7.5 4 0.5 3.5 4.5 7.5
9 9 7.5 4.5 4 7.5 4.5 6
10 10 6 7.5 5.5 7.5 6 6.5

Pain data: Read from an Excel Spreadsheet

The PRINT Procedure

Data Set WORK.ARTHRITIS

Obs Patient Drug Dose Pain
1 1 1 1 7.0
2 1 1 2 8.0
3 1 1 3 9.0
4 1 2 1 10.0
5 1 2 2 7.0
6 1 2 3 6.5
7 2 1 1 7.5
8 2 1 2 6.0
9 2 1 3 5.5
10 2 2 1 6.0
11 2 2 2 4.5
12 2 2 3 7.5
13 3 1 1 3.0
14 3 1 2 4.5
15 3 1 3 6.0
16 3 2 1 6.5
17 3 2 2 5.5
18 3 2 3 8.5
19 4 1 1 3.0
20 4 1 2 1.5
21 4 1 3 0.0
22 4 2 1 5.0
23 4 2 2 0.0
24 4 2 3 2.0
25 5 1 1 5.0
26 5 1 2 3.5
27 5 1 3 4.5
28 5 2 1 5.5
29 5 2 2 1.5
30 5 2 3 5.5
31 6 1 1 8.0
32 6 1 2 6.0
33 6 1 3 4.0
34 6 2 1 6.5
35 6 2 2 5.5
36 6 2 3 4.5
37 7 1 1 7.5
38 7 1 2 4.5
39 7 1 3 5.5
40 7 2 1 5.0
41 7 2 2 5.5
42 7 2 3 6.0
43 8 1 1 7.5
44 8 1 2 4.0
45 8 1 3 0.5
46 8 2 1 3.5
47 8 2 2 4.5
48 8 2 3 7.5
49 9 1 1 7.5
50 9 1 2 4.5
51 9 1 3 4.0
52 9 2 1 7.5
53 9 2 2 4.5
54 9 2 3 6.0
55 10 1 1 6.0
56 10 1 2 7.5
57 10 1 3 5.5
58 10 2 1 7.5
59 10 2 2 6.0
60 10 2 3 6.5

Pain data: Read from an Excel Spreadsheet

Look at the means

The TABULATE Procedure

Cross-tabular summary report

Table 1

  Dose All
1 2 3
Mean Mean Mean Mean
Pain Pain Pain Pain
Drug 6.20 5.00 4.45 5.22
1
2 6.30 4.45 6.05 5.60
All 6.25 4.73 5.25 5.41

Pain data: Read from an Excel Spreadsheet

Classical mixed model repeated measures

The GLM Procedure

The GLM Procedure

Data

Class Levels

Class Level Information
Class Levels Values
Patient 10 1 2 3 4 5 6 7 8 9 10
Drug 2 1 2
Dose 3 1 2 3

Number of Observations

Number of Observations Read 60
Number of Observations Used 60

Pain data: Read from an Excel Spreadsheet

Classical mixed model repeated measures

The GLM Procedure

Dependent Variable: Pain

Analysis of Variance

Pain

Overall ANOVA

Source DF Sum of Squares Mean Square F Value Pr > F
Model 14 173.9083333 12.4220238 6.09 <.0001
Error 45 91.8375000 2.0408333    
Corrected Total 59 265.7458333      

Fit Statistics

R-Square Coeff Var Root MSE Pain Mean
0.654416 26.41437 1.428577 5.408333

Type I Model ANOVA

Source DF Type I SS Mean Square F Value Pr > F
Patient 9 135.5375000 15.0597222 7.38 <.0001
Drug 1 2.2041667 2.2041667 1.08 0.3042
Dose 2 24.0083333 12.0041667 5.88 0.0054
Drug*Dose 2 12.1583333 6.0791667 2.98 0.0610

Type III Model ANOVA

Source DF Type III SS Mean Square F Value Pr > F
Patient 9 135.5375000 15.0597222 7.38 <.0001
Drug 1 2.2041667 2.2041667 1.08 0.3042
Dose 2 24.0083333 12.0041667 5.88 0.0054
Drug*Dose 2 12.1583333 6.0791667 2.98 0.0610

Pain data: Read from an Excel Spreadsheet

Classical mixed model repeated measures

The GLM Procedure

Random Effects Analysis

Model Expected Mean Squares

Source Type III Expected Mean Square
Patient Var(Error) + 6 Var(Patient)
Drug Var(Error) + Q(Drug,Drug*Dose)
Dose Var(Error) + Q(Dose,Drug*Dose)
Drug*Dose Var(Error) + Q(Drug*Dose)

Pain data: Read from an Excel Spreadsheet

Classical mixed model repeated measures

The GLM Procedure

Tests of Hypotheses for Mixed Model Analysis of Variance

Dependent Variable: Pain

Pain

Type III Model ANOVA

  Source DF Type III SS Mean Square F Value Pr > F
* This test assumes one or more other fixed effects are zero.
  Patient 9 135.537500 15.059722 7.38 <.0001
* Drug 1 2.204167 2.204167 1.08 0.3042
* Dose 2 24.008333 12.004167 5.88 0.0054
  Drug*Dose 2 12.158333 6.079167 2.98 0.0610
  Error: MS(Error) 45 91.837500 2.040833