SlideShare une entreprise Scribd logo
1  sur  19
Again and again
Dr David Playfoot
d.r.playfoot@swansea.ac.uk
Friedman test
• 3 or more scores from the same participants
• Builds on the Wilcoxon signed ranks test
• Uses ordinal data (ranks)
Wilcoxon Signed Ranks
Church member Pre-Orgazmo Post-Orgazmo Difference Rank of
difference
A 3 7 4 5
B 12 18 6 8
C 9 5 -4 5
D 7 7 0
E 8 12 4 5
F 1 5 4 5
G 15 16 1 1
H 10 12 2 2
I 11 15 4 5
J 10 17 7 9
Data from Lecture 4
Wilcoxon Signed Ranks
Church member Pre-Orgazmo Post-Orgazmo Difference Rank of
difference
A 3 7 4 5
B 12 18 6 8
C 9 5 -4 5
D 7 7 0
E 8 12 4 5
F 1 5 4 5
G 15 16 1 1
H 10 12 2 2
I 11 15 4 5
J 10 17 7 9
Data from Lecture 4
Calculate a difference between before
and after scores
Wilcoxon Signed Ranks
Church member Pre-Orgazmo Post-Orgazmo Difference Rank of
difference
A 3 7 4 5
B 12 18 6 8
C 9 5 -4 5
D 7 7 0
E 8 12 4 5
F 1 5 4 5
G 15 16 1 1
H 10 12 2 2
I 11 15 4 5
J 10 17 7 9
Data from Lecture 4
Rank those differences from smallest to
largest
Friedman test
• We can’t do that with three conditions and
get a meaningful answer
• So instead of calculating the differences and
ranking them…
• …we rank the scores and look for differences
Friedman test
• Imagine playing a group of participants the
same song on 3 separate occasions
• After each time we get a rating of how much
they like the song out of 5
• Data looks like this…
Participant First listen Second listen Third listen
A 1 3 5
B 2 4 5
C 2 3 2
D 1 1 5
E 1 4 5
F 1 2 5
G 2 3 5
H 1 4 4
I 3 1 5
J 1 3 5
Friedman test
• RANK WITHIN PARTICIPANTS!!!
• DO NOT RANK ALL SCORES AT ONCE!!!
• DO NOT RANK DOWN COLUMNS!!!
• DEAL WITH TIES AS USUAL
Participant First listen Rank1 Second listen Rank2 Third listen Rank3
A 1 1 3 2 5 3
B 2 1 4 2 5 3
C 2 1.5 3 3 2 1.5
D 1 1.5 1 1.5 5 3
E 1 1 4 2 5 3
F 1 1 2 2 5 3
G 2 1 3 2 5 3
H 1 1 4 2.5 4 2.5
I 3 2 1 1 5 3
J 1 1 3 2 5 3
Friedman test
Participant First listen Rank1 Second listen Rank2 Third listen Rank3
A 1 1 3 2 5 3
B 2 1 4 2 5 3
C 2 1.5 3 3 2 1.5
D 1 1.5 1 1.5 5 3
E 1 1 4 2 5 3
F 1 1 2 2 5 3
G 2 1 3 2 5 3
H 1 1 4 2.5 4 2.5
I 3 2 1 1 5 3
J 1 1 3 2 5 3
Total =
12
Total =
20
Total =
28
Friedman test
• In Kruskal-Wallis we calculated 2 estimates of the variance
in the population.
• If null hypothesis true then estimates are equal
• We do the same kind of thing in Friedman (very similar
formula too)
Sum of squares, between groups, as determined using ranks
Friedman
• In Kruskal-Wallis we calculated 2 estimates of the variance
in the population.
• If null hypothesis true then estimates are equal
• We do the same kind of thing in Friedman (very similar
formula too)
Sum of the squared total ranks per condition, divided by the
number of participants
Friedman
• In Kruskal-Wallis we calculated 2 estimates of the variance
in the population.
• If null hypothesis true then estimates are equal
• We do the same kind of thing in Friedman (very similar
formula too)
Sum of the squared total of all ranks, divided by the number
of participants x the number of conditions
Friedman
Friedman
• First listen
• Sum of ranks = 12
• Second listen
• Sum of ranks = 20
• Third listen
• Sum of ranks = 28
122+202+ 282
10
= 132.8
Friedman
• First listen
• Sum of ranks = 12
• Second listen
• Sum of ranks = 20
• Third listen
• Sum of ranks = 28
12+20+28 2
10 × 3
=120
Friedman
132.8 120
Friedman
132.8 120
SSbg(R) = 12.8
Friedman
• Figure out Χ2
SSbg(R)
k(k+1)/12
• Where k is the number of conditions
• H = 12.8/1
• H = 12.8
• Bigger the Χ2, the less likely it is that the ranks are
distributed as you’d expect if there were no differences
between conditions

