SlideShare una empresa de Scribd logo
1 de 34
Lecture objective
• Nonparametric tests
• Friedman’s test
– History
– When to uses
– Assumptions
– Basic idea
– Examples
– How to run it in SPSS
NON PARAMETRIC TESTS
FRIEDMAN’s TEST
Non Parametric tests
• A nonparametric test is one that is performed
without making any restrictive assumptions
about the form of the population distribution
and associated parameters.
• It provide alternatives to parametric test &
has many advantages and disadvantages..
Friedman’s test
• Friedman test is a non parametric statistical
method developed by Dr. Milton Friedman
Dr. Milton Friedman
Born July 31, 1912
Died November 16, 2006 (aged 94)
Contributions:
• Price theory (monetarism)
• Applied macroeconomics
• Floating exchange rates
• Permanent income hypothesis
• Volunteer military. Friedman test
Awards:
• National medal of science (1988)
• President medal of freedom (1988)
• Nobel memorial prize in economic
sciences(1976)
• John bates clark medal (1951)
FRIEDMAN’s TEST
• The Friedman test is a non-parametric alternative to
ANOVA with repeated measures.
• It is used to test for differences between groups
when the dependent variable being measured is
ordinal.
• The Friedman test tests the Null hypothesis of
identical populations for dependent data.
• The test is similar to the Kruskal-Wallis Test.
• It uses only the rank information of the data.
Assumptions
• 1. The r blocks are independent so that the
measurements in one block have no influence on
the measurements in any other block.
• 2. The underlying random variable of interest is
continuous (to avoid ties).
• 3. The observed data constitute at least an
ordinal scale of measurement within each of the r
blocks.
• 4. There is no interaction between the m blocks
and the k treatment levels.
• 5. The c populations have the same variability.
• 6. The c populations have the same shape.
Steps involved in testing
• 1) Formulation of hypothesis
• 2) Significance level
• 3) Test statistics
• 4) Calculations
• 5) Critical region
• 6) Conclusion
1) Formulation of hypothesis
we check the equality of means of
different treatments as in ANOVA, the null
hypothesis will be stated as:
Ho= M1=M2=……=Mk
H1= not all medians are equal
• 2) Level of significance:
it is selected as given if not given 0.05 is
taken.
• 3) Test statistics:
where R.j
2 is the square of the rank total for
group j (j = 1, 2, . . . , c)
m is the number of independent blocks
k is the number of groups or treatment levels
4) Calculations:
• Start with n rows and k columns.
• Rank order the entries of each row
independently of the other rows.
• Sum the ranks for each column.
• Sum the squared column totals.
• Using test statistic calculate the value of Q.
5) Critical region:
Reject H0 if Q ≥ critical value at α= 5%
If the values of k and/or n exceed those given in
tables, the significance of Q may be looked up in
chi-squared (χ2) distribution tables with k-1
degrees of freedom.
6) Conclusion:
• If the value of Q is less than the critical value
then we’ll not reject H0.
• If the value of Q is greater than the critical
value then we’ll reject H0.
Example 1:
The manager of a nationally known real estate agency
has just completed a training session on appraisals for
three newly hired agents. To evaluate the effectiveness of
his training, the manager wishes to determine whether
there is any difference in the appraised values placed on
houses by these three different individuals. A sample of
12 houses is selected by the manager, and each agent is
assigned the task of placing an appraised value (in
thousands of dollars) on the 12 houses. The results are
summarized as follows.
At the 0.05 level of significance, use the Friedman rank test to
determine whether there is evidence of a difference in the
median appraised value for the three agents. What can you
conclude?
Houses Agent1 Agent 2 Agent 3
1 181.0 182.0 183.5
2 179.9 180.0 182.4
3 163.0 161.5 164.1
4 218.0 215.0 217.3
5 213.0 216.5 218.4
6 175.0 175.0 216.1
7 217.9 219.5 220.1
8 151.0 150.0 152.4
9 164.9 165.5 166.1
10 192.5 195.0 197.0
11 225.0 222.7 226.4
12 177.5 178.0 179.7
Solution:
1) Formulation of hypothesis:
H0 : M1=M2=M3
H1 : Not all medians are equal
2) Level of significance:
α=0.05
3) Test statistics:
4) Calculation:
k=3 m=12
Q=159.29-144
Q=15.29
Houses Agent1 Agent 2 Agent 3
1 181.0 1 182.0 2 183.5 3
2 179.9 1 180.0 2 182.4 3
3 163.0 2 161.5 1 164.1 3
4 218.0 3 215.0 1 217.3 2
5 213.0 1 216.5 2 218.4 3
6 175.0 1.5 175.0 1.5 216.1 3
7 217.9 1 219.5 2 220.1 3
8 151.0 2 150.0 1 152.4 3
9 164.9 1 165.5 2 166.1 3
10 192.5 1 195.0 2 197.0 3
11 225.0 2 222.7 1 226.4 3
12 177.5 1 178.0 2 179.7 3
Sum of
ranks
17.5 19.5 35
𝑄 =
12
12×3(3+1)
(17.52+19.52+352)-3х12(3+1)
5) Critical region:
Reject H0 if Q > critical value at 5% level of
significance.
Q tab=6.5
6) Conclusion:
we reject H0, as Qcal ≥ Qtab, and hence conclude
that the appraising ability of three agents are
not the same.
Example 2:
A water company sought
evidence the measures
taken to clean up a river
were effective. Biological
Oxygen Demand (BOD) at
12 sites on the river were
compared before clean
up, 1 month later and a
year after clean up.
Solution:
1) Formulation of hypothesis:
H0 : The clean up procedure has had no effect on the BOD.
H1 : The clean up procedure has affected the BOD.
2) Level of significance:
α=0.05
3) Test statistics:
4) Calculations:
m=12, k=3
Q=8.43
𝑄 =
12
12×3(3+1)
(322+22.52+17.52)-3х12(3+1)
5) Critical region:
Reject H0 if Q > critical value at 5% level of
significance.
Q tab=6.5
6) Conclusion:
As Qcal ≥ Qtab so we will reject H0, hence
conclude that the cleanup procedure has
effected the BOD.
Question 1:
The following data on amount of food consumed (g) by
eight rats after 0, 24, and 72 hours of food deprivation
appeared in the paper “The Relation Between Differences in
Level of Food Deprivation and Dominance in Food Getting in
the Rat”. Does the data indicate a difference in the true mean
rank of food consumption for the three experimental
conditions?
Question 2:
The venerable auction house of Snootly &
Snobs will soon be putting three fine 17th-
and 18th-century violins, A,B, and C, up for
bidding. A certain musical arts foundation,
wishing to determine which of these
instruments to add to its collection, arranges
to have them played by each of 10 concert
violinists. The players are blindfolded, so that
they cannot tell which violin is which; and
each plays the violins in a randomly
determined sequence (BCA, ACB, etc.).
Question 3
In this analysis the one variable is the type of animal (fish,
reptiles, or mammals), and the response variable is the
number of animals on display. From our database, we use
three variables reptnum (number of reptiles on display),
fishnum (number of fish on display) and mamlnum
(number of mammals on display). These scores are
shown for the 12 stores below(reptnum, fishnum,
mamlnum ).
• 12,32,34 14,41,38 15,31,45 12,38,32 7,21,12
4,13,11 10,17,22 4,22,9 14,24,20 4,11,8 5,17,19
10,20,8
We have to check that whether the pet shop display same
number of pets.
Question
• Suppose for example we want to find out if
students have a preference for one type of soda
over others. They are blindfolded and given a
taste test. They are asked to take a sip of Brand X,
Brand Y and Brand Z sodas and to rank order their
preference for the three sodas where a 1 is the
highest rank, a 2 the next highest and a 3 the
least preferred soda. The data representing the
rankings given by each participant to the three
sodas are:
• Participants’ Rankings of the Three Brands of
Soda
Participant Brand X Brand Y Brand Z
1 2 1 3
2 1 3 2
3 1 2 3
4 1 3 2
5 1 3 2
6 1 2 3
7 1 3 2
8 1 2 3
9 1 3 2
10 2 1 3
SPSS method
Enter ranks for each sample in different columns and then data
analysis is done.
Data Analysis
• 1. Click on Analyze at top of screen then
• a. Click on Non-Parametric Tests then
• b. Click on K Related Samples
• 2. Highlight Brand x by clicking on it then
• a. Click on arrow > to transfer this name to the Test Variable Box
• 3. Highlight Brand y by clicking on it then
• a. Click on arrow > to transfer this name to the Test Variable Box
• 4. Highlight Brand z by clicking on it then
• a. Click on arrow > to transfer this name to the Test Variable Box
• 5. If one the white square next Friedman is not already checked, click on it to place a check mark
there
• 6. Click on Statistics button at bottom corner of screen
• a. Click on white square next to Descriptive to place a check mark in the box
• b. Click on continue button
• 7. Click OK. Doing this will result in analysis being conducted. These results are below.
Friedman's test

