SlideShare a Scribd company logo
1 of 19
ED602 - Statistics with
Computer Analysis
Submitted by
SILONGAN, DATU MOHAMMAD E.
TWO WAY
ANALYSIS OF
VARIANCE by
RANKS
FRIEDMAN
Topic no. 24
Agenda
Introduction
Definition
Running the test
When to use Friedman’s
test
Test Example
Presentation title 3
Introduction
Friedman test was developed by an
American economist Milton Friedman.
What is Milton Friedman best known for?
Mr. Friedman was awarded the Nobel
Prize for Economic Science in 1976. He
was best known for explaining the role
of money supply in economic and
inflation fluctuations.
4
MILTON
FRIEDMAN
Source:
THE WALL STREET JOURNAL
By Greg Ip and
Mark Whitehouse
Nov. 17, 2006
https://www.wsj.com/articles/SB116369744597625238
DEFINITION
5
Friedman’s test is a non-parametric test for finding differences in
treatments across multiple attempts. Nonparametric means the test
doesn’t assume your data comes from a particular distribution (like the
normal distribution). Basically, it’s used in place of the ANOVA test
when you don’t know the distribution of your data.
The objective is to determine if we may conclude from sample
evidence that there is a difference in treatment effects.
Running the test
6
Data should be
ordinal (e.g. the
Likert scale) or
continuous
1 Data comes from a
single group,
measured on at least
three different
occasions.
2 The sample was
created with a
random sampling
method.
3
Blocks are mutually
independent (i.e. all of
the pairs are
independent — one
doesn’t affect the other),
4 The observations
within each block may
be ranked in order of
magnitude.
5
When to Use the Friedman Test
7
1. Measuring the mean scores of subjects during three or more time
points.
For example, you might want to measure the resting heart rate of
subjects -one month before they start a training program,
-one month after starting the program, and
-two months after using the program.
You can perform the Friedman Test to see if there is a significant
difference in the mean resting heart rate of patients across these three
time points.
When to Use the Friedman Test
8
2. Measuring the mean scores of subjects under three different
conditions.
For example, you might have subjects watch three different movies and
rate each one based on how much they enjoyed it. Since each subject
shows up in each sample, you can perform a Friedman Test to see if
there is a significant difference in the mean rating of the three
movies.
9
The data:
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).
Friedman Test:
Example
The Data
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
These scores are shown for the 12 stores below (reptnum, fishnum, mamlnum).
Petshop reptnum fishnum mamlnum
1 12 32 34
2 14 41 38
3 15 31 45
4 12 38 32
5 7 21 12
6 4 13 11
7 10 17 22
8 4 22 9
9 14 24 20
10 4 11 8
11 5 17 19
12 10 20 8
Step 1 Rearrange the data so that scores from each
subject are in the appropriate columns, one for each condition.
Research Hypothesis:
The data come from the Pet shop database. The researcher hypothesized that stores would
tend to display more fish than other types of animals, fewer reptiles, and an intermediate
number of mammals.
Null Hypothesis for this analysis:
Pet shops display the same number of reptiles, fish and mammals.
Step 2
Rank order the scores SEPARATELY FOR EACH SUBJECT'S DATA with
the smallest score getting a value of 1. If there are ties (within the scores for a subject)
each receives the average rank they would have received.
Petshop
1
2
3
4
5
6
7
8
9
10
11
12
Step 3
Compute the sum of the ranks for each
condition.
Step 4
Determine the number of subjects.
Step 5
Determine the number of conditions.
Step 6
Compute Friedman's F, using the following formula (you should carry at
least 3 decimals in these calculations).
For small samples (k < 6 AND N < 14):
Step 7
Determine the critical value of F by looking at the table of critical values for
Friedman's test
F (k=3, N=12, a = .05) = 6.17
Fr Critical values for Friedman's two-way analysis of Variance by ranks
Step 8
Comparethe obtained F and the critical F values to determine whether to retain or reject
the null hypothesis.
-- if the obtained F value (from Step 6) is larger than the critical value of F, then reject Ho:
-- if the obtained F value is less than or equal to the critical value of F, then retain Ho:
For the example data, we would decide to reject the null hypothesis, because
the
obtained value of F (15.526) is greater than the larger critical F value (8.67).
Critical F value = 6.17 F = 15.526
For large samples (k > 5 or N > 13):
Step 1
Determine the critical value of F by looking at the table of critical values for the Chi-Square
test (df = k - 1).
(As an example, here is how you would apply this version of the significance test to these
data.)
For large samples (k > 5 or N > 13):
X² (df = 2, p=.05) = 5.99
Step 10
Compare the obtained F and the critical X² values to determine whether to retain or reject
the null hypothesis.
-- if the obtained F value (from Step 6) is less than or equal the critical value of
X², then retain Ho:
-- if the obtained F value is larger than the critical value of X², then reject Ho:
For the example data, we would decide to reject the null hypothesis, because the
obtained value of F (15.526) is greater than the larger critical C² value (5.99).
Null Hypothesis for this analysis:
Pet shops display the same number of reptiles, fish and
mammals.
reject
Thank
you
Silongan, Datu Mohammad E.
ED 602 – Statistics with Computer Analysis
Saturday 10:00 am – 1:00 pm