Contenu connexe

Tendances

Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)Keiko Ono
 
Test for equal variances
Test for equal variancesTest for equal variances
Test for equal variancesJohn Smith
 
Two-factor Mixed MANOVA with SPSS
Two-factor Mixed MANOVA with SPSSTwo-factor Mixed MANOVA with SPSS
Two-factor Mixed MANOVA with SPSSJ P Verma
 
Case study using one way ANOVA
Case study using one way ANOVACase study using one way ANOVA
Case study using one way ANOVANadzirah Hanis
 
Anova randomized block design
Anova randomized block designAnova randomized block design
Anova randomized block designIrfan Hussain
 
Chi square test for homgeneity
Chi square test for homgeneityChi square test for homgeneity
Chi square test for homgeneityamylute
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of varianceAya Christeen
 
Str f-test
Str   f-testStr   f-test
Str f-testiamkim
 
Anova Presentation
Anova PresentationAnova Presentation
Anova PresentationWyena Cheah
 
Factor analysis using spss 2005
Factor analysis using spss 2005Factor analysis using spss 2005
Factor analysis using spss 2005jamescupello
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVASaumya Bhatnagar
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)Marianne Maluyo
 
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...Satish Khadia
 
Anova single factor
Anova single factorAnova single factor
Anova single factorDhruv Patel
 
Multiplicity, how to deal with the testing of more than one hypothesis.
Multiplicity, how to deal with the testing of more than one hypothesis.Multiplicity, how to deal with the testing of more than one hypothesis.
Multiplicity, how to deal with the testing of more than one hypothesis.Gaetan Lion
 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbhRione Drevale
 
parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova Tess Anoza
 

Tendances (19)

Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)Quantitative method compare means test (independent and paired)
Quantitative method compare means test (independent and paired)
 
ANALYSIS OF VARIANCE (ANOVA)
ANALYSIS OF VARIANCE (ANOVA)ANALYSIS OF VARIANCE (ANOVA)
ANALYSIS OF VARIANCE (ANOVA)
 
Test for equal variances
Test for equal variancesTest for equal variances
Test for equal variances
 
Two-factor Mixed MANOVA with SPSS
Two-factor Mixed MANOVA with SPSSTwo-factor Mixed MANOVA with SPSS
Two-factor Mixed MANOVA with SPSS
 
Case study using one way ANOVA
Case study using one way ANOVACase study using one way ANOVA
Case study using one way ANOVA
 
Anova randomized block design
Anova randomized block designAnova randomized block design
Anova randomized block design
 
Chi square test for homgeneity
Chi square test for homgeneityChi square test for homgeneity
Chi square test for homgeneity
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Str f-test
Str   f-testStr   f-test
Str f-test
 
Anova Presentation
Anova PresentationAnova Presentation
Anova Presentation
 
Factor analysis using spss 2005
Factor analysis using spss 2005Factor analysis using spss 2005
Factor analysis using spss 2005
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVA
 
