ANOVA Lecture Compress

Embed Size (px)

Citation preview

  • 8/6/2019 ANOVA Lecture Compress

    1/44

    ANOVA

  • 8/6/2019 ANOVA Lecture Compress

    2/44

  • 8/6/2019 ANOVA Lecture Compress

    3/44

    ANOVA (Analysis of Variance)

    Determines if mean group scores are far

    apart relative to our uncertainty about

    the actual value of the means

  • 8/6/2019 ANOVA Lecture Compress

    4/44

    Example

    Green Yellow Blue

    Store 1 14 8 8

    Store 2 10 14 6Store 3 11 3 5

    Store 4 9 7 1

    verage

    Sales

    11 8 5

    Grand Mean= 11+8+5/3 = 8

  • 8/6/2019 ANOVA Lecture Compress

    5/44

    Example

    There seems to be an overall average

    difference

    Questions:

    Is this difference statistically significant?

    If so, is the size of the difference

    managerially significant?

  • 8/6/2019 ANOVA Lecture Compress

    6/44

    ANOVA (Analysis of Variance)

    Conceptually, ANOVA compares:

    difference among means/uncertainty OR

    explained variance/unexplained

    variance OR

    between treatment variance/within

    treatment variance

  • 8/6/2019 ANOVA Lecture Compress

    7/44

  • 8/6/2019 ANOVA Lecture Compress

    8/44

    Logic of ANOVA

    Each observation is different from the

    Grand (total sample) Mean by some

    amount

    There are two sources of variance from

    the mean

    1) That due to the treatment orindependent variable

    2) That which is unexplained by our

    treatment

  • 8/6/2019 ANOVA Lecture Compress

    9/44

    Logic of ANOVA

    General Form: Y= f(x)

    Example: sales = f (price level]

    Often used with multiple independent

    variables: Y=f(x1, x2, x3.)

    Example: sales=f (price level,

    advertising, sales coverage)

  • 8/6/2019 ANOVA Lecture Compress

    10/44

    Logic of ANOVA

    The statistical test of significance is

    based on the relative size of the

    variance caused by the IV relative to

    unexplained varianceThree quantities are calculated:

    Total variance

    Between treatment sum of squares(explained)

    Within treatment sum of squares

    (unexplained)

  • 8/6/2019 ANOVA Lecture Compress

    11/44

    Calculating ANOVA

    Total variation =

    xjk = each observation

    x double bar = grand mean c=number of categories of the IV

    nj=number of test units in treatment

  • 8/6/2019 ANOVA Lecture Compress

    12/44

    Total Variation

    Variation due to the treatment (between

    treatment sum of squares) +

    unexplained variance (within treatmentsum of squares)

  • 8/6/2019 ANOVA Lecture Compress

    13/44

    Calculating ANOVA

    Between treatment sum of squares

    (explained)

    Xj = mean for each column

    nj = number of test units in column

  • 8/6/2019 ANOVA Lecture Compress

    14/44

    Calculating ANOVA

    Between treatment sum of squares

    (explained)

    It is the average treatment outcome for

    each treatment minus the grand mean

    If there is no treatment effect, the value

    would be zero as each column meanwould equal the grand mean

  • 8/6/2019 ANOVA Lecture Compress

    15/44

    Calculating ANOVA

    Within treatment variance (unexplained)

    Each observation - associated columnmean

  • 8/6/2019 ANOVA Lecture Compress

    16/44

    Calculating ANOVA

    Total Index =

    c-1 and n-c are degrees of freedom

  • 8/6/2019 ANOVA Lecture Compress

    17/44

    Are the means different?

    Ho: Treatment groups have equal

    means.

    Ha: Treatment groups have different

    means.

    If the calculated F(c-1),(n-c) exceeds the

    tabled value, then Ha receives support

  • 8/6/2019 ANOVA Lecture Compress

    18/44

    Examplereen ello lue

    tore 1 14 8 8

    tore 2 10 14 6

    tore 3 11 3 5tore 4 9 7 1

    Average

    ales

    11 8 5

    Grand Mean= 11+8+5/3 = 8

  • 8/6/2019 ANOVA Lecture Compress

    19/44

    ANOVA calculation

    Involves three calculations:

    Total Sum of Squares

    Treatment Sum of Squares

    Unexplained Sum of Squares

  • 8/6/2019 ANOVA Lecture Compress

    20/44

    Total um of quares (Each Observation-Grand Mean)2

    =(14-18)2 + (10-8)2+ (11-8)2 + (9-8)2

    +(8-8)2 + (14-8)2+ (3-8)2 + (7-8)2 + (8-8)2

    +(6-8)2 + (5-8)2 + (1-8)2

    = 174

  • 8/6/2019 ANOVA Lecture Compress

    21/44

    Treatment um of quares

    (Average treatment outcome-Grand

    Mean)2*number of observations in treatment

    (11-8)2*4 + (8-8)2*4 + (5-8)2*4

    =72

    Between treatment SS orExplained Variance

    If there is no treatment effect, SST=?

  • 8/6/2019 ANOVA Lecture Compress

    22/44

    Unex plained um of quares

    (Each observation-treatment mean)2

    =(14-11)2 + (10-11)2 + (11-11)2 + (9-11)2

    + (8-8)2 + (14-8)2 + (3-8)2 + (7-8)2

    + (8-5)2 + (6-5)2 + (5-5)2 + (1-5)2

    =102

    WithinT

    reatment SS or Unexplained Variance

    If all variance is explained by the

    treatment, SSU =?

  • 8/6/2019 ANOVA Lecture Compress

    23/44

    Calculating F

    d.f. = c-1, n-c

    (3-1), (12-3)

    Tabled value for F(2,9) = 4.26 (E=.05)

    F must equal or exceed 4.26 for the

    means to be significantly different

  • 8/6/2019 ANOVA Lecture Compress

    24/44

    Calculating F

    d.f. = c-1, n-c

    (3-1), (12-3)

    Tabled value for F(2,9) = 4.26 (E=.05)

    F must equal or exceed 4.26 for the

    means to be significantly different

  • 8/6/2019 ANOVA Lecture Compress

    25/44

  • 8/6/2019 ANOVA Lecture Compress

    26/44

    Calculating F

    SST=72

    SSU=102

    MST= 72/c-1 = 36

    MSU=102/n-c = 11.33

    F=MST

    /MSU = 36/11.33 = 3.18Are the means significantly different?

  • 8/6/2019 ANOVA Lecture Compress

    27/44

    ANOVA Table

  • 8/6/2019 ANOVA Lecture Compress

    28/44

    More than One Independent

    Variable However, ANOVA can be used with

    multiple independent variables

    With multiple I.V.s one can look for

    interaction effects

  • 8/6/2019 ANOVA Lecture Compress

    29/44

    Activities

    Calculate a simple one-way ANOVA

    Look at computer output of ANOVA

    examples

  • 8/6/2019 ANOVA Lecture Compress

    30/44

    ANOVA Example

    Coupon

    Plan #1

    Coupon

    Plan #2

    Coupon

    Plan #3

    Test Units 20 17 14

    18 14 10

    15 13 7

    11 8 5

    Average 16 13 9

    Calculate F. Do the plans produce significantly different

    sales? [Hint: Grand Mean = 12.7]

  • 8/6/2019 ANOVA Lecture Compress

    31/44

    Example 1:

    Independent Variable: Service Type

    (Bank, Medical Facility, Retail Clothing,

    Post Office, Restaurant)

    Dependent Variable: Empathy of Service

    Provider (Total possible points: 35)

  • 8/6/2019 ANOVA Lecture Compress

    32/44

  • 8/6/2019 ANOVA Lecture Compress

    33/44

  • 8/6/2019 ANOVA Lecture Compress

    34/44

    Example #2

    Independent Variable: Nation

    Outcome Variable: Responsiveness of

    Service Provider

  • 8/6/2019 ANOVA Lecture Compress

    35/44

  • 8/6/2019 ANOVA Lecture Compress

    36/44

  • 8/6/2019 ANOVA Lecture Compress

    37/44

    Example #3

    I. V. Type of Retail Establishment

    D.V. Responsiveness

  • 8/6/2019 ANOVA Lecture Compress

    38/44

  • 8/6/2019 ANOVA Lecture Compress

    39/44

  • 8/6/2019 ANOVA Lecture Compress

    40/44

    Example #4

    Two I.V.s -- Nation and Service Type

    One D. V. -- Responsiveness of Service

    Provider

  • 8/6/2019 ANOVA Lecture Compress

    41/44

  • 8/6/2019 ANOVA Lecture Compress

    42/44

  • 8/6/2019 ANOVA Lecture Compress

    43/44

  • 8/6/2019 ANOVA Lecture Compress

    44/44

    Responsiveness of ervice

    Providers (possible points=35)

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    Ba k e ical

    Clothig

    PostOffice

    Restaurat

    America

    erma