Presentation is loading. Please wait.

Presentation is loading. Please wait.

Analgesic study with three treatments crossed with gender.

Similar presentations


Presentation on theme: "Analgesic study with three treatments crossed with gender."— Presentation transcript:

1 Analgesic study with three treatments crossed with gender.

2 Data on pain and factor levels maleC12.4 femaleA7.69 maleC14.0 femaleA9.69 maleC11.6 femaleA8.89 femaleA6.94 femaleA2.13 femaleA7.26 femaleA5.87 maleB12.9 femaleC12.2 femaleA7.20 maleC13.9 maleA8.18 maleB16.6 femaleC9.41 maleC11.2 femaleB8.35 maleA7.24 femaleA6.81 maleB9.81 femaleA6.67 femaleA6.98 femaleA7.07 femaleC2.40 maleB7.84 femaleB3.84 maleB9.42 maleA7.00 femaleA5.00 maleA8.00

3 Factors and Response Variable Response variable, Y, is Pain index Gender is one factor (sometimes called independent variable) Drug (type of analgesic agent) is the other factor All factor combinations are considered

4 Statistical Model So that Pain level is modeled as a linear function of Factor levels.

5 ANOVA table Source DF Sum of Squares F Ratio Prob > F gender 1 73.8082 12.6378 0.0014* drug 2 51.0591 4.3713 0.0227* drug*gender 2 30.5427 2.6148 0.0916

6 What if we had dropped the interaction from the model since it was not significant? The Drug Effect is now close to being not significant. Why? Because we have inflated our MSE. In ANOVA, the model you originally fit is generally the model you use for reporting significance.

7 Main Effect of Gender

8 Range Test on Main Effect of Drug Level Least Sq Mean C A 10.316622 B AB8.710767 A B7.134856 Levels not connected by same letter are significantly different.

9 Effect of Drug

10 What did Interaction term test? The interaction tests whether an “Additive Model” is adequate. The Additive model only contains Main Effects and has the form: Another way to think about Interaction is to look at Interaction Plots.

11 Interaction plots

12 Alternate Interaction Plot

13 Residual Plot

14 Residual by Predicted

15 Normal Plot

16 Goodness of Fit Goodness-of-Fit Test Shapiro-Wilk W Test W Prob<W 0.970483 0.4936 Note: Ho = The data is from the Normal distribution. Small p-values reject Ho.

17 Box-Cox Transformation (lambda which minimizes SSE is optimal)


Download ppt "Analgesic study with three treatments crossed with gender."

Similar presentations


Ads by Google