Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response...

17
One-Way ANOVA Problem 3.26, when assumptions are violated 1

Transcript of Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response...

Page 1: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

1

One-Way ANOVAProblem 3.26, when assumptions are violated

Page 2: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

2

Estimates of terms:

We can estimate the mean response for Failure Time for problem 3.26 from the data by

which is called the Predicted Value and

which is called the Residual Value.

.i i iY

.ij ij iY Y

Page 3: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

3

OK, what about when things go wrongProblem 3.26 data

Page 4: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

4

Plot that data

Page 5: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

5

Put in means and error bars

Page 6: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

6

Plot Residuals vs. Predicted

Page 7: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

7

A clear problem exists but run the test(s) for equal variances

Page 8: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

8

What to do, what to do….. Use Box-Cox transformation to transform the data!!!!!!!!!!!!!!

Page 9: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

9

Do the transformation and..

Page 10: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

10

Plot again

Page 11: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

11

Residuals vs. Predicted

Page 12: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

12

Testing equal variances

Page 13: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

13

Now Normality Plot of Residuals

Page 14: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

14

Test of Normality

Goodness-of-Fit Test Shapiro-Wilk W Test

W Prob<W0.985985 0.9869

Note: Ho = The data is from the Normal distribution. Small p-values reject Ho.

Page 15: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

15

Whew, now do ANOVA….

Page 16: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

16

Compare Trt. groups with Tukey

Page 17: Problem 3.26, when assumptions are violated 1. Estimates of terms: We can estimate the mean response for Failure Time for problem 3.26 from the data by.

17

Reporting results after the analysis of transformed dataThe purpose of diagnostics is to make sure

that the assumptions are at least approximately correct, in which case the p-values reported for significance tests of means comparisons are valid.

In reporting results, such as means of treatment groups, generally use the untransformed or raw data.

Transformations of the data are used to obtain valid p-values, summaries of the original (untransformed or raw) data are used to report results.