f and t test
f and t testf and t test
f and t test
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
 
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
Analysis of Variance (ANOVA), MANOVA: Expected variance components, Random an...
 
Anova single factor
Anova single factorAnova single factor
Anova single factor
 
Multiplicity, how to deal with the testing of more than one hypothesis.
Multiplicity, how to deal with the testing of more than one hypothesis.Multiplicity, how to deal with the testing of more than one hypothesis.
Multiplicity, how to deal with the testing of more than one hypothesis.
 
Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
 
parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova parametric test of difference z test f test one-way_two-way_anova
parametric test of difference z test f test one-way_two-way_anova
 

Plus de drplayfoot

Ultimate fighting chi square
Ultimate fighting chi squareUltimate fighting chi square
Ultimate fighting chi squaredrplayfoot
 
The Great Dividers
The Great DividersThe Great Dividers
The Great Dividersdrplayfoot
 
Transformers: Data in Disguise
Transformers: Data in DisguiseTransformers: Data in Disguise
Transformers: Data in Disguisedrplayfoot
 
All I want for Christmas is U
All I want for Christmas is UAll I want for Christmas is U
All I want for Christmas is Udrplayfoot
 
Don't worry, you can't go blind from ranking
Don't worry, you can't go blind from rankingDon't worry, you can't go blind from ranking
Don't worry, you can't go blind from rankingdrplayfoot
 
Standard error and sample size
Standard error and sample sizeStandard error and sample size
Standard error and sample sizedrplayfoot
 
Correlation recap
Correlation recapCorrelation recap
Correlation recapdrplayfoot
 
Conor, Khabib and chi square
Conor, Khabib and chi squareConor, Khabib and chi square
Conor, Khabib and chi squaredrplayfoot
 
Excel formulae
Excel formulaeExcel formulae
Excel formulaedrplayfoot
 

Plus de drplayfoot (9)

Ultimate fighting chi square
Ultimate fighting chi squareUltimate fighting chi square
Ultimate fighting chi square
 
The Great Dividers
The Great DividersThe Great Dividers
The Great Dividers
 
Transformers: Data in Disguise
Transformers: Data in DisguiseTransformers: Data in Disguise
Transformers: Data in Disguise
 
All I want for Christmas is U
All I want for Christmas is UAll I want for Christmas is U
All I want for Christmas is U
 
Don't worry, you can't go blind from ranking
Don't worry, you can't go blind from rankingDon't worry, you can't go blind from ranking
Don't worry, you can't go blind from ranking
 
Standard error and sample size
Standard error and sample sizeStandard error and sample size
Standard error and sample size
 
Correlation recap
Correlation recapCorrelation recap
Correlation recap
 
Conor, Khabib and chi square
Conor, Khabib and chi squareConor, Khabib and chi square
Conor, Khabib and chi square
 
Excel formulae
Excel formulaeExcel formulae
Excel formulae
 

Dernier

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Dernier (20)

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

