SlideShare a Scribd company logo
1 of 8
ONE SAMPLE RUNS TEST
Milind Gokhale
Nilesh Kataria
Kiran Itagi
Pratik Sharma
Rohit Murari
1
AGENDA
 Purpose of test and terminology
 Understanding Basic
 Formulae
 Problem
 Problem Analysis
 Requirements for One sample runs test
 Advantages
 Other applications
2
PURPOSE OF THE TEST AND TERMINOLOGY
 Quite often in research we may be interested in
finding out whether the sample is drawn at random,
so that we can generalise the sample results to the
population
 we can apply the technique called ‘Runs test’,
which is exclusively used for the purpose of
ensuring the randomness of parameters of interest
 “Run” is defined as a ‘series of like items‘.
3
UNDERSTANDING
 For example, flipping a coin 10 times might have resulted in obtaining either head (H) or tail
(T) in each throw as follows
 If the number of samples is very small or Very large then this would indicate a non-random
pattern. For example, consider again a throw of a coin for 10 times.
 This shows that there is a perceivable pattern in the sample. (Due to non random-Influence)
HH TT HHHH T H
1 2 3 4 5
Total Runs = 5
HHHH TTTT
1 2
Total Runs = 2
H T H T H T H T H T
1 2 3 4 5 6 7 8 9 10
Total Runs = 10
4
FORMULAE
 mr = (2n1n2 / n1+n2) +1
PROBLEM
 H= Healthy Tree D= Diseased Tree
 H0 = The trees are planted/placed randomly
 Ha = Diseased trees come in non-random grouping
HH DD HHHH DDD HHHH DDDDD HHHHHHHHH
1 2 3 4 5 6 7
Total Runs = 7
5
PROBLEM ANALYSIS
 mr = 14.33
 sr = 2.38
 1% significance
 Z value for 0.495
= 2.58
 Upper limit =
mr + (2.58 * 2.38)
= 20.47
 Lower limit =
mr – (2.58 * 2.38)
= 8.19
R=7 in CR. So Reject Ho; Accept Ha.
There is strong indication that diseased trees come in non-random grouping.
6
REQUIREMENTS
 This checks for randomness of the sample
selected.
 It is highly useful in checking the randomness of
residuals in regression or time series and
forecasting models.
ADVANTAGES
 This test checks for randomness of the sample
selected.
 It is highly useful in checking the randomness of
residuals in regression or time series and
forecasting models. 7
OTHER APPLICATIONS
 Thus a runs test is used to test the randomness
dichotomous observations like head/tail, yes/no,
men/women, married/single, high/low,
increasing/decreasing
 Possibly in stock market technical analyses or
Forecasting and Analyses.
 In time series analyses finding out whether the errors
(residuals) of the models are randomly distributed
 finding out the randomness of defective items in the
quality control process 8

More Related Content

What's hot

Skewness & Kurtosis
Skewness & KurtosisSkewness & Kurtosis
Skewness & Kurtosis
Navin Bafna
 
regression assumption by Ammara Aftab
regression assumption by Ammara Aftabregression assumption by Ammara Aftab
regression assumption by Ammara Aftab
University of Karachi
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
Elkana Rorio
 
F Distribution
F  DistributionF  Distribution
F Distribution
jravish
 

What's hot (20)

Skewness & Kurtosis
Skewness & KurtosisSkewness & Kurtosis
Skewness & Kurtosis
 
Non sampling error
Non sampling errorNon sampling error
Non sampling error
 
Sign test
Sign testSign test
Sign test
 
ANOVA.pdf
ANOVA.pdfANOVA.pdf
ANOVA.pdf
 
regression assumption by Ammara Aftab
regression assumption by Ammara Aftabregression assumption by Ammara Aftab
regression assumption by Ammara Aftab
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Sampling , Advantages limitations
Sampling , Advantages limitationsSampling , Advantages limitations
Sampling , Advantages limitations
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
F Distribution
F  DistributionF  Distribution
F Distribution
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
Application of Univariate, Bi-variate and Multivariate analysis Pooja k shetty
Application of Univariate, Bi-variate and Multivariate analysis Pooja k shettyApplication of Univariate, Bi-variate and Multivariate analysis Pooja k shetty
Application of Univariate, Bi-variate and Multivariate analysis Pooja k shetty
 