Más contenido relacionado

La actualidad más candente (20)

Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
PEARSON'CORRELATION
PEARSON'CORRELATION PEARSON'CORRELATION
PEARSON'CORRELATION
 
One Way Anova
One Way AnovaOne Way Anova
One Way Anova
 
Kruskal Wallis test, Friedman test, Spearman Correlation
Kruskal Wallis test, Friedman test, Spearman CorrelationKruskal Wallis test, Friedman test, Spearman Correlation
Kruskal Wallis test, Friedman test, Spearman Correlation
 
Regression
RegressionRegression
Regression
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
The mann whitney u test
The mann whitney u testThe mann whitney u test
The mann whitney u test
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Advance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank TestAdvance Statistics - Wilcoxon Signed Rank Test
Advance Statistics - Wilcoxon Signed Rank Test
 
Z test
Z testZ test
Z test
 
Standard error of the mean
Standard error of the meanStandard error of the mean
Standard error of the mean
 
T test statistics
T test statisticsT test statistics
T test statistics
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 

Destacado

Friedman two way analysis of variance by
Friedman two way analysis of  variance byFriedman two way analysis of  variance by
Friedman two way analysis of variance byIybaro Reyes
 
What is a Friedman Test?
What is a Friedman Test?What is a Friedman Test?
What is a Friedman Test?Ken Plummer
 