More Related Content

Similar to Friedman's 2way ANOVA.pptx

1. The standard deviation of the diameter at breast height, or DBH.docx
1. The standard deviation of the diameter at breast height, or DBH.docx1. The standard deviation of the diameter at breast height, or DBH.docx
1. The standard deviation of the diameter at breast height, or DBH.docxpaynetawnya
 
Analysis of two samples
Analysis of two samplesAnalysis of two samples
Analysis of two samplesPaul Gardner
 
Non parametric test- MANN WHITNEY U TEST.pptx
Non parametric test- MANN WHITNEY U TEST.pptxNon parametric test- MANN WHITNEY U TEST.pptx
Non parametric test- MANN WHITNEY U TEST.pptxDr. Chirag Sonkusare
 
The analysis of sequential experiments with feedback to subjects
The analysis of sequential experiments with feedback to subjectsThe analysis of sequential experiments with feedback to subjects
The analysis of sequential experiments with feedback to subjectsClifford Stone
 
Statistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaStatistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaSelvin Hadi
 
This quiz consists of 20 questions most appear to be similar but now.docx
This quiz consists of 20 questions most appear to be similar but now.docxThis quiz consists of 20 questions most appear to be similar but now.docx
This quiz consists of 20 questions most appear to be similar but now.docxamit657720
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experimentsnszakir
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Statistik Chapter 5 (1)
Statistik Chapter 5 (1)Statistik Chapter 5 (1)
Statistik Chapter 5 (1)WanBK Leo
 
1Suppose that the average song length in America is 4 minutes wit.docx
1Suppose that the average song length in America is 4 minutes wit.docx1Suppose that the average song length in America is 4 minutes wit.docx
1Suppose that the average song length in America is 4 minutes wit.docxeugeniadean34240
 
Sample Size Determination.23.11.2021.pdf
Sample Size Determination.23.11.2021.pdfSample Size Determination.23.11.2021.pdf
Sample Size Determination.23.11.2021.pdfstatsanjal
 

Similar to Friedman's 2way ANOVA.pptx (20)

1. The standard deviation of the diameter at breast height, or DBH.docx
1. The standard deviation of the diameter at breast height, or DBH.docx1. The standard deviation of the diameter at breast height, or DBH.docx
1. The standard deviation of the diameter at breast height, or DBH.docx
 
Analysis of two samples
Analysis of two samplesAnalysis of two samples
Analysis of two samples
 
Non parametric test- MANN WHITNEY U TEST.pptx
Non parametric test- MANN WHITNEY U TEST.pptxNon parametric test- MANN WHITNEY U TEST.pptx
Non parametric test- MANN WHITNEY U TEST.pptx
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 
The analysis of sequential experiments with feedback to subjects
The analysis of sequential experiments with feedback to subjectsThe analysis of sequential experiments with feedback to subjects
The analysis of sequential experiments with feedback to subjects
 
Research Procedure
Research ProcedureResearch Procedure
Research Procedure
 
Statistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anovaStatistik 1 10 12 edited_anova
Statistik 1 10 12 edited_anova
 
This quiz consists of 20 questions most appear to be similar but now.docx
This quiz consists of 20 questions most appear to be similar but now.docxThis quiz consists of 20 questions most appear to be similar but now.docx
This quiz consists of 20 questions most appear to be similar but now.docx
 
