SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Where are we and where are we going?

                Purpose                      IV            DV                 Inferential Test

Test if sample representative of the   X             Continuous    One Sample Case Z-test (μ and σ
population                                                         known)

Test if sample representative of the   X             Continuous    One Sample Case t-test (σ
population                                                         unknown)

Test differences                       Dichotomous   Continuous    Independent (or dependent) t-test


Test differences                       Categorical   Continuous    One-Way ANOVA
                                       (2+ groups)
Test relationship                      Continuous    Continuous    Pearson Correlation
Test relationship                      Dichotomous   Continuous    Point Biserial
Test if observed frequencies fit       Categorical   Categorical   Chi-Square Test of Goodness-of-Fit
expected frequencies

Test relationship                      Categorical   Categorical   Chi-Square Test of
                                                                   Independence/Association
                                                                                                       1
Week 12: One-way
Analysis of Variance
(ANOVA)




                       2
One-Way ANOVA Definition
   A One-Way ANOVA is used when comparing two or
    more group means on a continuous dependent
    variable.

   The independent t-test is a special case of the One-
    Way ANOVA for situations where there are only two
    group means.




                                                           3
One-Way ANOVA Definition Con’t.

   Therefore, if there are only two groups, an
    Independent t-test is a shortcut to using a One-Way
    ANOVA, but provides the same results. It is an
    extension of Independent t-test.

   For situations involving more than two groups, a One-
    Way ANOVA must be used.




                                                          4
Types of Variables for One-Way
ANOVA

   The IV is categorical. This categorical IV can be
    dichotomous (i.e., two groups) or it can have more
    than two groups (i.e., three or more groups).

   The DV is continuous

   Data are collected on both variables for each person
    in the study.




                                                           5
Examples of Research Questions for
One-Way ANOVA
   Is there a significant difference among freshmen,
    sophomores, and juniors on college GPA? OR Is there
    a significant difference in GPA by class level?
    Note that GPA is continuous and class standing is
    categorical (freshmen, sophomores, or juniors)

   Is there a significant difference in student attitudes
    toward the course between students who pass or fail a
    course?
    Note that student attitude is continuous and passing a
    course is dichotomous (pass/fail). Because the IV has
    only two groups, an independent t-test or rpb could also
    be used here.

                                                               6
Examples of Research Questions for
One-Way ANOVA
   Does student satisfaction significantly differ by location
    of institution (rural, urban, suburban)?
    Note that student satisfaction is continuous and
    institution location is categorical.




                                                                 7
More Research Questions
   Is there a significant difference in weight loss
    when dieting, exercising, and dieting and
    exercising?

   Is there a significant difference in child’s self-
    esteem by parenting style (authoritative,
    permissive, and authoritarian)?

   Is there a significant difference among those
    who condition, blow-dry, or only shampoo in
    hair frizziness?

                                                         8
Why not do multiple t-tests?
 Doing separate t-tests inflates Type I
  error rate.
 An ANOVA controls the overall error by
  testing all group means against each
  other at once, so your alpha remains at,
  for instance .05.



                                             9
Why not do multiple t-tests?
                                            We need to compare:
                                            Sample 1 vs. Sample 2
                                            Sample 1 vs. Sample 3
                                            Sample 2 vs. Sample 3

                                            So we need to perform
                                            3 t-tests!




   Any experiment with k groups has k X (k-1)/2 different pairs
    available for testing.
   k=3
   k X (3-1) / 2 =
   k X 3 (2/2) = 3(1) = 3 different pairs available for testing
                                                                    10
Type I error rate inflate:
Type I Error Rate Inflate
  Sample 1 vs. Sample 2        α = .05
 Sample 2 vs. Sample 3         α = .05
 Sample 2 vs. Sample 3         α = .05
If alpha = .05 for each test, times 3 tests, the new
   probability of a Type I error is about 0.15 now!

Type I error rate: 1-(1-α)c
Whereby: α = alpha for each separate t-test
          c
              = number of t-tests
                                                   11
Type I error rate inflate:
 Type I Error Rate Table




                          Error rates with repeated t-tests

                                                              12