It Presentation
It PresentationIt Presentation
It Presentation11hr
 
What is a distribution (Update - 2.0)
What is a distribution (Update - 2.0)What is a distribution (Update - 2.0)
What is a distribution (Update - 2.0)Ken Plummer
 
Data Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVAData Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVADr Ali Yusob Md Zain
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSSPhi Jack
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)sspink
 
Validity and Reliability
Validity and ReliabilityValidity and Reliability
Validity and ReliabilityMaury Martinez
 
Presentation Validity & Reliability
Presentation Validity & ReliabilityPresentation Validity & Reliability
Presentation Validity & Reliabilitysongoten77
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSSpaul_gorman
 
PowerPoint Tutorial Presentation - Tips & Tricks
PowerPoint Tutorial Presentation - Tips & TricksPowerPoint Tutorial Presentation - Tips & Tricks
PowerPoint Tutorial Presentation - Tips & TricksNiezette -
 
Reporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APAReporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APAKen Plummer
 

Destacado (18)

Friedman two way analysis of variance by
Friedman two way analysis of  variance byFriedman two way analysis of  variance by
Friedman two way analysis of variance by
 
What is a Friedman Test?
What is a Friedman Test?What is a Friedman Test?
What is a Friedman Test?
 
The siegel-tukey-test-for-equal-variability
The siegel-tukey-test-for-equal-variabilityThe siegel-tukey-test-for-equal-variability
The siegel-tukey-test-for-equal-variability
 
Lilliefors test
Lilliefors testLilliefors test
Lilliefors test
 
Kruskal-Wallis H test
Kruskal-Wallis H testKruskal-Wallis H test
Kruskal-Wallis H test
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 
Non Parametric Tests
Non Parametric TestsNon Parametric Tests
Non Parametric Tests
 
It Presentation
It PresentationIt Presentation
It Presentation
 
What is a distribution (Update - 2.0)
What is a distribution (Update - 2.0)What is a distribution (Update - 2.0)
What is a distribution (Update - 2.0)
 
Data Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVAData Analysis with SPSS : One-way ANOVA
Data Analysis with SPSS : One-way ANOVA
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
 
Validity and Reliability
Validity and ReliabilityValidity and Reliability
Validity and Reliability
 
Presentation Validity & Reliability
Presentation Validity & ReliabilityPresentation Validity & Reliability
Presentation Validity & Reliability
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSS
 
PowerPoint Tutorial Presentation - Tips & Tricks
PowerPoint Tutorial Presentation - Tips & TricksPowerPoint Tutorial Presentation - Tips & Tricks
PowerPoint Tutorial Presentation - Tips & Tricks
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
 
Reporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APAReporting a non parametric Friedman test in APA
Reporting a non parametric Friedman test in APA
 

Similar a Friedman's test

1. (2 points)Two random samples are selected from two indepe.docx
1. (2 points)Two random samples are selected from two indepe.docx1. (2 points)Two random samples are selected from two indepe.docx
1. (2 points)Two random samples are selected from two indepe.docxSONU61709
 