Seminar sampling methods
Seminar sampling methodsSeminar sampling methods
Seminar sampling methods
 
Snehal latin square design (rm seminaar)
Snehal latin square design (rm seminaar)Snehal latin square design (rm seminaar)
Snehal latin square design (rm seminaar)
 
Randomized complete block_design_rcbd_
Randomized complete block_design_rcbd_Randomized complete block_design_rcbd_
Randomized complete block_design_rcbd_
 

Similar to One sample runs test

Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
Rione Drevale
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1
iamkim
 
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
The Statistical and Applied Mathematical Sciences Institute
 
UNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptUNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.ppt
NAGESH108233
 
UNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptUNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.ppt
NAGESH108233
 

Similar to One sample runs test (20)

Chapter 5 experimental design for sbh
Chapter 5 experimental design for sbhChapter 5 experimental design for sbh
Chapter 5 experimental design for sbh
 
Probability Distributions.pdf
Probability Distributions.pdfProbability Distributions.pdf
Probability Distributions.pdf
 
Str t-test1
Str   t-test1Str   t-test1
Str t-test1
 
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
 
Probability distribution Function & Decision Trees in machine learning
Probability distribution Function  & Decision Trees in machine learningProbability distribution Function  & Decision Trees in machine learning
Probability distribution Function & Decision Trees in machine learning
 
Hypothesis_testing,regarding software engineering
Hypothesis_testing,regarding software engineeringHypothesis_testing,regarding software engineering
Hypothesis_testing,regarding software engineering
 
UNIT 5.pdf
UNIT 5.pdfUNIT 5.pdf
UNIT 5.pdf
 
Rm 7
Rm 7Rm 7
Rm 7
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
UNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptUNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.ppt
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 
Parametric Statistics
Parametric StatisticsParametric Statistics
Parametric Statistics
 
UNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.pptUNIT I -Data and Data Collection1.ppt
UNIT I -Data and Data Collection1.ppt
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Completely randomized design
Completely randomized designCompletely randomized design
Completely randomized design
 
the t test
the t testthe t test
the t test
 
Stat2013
Stat2013Stat2013
Stat2013
 
LECTURE 3.1.pdf
LECTURE 3.1.pdfLECTURE 3.1.pdf
LECTURE 3.1.pdf
 
Tema 4. Diseño experimental para un factor
Tema 4. Diseño experimental para un factorTema 4. Diseño experimental para un factor
Tema 4. Diseño experimental para un factor
 

More from Milind Gokhale

Technology Survey and Design
Technology Survey and DesignTechnology Survey and Design
Technology Survey and Design
Milind Gokhale
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
Milind Gokhale
 

More from Milind Gokhale (20)

Yelp Dataset Challenge 2015
Yelp Dataset Challenge 2015Yelp Dataset Challenge 2015
Yelp Dataset Challenge 2015
 
Collaborative Filtering Recommendation System
Collaborative Filtering Recommendation SystemCollaborative Filtering Recommendation System
Collaborative Filtering Recommendation System
 
Sprint Plan1
Sprint Plan1Sprint Plan1
Sprint Plan1
 
Technology Survey and Design
Technology Survey and DesignTechnology Survey and Design
Technology Survey and Design
 
Market Survey Report
Market Survey ReportMarket Survey Report
Market Survey Report
 
Epics and User Stories
Epics and User StoriesEpics and User Stories
Epics and User Stories
 
Visualforce
VisualforceVisualforce
Visualforce
 
Aloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRSAloha Social Networking Portal - SRS
Aloha Social Networking Portal - SRS
 
Aloha Social Networking Portal - Design Document
Aloha Social Networking Portal - Design DocumentAloha Social Networking Portal - Design Document
Aloha Social Networking Portal - Design Document
 
Wsd final paper
Wsd final paperWsd final paper
Wsd final paper
 
Android games analysis final presentation
Android games analysis final presentationAndroid games analysis final presentation
Android games analysis final presentation
 