Retrieved from espse.ed.psu.edu/edpsych
Assumptions rate inflate:
  Type I error
   The populations from
    which the samples were
    obtained must be
    normally or
    approximately normally
    distributed.
   The samples must be
    independent.
   The variances of the
    populations must be
    equal.


                             13
Major Concepts: Calculating
Sums of Squares
   The One-Way ANOVA separates the total variance (hence the
    term – analysis of variance) in the continuous dependent variable
    into two components: variability between the groups and
    variability within the groups.

   Variability between the groups is calculated by first obtaining
    the sums of squares between groups (SSb), or the sum of the
    squared differences between each individual group mean from
    the grand mean.

   Variability within the groups is calculated by first obtaining the
    sums of squares within groups (SSw) or the sum of the squared
    differences between each individual score and that individual’s
    group mean.

                                                                         14
Major Concepts: Calculating Sums
of Squares
   The linear model, conceptually, is: SSt = SSb + SSw, where SSt
    is the total sums of squares.
    Note the simplicity of statistical models: They are linear
    depictions of phenomena, splitting variability into (1) what
    we can measure systematically (differences between
    groups) and (2) what we can’t explain or account for
    systematically (differences within groups).

   Variability within the groups is random variance or noise; it
    reflects individual differences from the group mean and
    sometimes prevents us from seeing difference between
    groups.

   Variability between the groups is systematic variance, it
    reflects differences among the groups due to the experimental
    treatment or characteristics of group membership.
                                                                15
Major Concepts: One-Way
ANOVA as a ratio of variances
   Formula for variance:

                    Σ( x - x ) 2
          σ
              2
                  =
                         N −1
   We can see that the numerator is a sum of squared
    values (or a sums of squares), and the denominator is
    the degrees of freedom. Thus, the formula can be re-
    written as:



           σ            = SS
                    2
                                   df
                                                            16
Major Concepts: Variance Components
in ANOVA
   The Analysis of Variance (ANOVA) analyzes the ratio of the
    variance between groups (i.e., how far apart the group means are
    from one another) to the variance within the groups (i.e., how
    much variability there is among the scores within a single group).
   In ANOVA, these variances, formerly known to us as σ2, are referred
    as mean squares (MS) or the average of the sums of squares
    (SS/df).
   Thus, a mean square between is simply the variance between
    groups obtained by a sums of squares divided by degrees of freedom
    (SSb/dfb).
   Likewise, a mean square within is simply the variance within the
    groups also obtained by a sums of squares divided by degrees of
    freedom (SSw/dfw). Both are shown below:

                             SSb                  SS w
                     MSb =                MSw =
                                   df b                  df w
                                                                     17
Table 1. Scores and means of the
comparison groups and the total group
                               Between

        Method    1       2        3
                  1       8        7
                  4       6        6
                  3       7        4
                  2       4        9
                  5       3        8
                  1       5        5
                  6                7
                        Within     5
            Within                       Within
        n         7       6        8
        mean     3.14   5.50      6.38
                                                  18
Partitioning the Variance


                  Within


        Between




                            19
Major Concepts: Factors that Affect
Significance
   The MSb and the MSw are then divided to obtain the F
    ratio for hypothesis testing, i.e., F is the ratio of MSb and
    the MSw              MSb
                    F=
                              MS w
   As in all statistical tests, the larger the numerator (for
    example, the larger the difference between groups), the
    larger the test statistic (whether it be r, t, or F), and the
    more likely we are to reject the null hypothesis.

   Also, the smaller the denominator (the less variability
    among people in a group), the larger the test statistic,
    and the more likely we are to reject the null hypothesis.
                                                                    20
Major Concepts: Factors that Affect
Significance

   The diagrams below show the impact of increasing the numerator of the
    test statistic. Note that the within group variability (the denominator of the
    equation) is the same in situations A and B. However, the between group
    variability is greater in A than it is in B. This means that the F ratio for A will
    be larger than for B, and thus is more likely to be significant.




                                                                                     21
Major Concepts: Factors that Affect
Significance
   The diagrams below show the impact of decreasing the denominator of the
    test statistic. Note that the between group variability (the difference
    between group means) is the same in situations C and D. However, the
    within group variability is greater in D than it is in C. This means that the
    F ratio for C will be larger than for D, and thus is more likely to be
    significant.




                                                                               22