Statr session 21 and 22
Statr session 21 and 22Statr session 21 and 22
Statr session 21 and 22Ruru Chowdhury
 
General Factor Factorial Design
General Factor Factorial DesignGeneral Factor Factorial Design
General Factor Factorial DesignNoraziah Ismail
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution goodZahida Pervaiz
 
1. A law firm wants to determine the trend in its annual billings .docx
1. A law firm wants to determine the trend in its annual billings .docx1. A law firm wants to determine the trend in its annual billings .docx
1. A law firm wants to determine the trend in its annual billings .docxmonicafrancis71118
 
Graeco Latin Square Design
Graeco Latin Square Design Graeco Latin Square Design
Graeco Latin Square Design NadeemAltaf2
 
Presentation non parametric
Presentation non parametricPresentation non parametric
Presentation non parametricIrfan Hussain
 
Quantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & WritingQuantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & WritingStatistics Solutions
 
Part 1 of 16 - Question 1 of 231.0 PointsThe data pres.docx
Part 1 of 16 - Question 1 of 231.0 PointsThe data pres.docxPart 1 of 16 - Question 1 of 231.0 PointsThe data pres.docx
Part 1 of 16 - Question 1 of 231.0 PointsThe data pres.docxherbertwilson5999
 
QNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E AssignmentsQNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E AssignmentsUOP E Assignments
 