Android gamesanalysis hunger-gamesfinal
Android gamesanalysis hunger-gamesfinalAndroid gamesanalysis hunger-gamesfinal
Android gamesanalysis hunger-gamesfinal
 
Buffer Trees - Utility and Applications for External Memory Data Processing
Buffer Trees - Utility and Applications for External Memory Data ProcessingBuffer Trees - Utility and Applications for External Memory Data Processing
Buffer Trees - Utility and Applications for External Memory Data Processing
 
Algorithms for External Memory Sorting
Algorithms for External Memory SortingAlgorithms for External Memory Sorting
Algorithms for External Memory Sorting
 
Building effective teams in Amdocs-TECC - project report
Building effective teams in Amdocs-TECC - project reportBuilding effective teams in Amdocs-TECC - project report
Building effective teams in Amdocs-TECC - project report
 
Building effective teams in Amdocs TECC - Presentation
Building effective teams in Amdocs TECC - PresentationBuilding effective teams in Amdocs TECC - Presentation
Building effective teams in Amdocs TECC - Presentation
 
Internet marketing report
Internet marketing reportInternet marketing report
Internet marketing report
 
Internet marketing
Internet marketingInternet marketing
Internet marketing
 
Indian it industry
Indian it industryIndian it industry
Indian it industry
 
Change: to be or not to be
Change: to be or not to beChange: to be or not to be
Change: to be or not to be
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
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
heathfieldcps1
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
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 ...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
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
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
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
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

One sample runs test

  • 1. ONE SAMPLE RUNS TEST Milind Gokhale Nilesh Kataria Kiran Itagi Pratik Sharma Rohit Murari 1
  • 2. AGENDA  Purpose of test and terminology  Understanding Basic  Formulae  Problem  Problem Analysis  Requirements for One sample runs test  Advantages  Other applications 2
  • 3. PURPOSE OF THE TEST AND TERMINOLOGY  Quite often in research we may be interested in finding out whether the sample is drawn at random, so that we can generalise the sample results to the population  we can apply the technique called ‘Runs test’, which is exclusively used for the purpose of ensuring the randomness of parameters of interest  “Run” is defined as a ‘series of like items‘. 3
  • 4. UNDERSTANDING  For example, flipping a coin 10 times might have resulted in obtaining either head (H) or tail (T) in each throw as follows  If the number of samples is very small or Very large then this would indicate a non-random pattern. For example, consider again a throw of a coin for 10 times.  This shows that there is a perceivable pattern in the sample. (Due to non random-Influence) HH TT HHHH T H 1 2 3 4 5 Total Runs = 5 HHHH TTTT 1 2 Total Runs = 2 H T H T H T H T H T 1 2 3 4 5 6 7 8 9 10 Total Runs = 10 4
  • 5. FORMULAE  mr = (2n1n2 / n1+n2) +1 PROBLEM  H= Healthy Tree D= Diseased Tree  H0 = The trees are planted/placed randomly  Ha = Diseased trees come in non-random grouping HH DD HHHH DDD HHHH DDDDD HHHHHHHHH 1 2 3 4 5 6 7 Total Runs = 7 5
  • 6. PROBLEM ANALYSIS  mr = 14.33  sr = 2.38  1% significance  Z value for 0.495 = 2.58  Upper limit = mr + (2.58 * 2.38) = 20.47  Lower limit = mr – (2.58 * 2.38) = 8.19 R=7 in CR. So Reject Ho; Accept Ha. There is strong indication that diseased trees come in non-random grouping. 6
  • 7. REQUIREMENTS  This checks for randomness of the sample selected.  It is highly useful in checking the randomness of residuals in regression or time series and forecasting models. ADVANTAGES  This test checks for randomness of the sample selected.  It is highly useful in checking the randomness of residuals in regression or time series and forecasting models. 7
  • 8. OTHER APPLICATIONS  Thus a runs test is used to test the randomness dichotomous observations like head/tail, yes/no, men/women, married/single, high/low, increasing/decreasing  Possibly in stock market technical analyses or Forecasting and Analyses.  In time series analyses finding out whether the errors (residuals) of the models are randomly distributed  finding out the randomness of defective items in the quality control process 8