Major Concepts: t2 = F
   Diagrams A through D on the previous slides could also be used to
    illustrate the t statistic. As two groups differ more in their means
    (increase in numerator and effect size), the larger the value of t
    and the more likely we are to find significant results.

   The lower the within-group variability (decrease in noise), the
    smaller the denominator and the more likely we are to find
    significance. This analogy can be made to ANOVA because t is
    just a special case of ANOVA when only two groups comprise the
    independent variable.

   We are familiar with the t distribution as normally distributed (for
    large df), with positive and negative values. The F statistic, on the
    other hand, is positively skewed, and is comprised of squared
    values. Thus, for any two group situation, t2 = F.

                                                                            23
Distribution of F ratio

    F distribution is
    positively skewed.
    If F statistic falls
    near 1.0, then
    most likely the null
    is true.
   If F statistic is
    large, expect null is
    false. Thus,
    significant F ratios
    will be in the tail of
    the F distribution.
                             24
SPSS Example of One-Way ANOVA




                                25
Summary of Calculations
  dfb groups = k – 1 where k is # of groups
  dfw groups = N – k where N is total # of


 individuals in groups

     MSb= SSb/ dfb
   MSw = SSw/ dfw

*SS isF = MSb/ squared deviations otherwise denoted S
   the sum of the MSw                                  2


                                                            26
Steps in One-Way ANOVA




                         27
Step 1: State Hypotheses
 There is no significant difference among
  the groups in variable x.
μ1 = μ2 = μ3 = μ4…
   There is a significant difference between
    at least two of the groups in variable x. In
    other words, at least one mean will
    significantly differ.

                                                   28
Step 2: Set the Criterion for
 Rejecting Ho
                           “Between” (k-1)




“Within”
(N – K)




                                         29
Practice with Table C.5, p. 640
 3 groups
 30 people
 df between = k – 1 = 3 – 1 = 2
 df within = N – k = 30 – 3 = 27
What is my critical value? Remember, if the
  actual value isn’t in the table, use the next
  lowest value to be conservative.


                                              30
Step 3: Compute Test Statistic
1. Calculate Correction Factor:
(T)2             total scores2
N              total number of scores
CF= (sum of each group)2 / total number of observations.

2. Calculate SSB: k = # of groups; n = number of scores
SSB = ∑ TK2 - Correction factor
        nk
Sum the total for each group and square / n . Subtract correction factor.

3. Calculate SST: Square each individual score. Sum the squared scores
   across all groups and subtract correction factor.

                                                                            31
Step 3: Compute Test Statistic

4. Calculate SS within:
SSW = SST – SSB

5. Calculate MSB and MSW
       = SS                    = SS
                                          K-1
     MS df
         W
                   W   N-K
                             MS df
                               B
                                      B


                   W                  B

6. Calculate the F ratio
     F = MS B
          -------
          MS   W
                                                32
Step 4: Compare Test Statistic to
Criterion
                        Like t, a large F value
                        indicates the
                        difference (or
                        treatment effect) is
                        unlikely due to
                        chance.
                        When F-ratio is close
                        to 1.0, it is likely that
                        the Ho is true.




                                                    33
Step 5: Make Decision
 Fail to reject the null hypothesis and
  conclude that there is no significant
  difference among the groups F(dfb,dfw) =
  insert F statistic, p > insert α.
 Reject the null hypothesis and conclude
  that there is a significant difference among
  the groups F(dfb,dfw) = insert F statistic, p <
  insert α.
                                                34
Interpreting Tables
      Treatment A    Treatment B        Treatment C
 M        2.5            6.0                0.5
 SE       .43            .58                0.22

                     N-K   K-1     ANOVA Summary SSb/dfb

Source                     SS      df      MS           F
Between treatments          93      2      46.5       41.02
Within treatments           17     15      1.13     MSb/MSw
Total                      110     17          SSw/dfw

                                         N-1              35
Suggested Study Cards
 Assumptions of ANOVA.
 EQUATION FOR ANOVA (slide 16 for
  components).
 Equation for Type I error rate (alpha
  inflation).
 Equation for different number of pairs
  available for testing.

                                           36

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