1. What type of research uses numeric measurement data (Points .docx
1. What type of research uses numeric measurement data (Points  .docx1. What type of research uses numeric measurement data (Points  .docx
1. What type of research uses numeric measurement data (Points .docxpaynetawnya
 
analysis of variance ch03.ppt
analysis of variance ch03.pptanalysis of variance ch03.ppt
analysis of variance ch03.pptFadliAnanda2
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminHazilahMohd
 

Similar a Friedman's test (20)

ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
1. (2 points)Two random samples are selected from two indepe.docx
1. (2 points)Two random samples are selected from two indepe.docx1. (2 points)Two random samples are selected from two indepe.docx
1. (2 points)Two random samples are selected from two indepe.docx
 
Statr session 21 and 22
Statr session 21 and 22Statr session 21 and 22
Statr session 21 and 22
 
General Factor Factorial Design
General Factor Factorial DesignGeneral Factor Factorial Design
General Factor Factorial Design
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution good
 
1. A law firm wants to determine the trend in its annual billings .docx
1. A law firm wants to determine the trend in its annual billings .docx1. A law firm wants to determine the trend in its annual billings .docx
1. A law firm wants to determine the trend in its annual billings .docx
 
Chisquare Test
Chisquare Test Chisquare Test
Chisquare Test
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
Graeco Latin Square Design
Graeco Latin Square Design Graeco Latin Square Design
Graeco Latin Square Design
 
stat
statstat
stat
 
Presentation non parametric
Presentation non parametricPresentation non parametric
Presentation non parametric
 
Quantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & WritingQuantitative Analysis: Conducting, Interpreting, & Writing
Quantitative Analysis: Conducting, Interpreting, & Writing
 
Part 1 of 16 - Question 1 of 231.0 PointsThe data pres.docx
Part 1 of 16 - Question 1 of 231.0 PointsThe data pres.docxPart 1 of 16 - Question 1 of 231.0 PointsThe data pres.docx
Part 1 of 16 - Question 1 of 231.0 PointsThe data pres.docx
 
QNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E AssignmentsQNT Weekly learning assessments - Questions and Answers | UOP E Assignments
QNT Weekly learning assessments - Questions and Answers | UOP E Assignments
 
1. What type of research uses numeric measurement data (Points .docx
1. What type of research uses numeric measurement data (Points  .docx1. What type of research uses numeric measurement data (Points  .docx
1. What type of research uses numeric measurement data (Points .docx
 
analysis of variance ch03.ppt
analysis of variance ch03.pptanalysis of variance ch03.ppt
analysis of variance ch03.ppt
 
Anova advanced
Anova advancedAnova advanced
Anova advanced
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
CHI Square
CHI SquareCHI Square
CHI Square
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Mech ma6452 snm_notes
 

Último

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsRommel Regala
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxRosabel UA
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 

Último (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
The Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World PoliticsThe Contemporary World: The Globalization of World Politics
The Contemporary World: The Globalization of World Politics
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Presentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptxPresentation Activity 2. Unit 3 transv.pptx
Presentation Activity 2. Unit 3 transv.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 

Friedman's test

  • 1.
  • 2. Lecture objective • Nonparametric tests • Friedman’s test – History – When to uses – Assumptions – Basic idea – Examples – How to run it in SPSS
  • 4. Non Parametric tests • A nonparametric test is one that is performed without making any restrictive assumptions about the form of the population distribution and associated parameters. • It provide alternatives to parametric test & has many advantages and disadvantages..
  • 5. Friedman’s test • Friedman test is a non parametric statistical method developed by Dr. Milton Friedman
  • 6. Dr. Milton Friedman Born July 31, 1912 Died November 16, 2006 (aged 94) Contributions: • Price theory (monetarism) • Applied macroeconomics • Floating exchange rates • Permanent income hypothesis • Volunteer military. Friedman test
  • 7. Awards: • National medal of science (1988) • President medal of freedom (1988) • Nobel memorial prize in economic sciences(1976) • John bates clark medal (1951)
  • 8. FRIEDMAN’s TEST • The Friedman test is a non-parametric alternative to ANOVA with repeated measures. • It is used to test for differences between groups when the dependent variable being measured is ordinal. • The Friedman test tests the Null hypothesis of identical populations for dependent data. • The test is similar to the Kruskal-Wallis Test. • It uses only the rank information of the data.
  • 9. Assumptions • 1. The r blocks are independent so that the measurements in one block have no influence on the measurements in any other block. • 2. The underlying random variable of interest is continuous (to avoid ties). • 3. The observed data constitute at least an ordinal scale of measurement within each of the r blocks. • 4. There is no interaction between the m blocks and the k treatment levels. • 5. The c populations have the same variability. • 6. The c populations have the same shape.
  • 10. Steps involved in testing • 1) Formulation of hypothesis • 2) Significance level • 3) Test statistics • 4) Calculations • 5) Critical region • 6) Conclusion
  • 11. 1) Formulation of hypothesis we check the equality of means of different treatments as in ANOVA, the null hypothesis will be stated as: Ho= M1=M2=……=Mk H1= not all medians are equal
  • 12. • 2) Level of significance: it is selected as given if not given 0.05 is taken. • 3) Test statistics: where R.j 2 is the square of the rank total for group j (j = 1, 2, . . . , c) m is the number of independent blocks k is the number of groups or treatment levels
  • 13. 4) Calculations: • Start with n rows and k columns. • Rank order the entries of each row independently of the other rows. • Sum the ranks for each column. • Sum the squared column totals. • Using test statistic calculate the value of Q.
  • 14. 5) Critical region: Reject H0 if Q ≥ critical value at α= 5% If the values of k and/or n exceed those given in tables, the significance of Q may be looked up in chi-squared (χ2) distribution tables with k-1 degrees of freedom.
  • 15.
  • 16. 6) Conclusion: • If the value of Q is less than the critical value then we’ll not reject H0. • If the value of Q is greater than the critical value then we’ll reject H0.
  • 17. Example 1: The manager of a nationally known real estate agency has just completed a training session on appraisals for three newly hired agents. To evaluate the effectiveness of his training, the manager wishes to determine whether there is any difference in the appraised values placed on houses by these three different individuals. A sample of 12 houses is selected by the manager, and each agent is assigned the task of placing an appraised value (in thousands of dollars) on the 12 houses. The results are summarized as follows.
  • 18. At the 0.05 level of significance, use the Friedman rank test to determine whether there is evidence of a difference in the median appraised value for the three agents. What can you conclude? Houses Agent1 Agent 2 Agent 3 1 181.0 182.0 183.5 2 179.9 180.0 182.4 3 163.0 161.5 164.1 4 218.0 215.0 217.3 5 213.0 216.5 218.4 6 175.0 175.0 216.1 7 217.9 219.5 220.1 8 151.0 150.0 152.4 9 164.9 165.5 166.1 10 192.5 195.0 197.0 11 225.0 222.7 226.4 12 177.5 178.0 179.7
  • 19. Solution: 1) Formulation of hypothesis: H0 : M1=M2=M3 H1 : Not all medians are equal 2) Level of significance: α=0.05 3) Test statistics:
  • 20. 4) Calculation: k=3 m=12 Q=159.29-144 Q=15.29 Houses Agent1 Agent 2 Agent 3 1 181.0 1 182.0 2 183.5 3 2 179.9 1 180.0 2 182.4 3 3 163.0 2 161.5 1 164.1 3 4 218.0 3 215.0 1 217.3 2 5 213.0 1 216.5 2 218.4 3 6 175.0 1.5 175.0 1.5 216.1 3 7 217.9 1 219.5 2 220.1 3 8 151.0 2 150.0 1 152.4 3 9 164.9 1 165.5 2 166.1 3 10 192.5 1 195.0 2 197.0 3 11 225.0 2 222.7 1 226.4 3 12 177.5 1 178.0 2 179.7 3 Sum of ranks 17.5 19.5 35 𝑄 = 12 12×3(3+1) (17.52+19.52+352)-3х12(3+1)
  • 21. 5) Critical region: Reject H0 if Q > critical value at 5% level of significance. Q tab=6.5 6) Conclusion: we reject H0, as Qcal ≥ Qtab, and hence conclude that the appraising ability of three agents are not the same.
  • 22.
  • 23. Example 2: A water company sought evidence the measures taken to clean up a river were effective. Biological Oxygen Demand (BOD) at 12 sites on the river were compared before clean up, 1 month later and a year after clean up.
  • 24. Solution: 1) Formulation of hypothesis: H0 : The clean up procedure has had no effect on the BOD. H1 : The clean up procedure has affected the BOD. 2) Level of significance: α=0.05 3) Test statistics:
  • 25. 4) Calculations: m=12, k=3 Q=8.43 𝑄 = 12 12×3(3+1) (322+22.52+17.52)-3х12(3+1)
  • 26. 5) Critical region: Reject H0 if Q > critical value at 5% level of significance. Q tab=6.5 6) Conclusion: As Qcal ≥ Qtab so we will reject H0, hence conclude that the cleanup procedure has effected the BOD.
  • 27. Question 1: The following data on amount of food consumed (g) by eight rats after 0, 24, and 72 hours of food deprivation appeared in the paper “The Relation Between Differences in Level of Food Deprivation and Dominance in Food Getting in the Rat”. Does the data indicate a difference in the true mean rank of food consumption for the three experimental conditions?
  • 28. Question 2: The venerable auction house of Snootly & Snobs will soon be putting three fine 17th- and 18th-century violins, A,B, and C, up for bidding. A certain musical arts foundation, wishing to determine which of these instruments to add to its collection, arranges to have them played by each of 10 concert violinists. The players are blindfolded, so that they cannot tell which violin is which; and each plays the violins in a randomly determined sequence (BCA, ACB, etc.).
  • 29. Question 3 In this analysis the one variable is the type of animal (fish, reptiles, or mammals), and the response variable is the number of animals on display. From our database, we use three variables reptnum (number of reptiles on display), fishnum (number of fish on display) and mamlnum (number of mammals on display). These scores are shown for the 12 stores below(reptnum, fishnum, mamlnum ). • 12,32,34 14,41,38 15,31,45 12,38,32 7,21,12 4,13,11 10,17,22 4,22,9 14,24,20 4,11,8 5,17,19 10,20,8 We have to check that whether the pet shop display same number of pets.
  • 30.
  • 31. Question • Suppose for example we want to find out if students have a preference for one type of soda over others. They are blindfolded and given a taste test. They are asked to take a sip of Brand X, Brand Y and Brand Z sodas and to rank order their preference for the three sodas where a 1 is the highest rank, a 2 the next highest and a 3 the least preferred soda. The data representing the rankings given by each participant to the three sodas are:
  • 32. • Participants’ Rankings of the Three Brands of Soda Participant Brand X Brand Y Brand Z 1 2 1 3 2 1 3 2 3 1 2 3 4 1 3 2 5 1 3 2 6 1 2 3 7 1 3 2 8 1 2 3 9 1 3 2 10 2 1 3
  • 33. SPSS method Enter ranks for each sample in different columns and then data analysis is done. Data Analysis • 1. Click on Analyze at top of screen then • a. Click on Non-Parametric Tests then • b. Click on K Related Samples • 2. Highlight Brand x by clicking on it then • a. Click on arrow > to transfer this name to the Test Variable Box • 3. Highlight Brand y by clicking on it then • a. Click on arrow > to transfer this name to the Test Variable Box • 4. Highlight Brand z by clicking on it then • a. Click on arrow > to transfer this name to the Test Variable Box • 5. If one the white square next Friedman is not already checked, click on it to place a check mark there • 6. Click on Statistics button at bottom corner of screen • a. Click on white square next to Descriptive to place a check mark in the box • b. Click on continue button • 7. Click OK. Doing this will result in analysis being conducted. These results are below.