DOC PREVIEW
UT Knoxville STAT 201 - 3) contrasts_among_means

This preview shows page 1-2-3-4 out of 11 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 11 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

SAS PROGRAMMING CODESAS Code for Welch-Satterthwaite ApproachRelevant SAS OutputCourse: Analysis of Variance Topic: Contrasts 1 CONTRASTS AMONG MEANSIn the previous class we discussed the general formula for an ANOVA when testing the omnibus hypothesis that all population means are the same:H0: j ...321When we reject the H0 we conclude that the populations are not all the same. When there are more than two populations, however, we do not know which populations differ. That is, some of the populations may differ and some may be equivalent. When there are more than two populations we need to perform further comparisons or contrasts among the populations to determine exactly which populations differ.To make our discussion of contrasts more concrete, we’ll continue our depression example in which we measured depression (larger scores indicate greater depression) following smiling therapy, exercise therapy, or no therapy. Our bogus data are as follows:No Therapy Smiling Therapy Exercise Therapy7 2 37 1 16 1 258.0,67.6  sx58.0,33.1  sx00.1,00.2  sxRecall that the test of the omnibus null was significant, F(2, 6) = 45.60, p = .0002, indicating thatthe average depression scores among the therapies were not the same. At this point we would like to conduct contrasts to determine which populations differ. It’s possible that we formulated specific comparisons prior to looking at the data. Alternatively, we could develop comparisons after looking at the data (e.g., it appears that depressions scores are smaller for persons experiencing smiling or exercise therapy than for persons who received no therapy). Whether thecontrasts are formulated a priori or post-hoc is important and will be discussed in a later class. For the moment, we will discuss general procedures for testing contrasts.CONTRASTSA contrast is a linear combination of population means in which the coefficients of the means sum to zero. For example, the null hypothesis that smiling therapy is no more effective than no therapy,snH:0, can be re-expressed as a linear combination of population means,0:0snH. In general, a contrast involves the summation of population means that are weighted by coefficients that reflect the hypothesized relation among the means: jjcccc 332211In our depression example in which we test whether smiling therapy differs from no therapy, the coefficients are 1, -1, and 0 for the no-therapy, smiling-therapy, and exercise-therapy conditions, respectively:esn)0()1()1( Course: Analysis of Variance Topic: Contrasts 2 A contrast can be represented more compactly asajjjc1 and the lower case Greek letter psi ()is used to represent the value of a contrast: ajjjc1.Pairwise and Complex ComparisonsThere are two general categories of contrasts: pairwise and complex. Although the process and logic of testing pairwise and complex contrasts are identical, the distinction is necessary when we discuss issues relevant to the testing of multiple contrasts. Pairwise ContrastsPairwise contrasts involve comparison of two populations. The two populations of interest are weighted with coefficients that sum to zero and all remaining populations are weighted with a coefficient of 0. In our depression example, with three populations there are a maximum of three pairwise comparisons:esn)0()1()1( esn)1()0()1( esn)1()1()0( Complex Contrasts Complex contrasts involve comparison of more than 2 populations. The contrast, again, isa linear combination of population means weighted by coefficients that reflect the hypothesized relations among the populations. In our depression example, we could test whether the smiling therapy and exercise therapy are better than no therapy:esn)1()1()2( Notice that this complex comparison involves information from three populations. If we had a fourth sample in our depression study (i.e., persons receiving hugging therapy) and wanted to compare the average of smiling and exercise with no therapy, we would simply weight the hugging-therapy population mean with 0:hesn)0()1()1()2( As we will soon discuss, the contrast is tested with an F-ratio. The formula of the F-ratio is such that the specific values of the coefficients within a set are not important as long as they express the desired proportionate weighting of the means. For example, we can test whether smiling therapy and exercise therapy differ from no therapy with any of the following contrasts:esn)5.()5.()1( esn)1()1()2( esn)2()2()4( esn)500()500()1000( The above contrasts are logically equivalent and will produce the same results. However, if we change the proportionate weightings within a set the meaning of the contrast changes. For example, the following contrasts do not test the same hypothesis as do the 4 previous contrasts:esn)75.()25.()1(  esn)3()1()4( The latter contrasts also compare the no therapy population with smiling and exercise therapy. However, they combine smiling and exercise therapy in a manner that weights exercise therapyCourse: Analysis of Variance Topic: Contrasts 3 three times heavier than smiling therapy. Whether such a weighting is meaningful depends upon the research question. The important point, however, is that different hypotheses are tested by changing the proportionate weighting of the contrast coefficients.The F-Ratio as a General Formula for Testing a ContrastA contrast is tested with the general formula for an F-ratio that compares the simplicity and error associated with the full and restricted models:FFFRFRdfEdfdfEEF)()(For example, the H0 and H1 for the contrast of whether no-therapy is different from the average of smiling and exercise therapies (esn)1()1()2( ) are:0:02:00HnabreviatiothewithorHesn0:02:11HnabreviatiothewithorHesnThe full model which is derived from H1 is ijjijYand the estimated error of this model (EF) is determined by squaring the deviations of each observation from the sample mean of the corresponding group (i.e., the least square estimate of j):2112)(jniiniiFYYeE As we discussed previously,


View Full Document

UT Knoxville STAT 201 - 3) contrasts_among_means

Documents in this Course
Chapter 8

Chapter 8

43 pages

Chapter 7

Chapter 7

30 pages

Chapter 6

Chapter 6

43 pages

Chapter 5

Chapter 5

23 pages

Chapter 3

Chapter 3

34 pages

Chapter 2

Chapter 2

18 pages

Chapter 1

Chapter 1

11 pages

Load more
Download 3) contrasts_among_means
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view 3) contrasts_among_means and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view 3) contrasts_among_means 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?