T test statistics
T test statisticsT test statistics
T test statistics
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Anova (f test) and mean differentiation
Anova (f test) and mean differentiationAnova (f test) and mean differentiation
Anova (f test) and mean differentiation
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
Non-Parametric Tests
Non-Parametric TestsNon-Parametric Tests
Non-Parametric Tests
 
Sign test
Sign testSign test
Sign test
 
Student t test
Student t testStudent t test
Student t test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Z test
Z testZ test
Z test
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 
Chi Square & Anova
Chi Square & AnovaChi Square & Anova
Chi Square & Anova
 
oneway ANOVA.ppt
oneway ANOVA.pptoneway ANOVA.ppt
oneway ANOVA.ppt
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Parametric & non parametric
Parametric & non parametricParametric & non parametric
Parametric & non parametric
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Anova and T-Test
Anova and T-TestAnova and T-Test
Anova and T-Test
 

Ähnlich wie One Way Anova

8 a class slides one way anova part 1
8 a class slides   one way anova part 18 a class slides   one way anova part 1
8 a class slides one way anova part 1
mjb70
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
galerussel59292
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
festockton
 
In Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docxIn Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docx
lanagore871
 

Ähnlich wie One Way Anova (20)

Ashish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech PRESENT TOPIC NURSING RESEARCHAshish Dadheech PRESENT TOPIC NURSING RESEARCH
Ashish Dadheech PRESENT TOPIC NURSING RESEARCH
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
8 a class slides one way anova part 1
8 a class slides   one way anova part 18 a class slides   one way anova part 1
8 a class slides one way anova part 1
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
mean comparison.pptx
mean comparison.pptxmean comparison.pptx
mean comparison.pptx
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
Applied statistics part 3
Applied statistics part 3Applied statistics part 3
Applied statistics part 3
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
ANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research MethodologyANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research Methodology
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametric
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
 
Analysis-of-Variance.pptx
Analysis-of-Variance.pptxAnalysis-of-Variance.pptx
Analysis-of-Variance.pptx
 
ANOVA II
ANOVA IIANOVA II
ANOVA II
 
In Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docxIn Unit 9, we will study the theory and logic of analysis of varianc.docx
In Unit 9, we will study the theory and logic of analysis of varianc.docx
 
One way repeated measure anova
One way repeated measure anovaOne way repeated measure anova
One way repeated measure anova
 
Full Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVAFull Lecture Presentation on ANOVA
Full Lecture Presentation on ANOVA
 
Statistical Tools
Statistical ToolsStatistical Tools
Statistical Tools
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 

Mehr von shoffma5

Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grant
shoffma5
 
Strawberrybanks
StrawberrybanksStrawberrybanks
Strawberrybanks
shoffma5
 
vocational curriculum
vocational curriculumvocational curriculum
vocational curriculum
shoffma5
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
shoffma5
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samples
shoffma5
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
shoffma5
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
shoffma5
 
Error And Power
Error And PowerError And Power
Error And Power
shoffma5
 
Variables
 Variables Variables
Variables
shoffma5
 
Standard Scores
Standard ScoresStandard Scores
Standard Scores
shoffma5
 
Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)
shoffma5
 
Validity And Reliabilty
Validity And ReliabiltyValidity And Reliabilty
Validity And Reliabilty
shoffma5
 
Objective Items
Objective ItemsObjective Items
Objective Items
shoffma5
 
Multiple Choice Golden Rules
Multiple Choice Golden RulesMultiple Choice Golden Rules
Multiple Choice Golden Rules
shoffma5
 
Learning Objectives 1
Learning Objectives 1Learning Objectives 1
Learning Objectives 1
shoffma5
 
Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)
shoffma5
 
Grading 101
Grading 101Grading 101
Grading 101
shoffma5
 
Authentic Assessment
Authentic AssessmentAuthentic Assessment
Authentic Assessment
shoffma5
 
Ss,Ch7review
Ss,Ch7reviewSs,Ch7review
Ss,Ch7review
shoffma5
 

Mehr von shoffma5 (20)

Dte Energy Grant
Dte Energy GrantDte Energy Grant
Dte Energy Grant
 
Strawberrybanks
StrawberrybanksStrawberrybanks
Strawberrybanks
 
vocational curriculum
vocational curriculumvocational curriculum
vocational curriculum
 