Non-parametric earworms using Friedman test

  • 1. Again and again Dr David Playfoot d.r.playfoot@swansea.ac.uk
  • 2. Friedman test • 3 or more scores from the same participants • Builds on the Wilcoxon signed ranks test • Uses ordinal data (ranks)
  • 3. Wilcoxon Signed Ranks Church member Pre-Orgazmo Post-Orgazmo Difference Rank of difference A 3 7 4 5 B 12 18 6 8 C 9 5 -4 5 D 7 7 0 E 8 12 4 5 F 1 5 4 5 G 15 16 1 1 H 10 12 2 2 I 11 15 4 5 J 10 17 7 9 Data from Lecture 4
  • 4. Wilcoxon Signed Ranks Church member Pre-Orgazmo Post-Orgazmo Difference Rank of difference A 3 7 4 5 B 12 18 6 8 C 9 5 -4 5 D 7 7 0 E 8 12 4 5 F 1 5 4 5 G 15 16 1 1 H 10 12 2 2 I 11 15 4 5 J 10 17 7 9 Data from Lecture 4 Calculate a difference between before and after scores
  • 5. Wilcoxon Signed Ranks Church member Pre-Orgazmo Post-Orgazmo Difference Rank of difference A 3 7 4 5 B 12 18 6 8 C 9 5 -4 5 D 7 7 0 E 8 12 4 5 F 1 5 4 5 G 15 16 1 1 H 10 12 2 2 I 11 15 4 5 J 10 17 7 9 Data from Lecture 4 Rank those differences from smallest to largest
  • 6. Friedman test • We can’t do that with three conditions and get a meaningful answer • So instead of calculating the differences and ranking them… • …we rank the scores and look for differences
  • 7. Friedman test • Imagine playing a group of participants the same song on 3 separate occasions • After each time we get a rating of how much they like the song out of 5 • Data looks like this…
  • 8. Participant First listen Second listen Third listen A 1 3 5 B 2 4 5 C 2 3 2 D 1 1 5 E 1 4 5 F 1 2 5 G 2 3 5 H 1 4 4 I 3 1 5 J 1 3 5 Friedman test
  • 9. • RANK WITHIN PARTICIPANTS!!! • DO NOT RANK ALL SCORES AT ONCE!!! • DO NOT RANK DOWN COLUMNS!!! • DEAL WITH TIES AS USUAL
  • 10. Participant First listen Rank1 Second listen Rank2 Third listen Rank3 A 1 1 3 2 5 3 B 2 1 4 2 5 3 C 2 1.5 3 3 2 1.5 D 1 1.5 1 1.5 5 3 E 1 1 4 2 5 3 F 1 1 2 2 5 3 G 2 1 3 2 5 3 H 1 1 4 2.5 4 2.5 I 3 2 1 1 5 3 J 1 1 3 2 5 3 Friedman test
  • 11. Participant First listen Rank1 Second listen Rank2 Third listen Rank3 A 1 1 3 2 5 3 B 2 1 4 2 5 3 C 2 1.5 3 3 2 1.5 D 1 1.5 1 1.5 5 3 E 1 1 4 2 5 3 F 1 1 2 2 5 3 G 2 1 3 2 5 3 H 1 1 4 2.5 4 2.5 I 3 2 1 1 5 3 J 1 1 3 2 5 3 Total = 12 Total = 20 Total = 28 Friedman test
  • 12. • In Kruskal-Wallis we calculated 2 estimates of the variance in the population. • If null hypothesis true then estimates are equal • We do the same kind of thing in Friedman (very similar formula too) Sum of squares, between groups, as determined using ranks Friedman
  • 13. • In Kruskal-Wallis we calculated 2 estimates of the variance in the population. • If null hypothesis true then estimates are equal • We do the same kind of thing in Friedman (very similar formula too) Sum of the squared total ranks per condition, divided by the number of participants Friedman
  • 14. • In Kruskal-Wallis we calculated 2 estimates of the variance in the population. • If null hypothesis true then estimates are equal • We do the same kind of thing in Friedman (very similar formula too) Sum of the squared total of all ranks, divided by the number of participants x the number of conditions Friedman
  • 15. Friedman • First listen • Sum of ranks = 12 • Second listen • Sum of ranks = 20 • Third listen • Sum of ranks = 28 122+202+ 282 10 = 132.8
  • 16. Friedman • First listen • Sum of ranks = 12 • Second listen • Sum of ranks = 20 • Third listen • Sum of ranks = 28 12+20+28 2 10 × 3 =120
  • 19. Friedman • Figure out Χ2 SSbg(R) k(k+1)/12 • Where k is the number of conditions • H = 12.8/1 • H = 12.8 • Bigger the Χ2, the less likely it is that the ranks are distributed as you’d expect if there were no differences between conditions