1 / 15

STAT 3120 Statistical Methods I

STAT 3120 Statistical Methods I. Lecture Notes 6 Analysis of Variance (ANOVA). Testing for Relationships Among Variables. AN alysis O f VA riance. A few points about ANOVA: Used to determine if statistical differences exist among three or more groups;

Télécharger la présentation

STAT 3120 Statistical Methods I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. STAT 3120 Statistical Methods I Lecture Notes 6 Analysis of Variance (ANOVA)

  2. Testing for Relationships Among Variables

  3. ANalysis Of VAriance A few points about ANOVA: • Used to determine if statistical differences exist among three or more groups; (Question – why not use multiple ttests?) • Assumes that the groups are of approximately equal size, have approximately normal distributions and are independent of each other; • The test statistic for ANOVA is the F-stat.

  4. ANOVA There are two “templates” to retain in your mind when conducting ANOVA. The first involves the structure of the data: This notation can be found on page 387.

  5. ANOVA The second involves the actual computation of the test statistic: This notation can be found on page 389.

  6. ANOVA Consider an Experiment where 4 groups of 5 subjects are exposed to 4 different advertising strategies, and we measure the level of Retention for the subjects in each group as shown:

  7. ANOVA • If the sample means were identical or very similar, one would not claim that the Ad strategy affects retention. • If the sample means are substantially different, one might conclude that the Ad strategy affects retention.

  8. ANOVA • According to the null hypothesis, the Ad strategy does not influence retention. • According to the alternate hypothesis, the Ad strategy affects retention.

  9. ANOVA • If the classification into groups is ignored, one can compute the sum of squares of the observations about the mean of all of the scores. This is called the TOTAL SUM OF SQUARES. • That value can be decomposed into two independent sources of variability.

  10. ANOVA • Some of the variability among the observations is a result of differences among people (or things). This is called the WITHIN GROUPS sum of squares. • Some of the variability among the observations is a result of differences among the groups. This is called the BETWEEN GROUPS sum of squares.

  11. SST = Total Sum of Squares SSW = Sum of Squares Within Groups SSB = Sum of Squares Between Groups X = mean of data for all the sample groups combined Xj = mean of the jth sample group Xij = the ith element from the jth group n = number of samples in each group _ _ Decomposition of Total Deviation SST = SSW + SSB ij(Xij-X)2 = ij(Xij-Xj)2 +nj(Xj-X)2 _ _ _

  12. Computation of Sums of Squares • Total Sum of Squares (SST) • ij(Xij-X)2 = 210 + 55 + 155 + 54 = 474 • Within Groups Sum of Squares • ij(Xij-Xj)2 = 30 + 50 + 30 + 34 = 144 • Between Groups Sum of Squares • nj(Xj-X)2 = 5(62 + 12 + 52 + 22) = 330 _ _ _

  13. Decomposition of SST 474 Impact of All Other Variables (144) Exp. Factor (330) Within Between

  14. Degrees of Freedom • Degrees of freedom must be computed for each source of variability. • The degrees of freedom for total is (nT -1) = 19. • The degrees of freedom for between groups is (t-1) = 3 • The degrees of freedom for within groups is (nT - t)= 16.

  15. Analysis of Variance Table

More Related