Chapter 3 part1-Design of Experiments
Chapter 3 part1-Design of ExperimentsChapter 3 part1-Design of Experiments
Chapter 3 part1-Design of Experiments
 
Chapter 11 Psrm
Chapter 11 PsrmChapter 11 Psrm
Chapter 11 Psrm
 
Statistics
StatisticsStatistics
Statistics
 
Lab manual_statistik
Lab manual_statistikLab manual_statistik
Lab manual_statistik
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Statistics
StatisticsStatistics
Statistics
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Statistik Chapter 5 (1)
Statistik Chapter 5 (1)Statistik Chapter 5 (1)
Statistik Chapter 5 (1)
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
1Suppose that the average song length in America is 4 minutes wit.docx
1Suppose that the average song length in America is 4 minutes wit.docx1Suppose that the average song length in America is 4 minutes wit.docx
1Suppose that the average song length in America is 4 minutes wit.docx
 
Sample Size Determination.23.11.2021.pdf
Sample Size Determination.23.11.2021.pdfSample Size Determination.23.11.2021.pdf
Sample Size Determination.23.11.2021.pdf
 

More from DM Silongan

EVALUATING Organizational Development INTERVENTIONS.pdf
EVALUATING Organizational Development INTERVENTIONS.pdfEVALUATING Organizational Development INTERVENTIONS.pdf
EVALUATING Organizational Development INTERVENTIONS.pdfDM Silongan
 
3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf
3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf
3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdfDM Silongan
 
SUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdf
SUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdfSUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdf
SUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdfDM Silongan
 
Role of DILG.pdf
Role of DILG.pdfRole of DILG.pdf
Role of DILG.pdfDM Silongan
 
public safety.pdf
public safety.pdfpublic safety.pdf
public safety.pdfDM Silongan
 
GLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdf
GLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdfGLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdf
GLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdfDM Silongan
 
PRINCIPLES OF PUBLIC BUDGETING.pptx
PRINCIPLES OF PUBLIC BUDGETING.pptxPRINCIPLES OF PUBLIC BUDGETING.pptx
PRINCIPLES OF PUBLIC BUDGETING.pptxDM Silongan
 

More from DM Silongan (7)

EVALUATING Organizational Development INTERVENTIONS.pdf
EVALUATING Organizational Development INTERVENTIONS.pdfEVALUATING Organizational Development INTERVENTIONS.pdf
EVALUATING Organizational Development INTERVENTIONS.pdf
 
3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf
3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf
3 BRANCHES OF THE PHILIPPINE GOVERNMENT.pdf
 
SUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdf
SUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdfSUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdf
SUSTAINABILITY-ISSUES-AND-ENVIRONMENTAL-POLICY-AND-REGULATIONS-SILONGAN-DM.pdf
 
Role of DILG.pdf
Role of DILG.pdfRole of DILG.pdf
Role of DILG.pdf
 
public safety.pdf
public safety.pdfpublic safety.pdf
public safety.pdf
 
GLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdf
GLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdfGLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdf
GLOBALIZATION AND TECHNOLOGY ADVANCEMENT.pdf
 