Dependent T Test
Dependent T TestDependent T Test
Dependent T Test
 
T Test For Two Independent Samples
T Test For Two Independent SamplesT Test For Two Independent Samples
T Test For Two Independent Samples
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
 
Error And Power
Error And PowerError And Power
Error And Power
 
Variables
 Variables Variables
Variables
 
Standard Scores
Standard ScoresStandard Scores
Standard Scores
 
Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)Calculating Standard Deviation (Sample)
Calculating Standard Deviation (Sample)
 
Validity And Reliabilty
Validity And ReliabiltyValidity And Reliabilty
Validity And Reliabilty
 
Objective Items
Objective ItemsObjective Items
Objective Items
 
Multiple Choice Golden Rules
Multiple Choice Golden RulesMultiple Choice Golden Rules
Multiple Choice Golden Rules
 
Learning Objectives 1
Learning Objectives 1Learning Objectives 1
Learning Objectives 1
 
Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)Learning Objectives (Taxonomy)
Learning Objectives (Taxonomy)
 
Grading 101
Grading 101Grading 101
Grading 101
 
Essays
EssaysEssays
Essays
 
Authentic Assessment
Authentic AssessmentAuthentic Assessment
Authentic Assessment
 
Ss,Ch7review
Ss,Ch7reviewSs,Ch7review
Ss,Ch7review
 

Kürzlich hochgeladen

unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Abortion pills in Kuwait Cytotec pills in Kuwait
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
 

Kürzlich hochgeladen (20)

Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 

One Way Anova

  • 1. Where are we and where are we going? Purpose IV DV Inferential Test Test if sample representative of the X Continuous One Sample Case Z-test (μ and σ population known) Test if sample representative of the X Continuous One Sample Case t-test (σ population unknown) Test differences Dichotomous Continuous Independent (or dependent) t-test Test differences Categorical Continuous One-Way ANOVA (2+ groups) Test relationship Continuous Continuous Pearson Correlation Test relationship Dichotomous Continuous Point Biserial Test if observed frequencies fit Categorical Categorical Chi-Square Test of Goodness-of-Fit expected frequencies Test relationship Categorical Categorical Chi-Square Test of Independence/Association 1
  • 2. Week 12: One-way Analysis of Variance (ANOVA) 2
  • 3. One-Way ANOVA Definition  A One-Way ANOVA is used when comparing two or more group means on a continuous dependent variable.  The independent t-test is a special case of the One- Way ANOVA for situations where there are only two group means. 3
  • 4. One-Way ANOVA Definition Con’t.  Therefore, if there are only two groups, an Independent t-test is a shortcut to using a One-Way ANOVA, but provides the same results. It is an extension of Independent t-test.  For situations involving more than two groups, a One- Way ANOVA must be used. 4
  • 5. Types of Variables for One-Way ANOVA  The IV is categorical. This categorical IV can be dichotomous (i.e., two groups) or it can have more than two groups (i.e., three or more groups).  The DV is continuous  Data are collected on both variables for each person in the study. 5
  • 6. Examples of Research Questions for One-Way ANOVA  Is there a significant difference among freshmen, sophomores, and juniors on college GPA? OR Is there a significant difference in GPA by class level? Note that GPA is continuous and class standing is categorical (freshmen, sophomores, or juniors)  Is there a significant difference in student attitudes toward the course between students who pass or fail a course? Note that student attitude is continuous and passing a course is dichotomous (pass/fail). Because the IV has only two groups, an independent t-test or rpb could also be used here. 6
  • 7. Examples of Research Questions for One-Way ANOVA  Does student satisfaction significantly differ by location of institution (rural, urban, suburban)? Note that student satisfaction is continuous and institution location is categorical. 7
  • 8. More Research Questions  Is there a significant difference in weight loss when dieting, exercising, and dieting and exercising?  Is there a significant difference in child’s self- esteem by parenting style (authoritative, permissive, and authoritarian)?  Is there a significant difference among those who condition, blow-dry, or only shampoo in hair frizziness? 8
  • 9. Why not do multiple t-tests?  Doing separate t-tests inflates Type I error rate.  An ANOVA controls the overall error by testing all group means against each other at once, so your alpha remains at, for instance .05. 9
  • 10. Why not do multiple t-tests? We need to compare: Sample 1 vs. Sample 2 Sample 1 vs. Sample 3 Sample 2 vs. Sample 3 So we need to perform 3 t-tests!  Any experiment with k groups has k X (k-1)/2 different pairs available for testing.  k=3  k X (3-1) / 2 =  k X 3 (2/2) = 3(1) = 3 different pairs available for testing 10
  • 11. Type I error rate inflate: Type I Error Rate Inflate  Sample 1 vs. Sample 2 α = .05  Sample 2 vs. Sample 3 α = .05  Sample 2 vs. Sample 3 α = .05 If alpha = .05 for each test, times 3 tests, the new probability of a Type I error is about 0.15 now! Type I error rate: 1-(1-α)c Whereby: α = alpha for each separate t-test c = number of t-tests 11
  • 12. Type I error rate inflate: Type I Error Rate Table Error rates with repeated t-tests 12 Retrieved from espse.ed.psu.edu/edpsych
  • 13. Assumptions rate inflate: Type I error  The populations from which the samples were obtained must be normally or approximately normally distributed.  The samples must be independent.  The variances of the populations must be equal. 13
  • 14. Major Concepts: Calculating Sums of Squares  The One-Way ANOVA separates the total variance (hence the term – analysis of variance) in the continuous dependent variable into two components: variability between the groups and variability within the groups.  Variability between the groups is calculated by first obtaining the sums of squares between groups (SSb), or the sum of the squared differences between each individual group mean from the grand mean.  Variability within the groups is calculated by first obtaining the sums of squares within groups (SSw) or the sum of the squared differences between each individual score and that individual’s group mean. 14
  • 15. Major Concepts: Calculating Sums of Squares  The linear model, conceptually, is: SSt = SSb + SSw, where SSt is the total sums of squares. Note the simplicity of statistical models: They are linear depictions of phenomena, splitting variability into (1) what we can measure systematically (differences between groups) and (2) what we can’t explain or account for systematically (differences within groups).  Variability within the groups is random variance or noise; it reflects individual differences from the group mean and sometimes prevents us from seeing difference between groups.  Variability between the groups is systematic variance, it reflects differences among the groups due to the experimental treatment or characteristics of group membership. 15
  • 16. Major Concepts: One-Way ANOVA as a ratio of variances  Formula for variance: Σ( x - x ) 2 σ 2 = N −1  We can see that the numerator is a sum of squared values (or a sums of squares), and the denominator is the degrees of freedom. Thus, the formula can be re- written as: σ = SS 2 df 16
  • 17. Major Concepts: Variance Components in ANOVA  The Analysis of Variance (ANOVA) analyzes the ratio of the variance between groups (i.e., how far apart the group means are from one another) to the variance within the groups (i.e., how much variability there is among the scores within a single group).  In ANOVA, these variances, formerly known to us as σ2, are referred as mean squares (MS) or the average of the sums of squares (SS/df).  Thus, a mean square between is simply the variance between groups obtained by a sums of squares divided by degrees of freedom (SSb/dfb).  Likewise, a mean square within is simply the variance within the groups also obtained by a sums of squares divided by degrees of freedom (SSw/dfw). Both are shown below: SSb SS w MSb = MSw = df b df w 17
  • 18. Table 1. Scores and means of the comparison groups and the total group Between Method 1 2 3 1 8 7 4 6 6 3 7 4 2 4 9 5 3 8 1 5 5 6 7 Within 5 Within Within n 7 6 8 mean 3.14 5.50 6.38 18
  • 19. Partitioning the Variance Within Between 19
  • 20. Major Concepts: Factors that Affect Significance  The MSb and the MSw are then divided to obtain the F ratio for hypothesis testing, i.e., F is the ratio of MSb and the MSw MSb F= MS w  As in all statistical tests, the larger the numerator (for example, the larger the difference between groups), the larger the test statistic (whether it be r, t, or F), and the more likely we are to reject the null hypothesis.  Also, the smaller the denominator (the less variability among people in a group), the larger the test statistic, and the more likely we are to reject the null hypothesis. 20
  • 21. Major Concepts: Factors that Affect Significance  The diagrams below show the impact of increasing the numerator of the test statistic. Note that the within group variability (the denominator of the equation) is the same in situations A and B. However, the between group variability is greater in A than it is in B. This means that the F ratio for A will be larger than for B, and thus is more likely to be significant. 21
  • 22. Major Concepts: Factors that Affect Significance  The diagrams below show the impact of decreasing the denominator of the test statistic. Note that the between group variability (the difference between group means) is the same in situations C and D. However, the within group variability is greater in D than it is in C. This means that the F ratio for C will be larger than for D, and thus is more likely to be significant. 22
  • 23. Major Concepts: t2 = F  Diagrams A through D on the previous slides could also be used to illustrate the t statistic. As two groups differ more in their means (increase in numerator and effect size), the larger the value of t and the more likely we are to find significant results.  The lower the within-group variability (decrease in noise), the smaller the denominator and the more likely we are to find significance. This analogy can be made to ANOVA because t is just a special case of ANOVA when only two groups comprise the independent variable.  We are familiar with the t distribution as normally distributed (for large df), with positive and negative values. The F statistic, on the other hand, is positively skewed, and is comprised of squared values. Thus, for any two group situation, t2 = F. 23
  • 24. Distribution of F ratio  F distribution is positively skewed.  If F statistic falls near 1.0, then most likely the null is true.  If F statistic is large, expect null is false. Thus, significant F ratios will be in the tail of the F distribution. 24
  • 25. SPSS Example of One-Way ANOVA 25
  • 26. Summary of Calculations  dfb groups = k – 1 where k is # of groups  dfw groups = N – k where N is total # of individuals in groups  MSb= SSb/ dfb  MSw = SSw/ dfw *SS isF = MSb/ squared deviations otherwise denoted S  the sum of the MSw 2 26
  • 27. Steps in One-Way ANOVA 27
  • 28. Step 1: State Hypotheses  There is no significant difference among the groups in variable x. μ1 = μ2 = μ3 = μ4…  There is a significant difference between at least two of the groups in variable x. In other words, at least one mean will significantly differ. 28
  • 29. Step 2: Set the Criterion for Rejecting Ho “Between” (k-1) “Within” (N – K) 29
  • 30. Practice with Table C.5, p. 640  3 groups  30 people  df between = k – 1 = 3 – 1 = 2  df within = N – k = 30 – 3 = 27 What is my critical value? Remember, if the actual value isn’t in the table, use the next lowest value to be conservative. 30
  • 31. Step 3: Compute Test Statistic 1. Calculate Correction Factor: (T)2 total scores2 N total number of scores CF= (sum of each group)2 / total number of observations. 2. Calculate SSB: k = # of groups; n = number of scores SSB = ∑ TK2 - Correction factor nk Sum the total for each group and square / n . Subtract correction factor. 3. Calculate SST: Square each individual score. Sum the squared scores across all groups and subtract correction factor. 31
  • 32. Step 3: Compute Test Statistic 4. Calculate SS within: SSW = SST – SSB 5. Calculate MSB and MSW = SS = SS K-1 MS df W W N-K MS df B B W B 6. Calculate the F ratio F = MS B ------- MS W 32
  • 33. Step 4: Compare Test Statistic to Criterion Like t, a large F value indicates the difference (or treatment effect) is unlikely due to chance. When F-ratio is close to 1.0, it is likely that the Ho is true. 33
  • 34. Step 5: Make Decision  Fail to reject the null hypothesis and conclude that there is no significant difference among the groups F(dfb,dfw) = insert F statistic, p > insert α.  Reject the null hypothesis and conclude that there is a significant difference among the groups F(dfb,dfw) = insert F statistic, p < insert α. 34
  • 35. Interpreting Tables Treatment A Treatment B Treatment C M 2.5 6.0 0.5 SE .43 .58 0.22 N-K K-1 ANOVA Summary SSb/dfb Source SS df MS F Between treatments 93 2 46.5 41.02 Within treatments 17 15 1.13 MSb/MSw Total 110 17 SSw/dfw N-1 35
  • 36. Suggested Study Cards  Assumptions of ANOVA.  EQUATION FOR ANOVA (slide 16 for components).  Equation for Type I error rate (alpha inflation).  Equation for different number of pairs available for testing. 36