PRINCIPLES OF PUBLIC BUDGETING.pptx
PRINCIPLES OF PUBLIC BUDGETING.pptxPRINCIPLES OF PUBLIC BUDGETING.pptx
PRINCIPLES OF PUBLIC BUDGETING.pptx
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
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 ...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Friedman's 2way ANOVA.pptx

  • 1. ED602 - Statistics with Computer Analysis Submitted by SILONGAN, DATU MOHAMMAD E.
  • 2. TWO WAY ANALYSIS OF VARIANCE by RANKS FRIEDMAN Topic no. 24
  • 3. Agenda Introduction Definition Running the test When to use Friedman’s test Test Example Presentation title 3
  • 4. Introduction Friedman test was developed by an American economist Milton Friedman. What is Milton Friedman best known for? Mr. Friedman was awarded the Nobel Prize for Economic Science in 1976. He was best known for explaining the role of money supply in economic and inflation fluctuations. 4 MILTON FRIEDMAN Source: THE WALL STREET JOURNAL By Greg Ip and Mark Whitehouse Nov. 17, 2006 https://www.wsj.com/articles/SB116369744597625238
  • 5. DEFINITION 5 Friedman’s test is a non-parametric test for finding differences in treatments across multiple attempts. Nonparametric means the test doesn’t assume your data comes from a particular distribution (like the normal distribution). Basically, it’s used in place of the ANOVA test when you don’t know the distribution of your data. The objective is to determine if we may conclude from sample evidence that there is a difference in treatment effects.
  • 6. Running the test 6 Data should be ordinal (e.g. the Likert scale) or continuous 1 Data comes from a single group, measured on at least three different occasions. 2 The sample was created with a random sampling method. 3 Blocks are mutually independent (i.e. all of the pairs are independent — one doesn’t affect the other), 4 The observations within each block may be ranked in order of magnitude. 5
  • 7. When to Use the Friedman Test 7 1. Measuring the mean scores of subjects during three or more time points. For example, you might want to measure the resting heart rate of subjects -one month before they start a training program, -one month after starting the program, and -two months after using the program. You can perform the Friedman Test to see if there is a significant difference in the mean resting heart rate of patients across these three time points.
  • 8. When to Use the Friedman Test 8 2. Measuring the mean scores of subjects under three different conditions. For example, you might have subjects watch three different movies and rate each one based on how much they enjoyed it. Since each subject shows up in each sample, you can perform a Friedman Test to see if there is a significant difference in the mean rating of the three movies.
  • 9. 9 The data: 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). Friedman Test: Example The Data 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 These scores are shown for the 12 stores below (reptnum, fishnum, mamlnum). Petshop reptnum fishnum mamlnum 1 12 32 34 2 14 41 38 3 15 31 45 4 12 38 32 5 7 21 12 6 4 13 11 7 10 17 22 8 4 22 9 9 14 24 20 10 4 11 8 11 5 17 19 12 10 20 8 Step 1 Rearrange the data so that scores from each subject are in the appropriate columns, one for each condition.
  • 10. Research Hypothesis: The data come from the Pet shop database. The researcher hypothesized that stores would tend to display more fish than other types of animals, fewer reptiles, and an intermediate number of mammals. Null Hypothesis for this analysis: Pet shops display the same number of reptiles, fish and mammals.
  • 11. Step 2 Rank order the scores SEPARATELY FOR EACH SUBJECT'S DATA with the smallest score getting a value of 1. If there are ties (within the scores for a subject) each receives the average rank they would have received. Petshop 1 2 3 4 5 6 7 8 9 10 11 12
  • 12. Step 3 Compute the sum of the ranks for each condition. Step 4 Determine the number of subjects. Step 5 Determine the number of conditions.
  • 13. Step 6 Compute Friedman's F, using the following formula (you should carry at least 3 decimals in these calculations).
  • 14. For small samples (k < 6 AND N < 14): Step 7 Determine the critical value of F by looking at the table of critical values for Friedman's test F (k=3, N=12, a = .05) = 6.17 Fr Critical values for Friedman's two-way analysis of Variance by ranks
  • 15. Step 8 Comparethe obtained F and the critical F values to determine whether to retain or reject the null hypothesis. -- if the obtained F value (from Step 6) is larger than the critical value of F, then reject Ho: -- if the obtained F value is less than or equal to the critical value of F, then retain Ho: For the example data, we would decide to reject the null hypothesis, because the obtained value of F (15.526) is greater than the larger critical F value (8.67). Critical F value = 6.17 F = 15.526
  • 16. For large samples (k > 5 or N > 13): Step 1 Determine the critical value of F by looking at the table of critical values for the Chi-Square test (df = k - 1). (As an example, here is how you would apply this version of the significance test to these data.)
  • 17. For large samples (k > 5 or N > 13): X² (df = 2, p=.05) = 5.99
  • 18. Step 10 Compare the obtained F and the critical X² values to determine whether to retain or reject the null hypothesis. -- if the obtained F value (from Step 6) is less than or equal the critical value of X², then retain Ho: -- if the obtained F value is larger than the critical value of X², then reject Ho: For the example data, we would decide to reject the null hypothesis, because the obtained value of F (15.526) is greater than the larger critical C² value (5.99). Null Hypothesis for this analysis: Pet shops display the same number of reptiles, fish and mammals. reject
  • 19. Thank you Silongan, Datu Mohammad E. ED 602 – Statistics with Computer Analysis Saturday 10:00 am – 1:00 pm