SlideShare a Scribd company logo
1 of 26
T E S T F O R R A N D O M N E S S:
T H E R U N S T E S T
In this lecture, you will learn the following items:
• How to use a runs test to analyze a series of
events for randomness.
OBJECTIVE
INTRODUCTION
Every investor wishes he or she could predict the
behavior of a stock’s performance. Is there a pattern to a
stock’s gain/loss cycle or are the events random? One
could make a defensible argument to that question with
an analysis of randomness.
The runs test (sometimes called a Wald–Wolfowitz runs
test) is a statistical procedure for examining a series of
events for randomness. This nonparametric test has no
parametric equivalent. In this lecture, we will describe
how to perform and interpret a runs test for both small
samples and large samples.
THE RUNS TEST FOR RANDOMNESS
The runs test seeks to determine if a series of events
occur randomly or are merely due to chance. To
understand a run, consider a sequence represented by
two symbols, A and B. One simple example might be
several tosses of a coin where A = heads and B = tails.
Another example might be whether an animal chooses
to eat first or drink first. Use A = eat and B = drink.
The first steps are to list the events in sequential order
and count the number of runs. A run is a sequence of
the same event written one or more times. For
example, compare two event sequences. The first
sequence is written AAAAAABBBBBB.
Then, separate the sequence into same groups as
shown in Figure 1. There are two runs in this example,
R = 2. This is a trend pattern in which events are
clustered and it does not represent random behavior.
Consider a second event sequence written
ABABABABABAB. Again, separate the events into
same groups (see Fig. 2) to determine the number of
runs. There are 12 runs in this example, R = 12.
This is a cyclical pattern and does not represent random
behavior either. As illustrated in the two examples
earlier, too few or too many runs lack randomness.
A run can also describe how a sequence of events
occurs in relation to a custom value. Use two symbols,
such as A and B, to define whether an event exceeds or
falls below the custom value. A simple example may
reference the freezing point of water where A =
temperatures above 0°C and B = temperatures below
0°C.
In this example, simply list the events in order and
determine the number of runs as described earlier.
After the number of runs is determined, it must be
examined for significance.
We may use a table of critical values (see Table B.10).
However, if the numbers of values in each sample, n1
or n2, exceed those available from the table, then a
large sample approximation may be performed.
Example 1
Runs Test (Small Data Samples)
The following study seeks to examine gender bias in
science instruction. A male science teacher was
observed during a typical class discussion.
The observer noted the gender of the student that the
teacher called on to answer a question. In the course of
15 min, the teacher called on 10 males and 10 females.
The observer noticed that the science teacher called on
equal numbers of males and females, but he wanted to
examine the data for a pattern.
To determine if the teacher used a random order to
call on students with regard to gender, he used a runs
test for randomness.
Using M for male and F for female, the sequence of
student recognition by the teacher is:
MFFMFMFMFFMFFFMMFMMM.
1. State the Null and Research Hypotheses
The null hypothesis states that the sequence of events is
random. The research hypothesis states that the
sequence of events is not random.
The null hypothesis is
H0: The sequence in which the teacher calls on males
and females is random.
The research hypothesis is
HA: The sequence in which the teacher calls on males
and females is not random.
3. Choose the Appropriate Test Statistic
The observer is examining the data for randomness.
Therefore, he is using a runs test for randomness.
Compute the Test Statistic
First, determine the number of runs, R. It is helpful to
separate the events as shown in Figure 3. The number
of runs in the sequence is R = 13.
5. Determine the Value Needed for Rejection of the
Null Hypothesis Using the Appropriate Table of
Critical Values for the Particular Statistic
Since the sample sizes are small, we refer to Table
B.10, which lists the critical values for the runs test.
There were 10 males (n1) and 10 females (n2). The
critical values are found on the table at the point for
n1 = 10 and n2 = 10.
We set = 0.05. The critical region for the runs test is 6
< R < 16. If the number of runs, R, is 6 or less, or 16
or greater, we reject our null hypothesis.
6. Compare the Obtained Value with the Critical
Value
We found that R = 13. This value is within our critical
region (6 < R < 16).
Therefore, we do not reject the null hypothesis.
7. Interpret the Results
We did not reject the null hypothesis, suggesting that
the sequence of events is random. Therefore, we can
state that the order in which the science teacher calls
on males and females is random.
8 Reporting the Results
The reporting of results for the runs test should
include such information as the sample sizes for each
group, the number of runs, and the p-value with
respect to .
For this example, the runs test indicated that the
sequence was random (R = 13, n1 = 10, n2 = 10, p >
0.05). Therefore, the study provides evidence that the
science teacher was demonstrating no gender bias.
Example 2
Runs Test Referencing a Custom Value
The science teacher in the earlier example
wishes to examine the pattern of an “at-risk”
student’s weekly quiz performance. A passing
quiz score is 70. Sometimes the student failed
and other times he passed. The teacher wished
to determine if the student’s performance is
random or not. Table 1 shows the student’s
weekly quiz scores for a 12-week period.
SUMMARY
The runs test is a statistical procedure for examining a
series of events for randomness. This nonparametric
test has no parametric equivalent. In this lecture, we
described how to perform and interpret a runs test for
both small samples and large samples.

More Related Content

Similar to 16885618.ppt

Non parametrics tests
Non parametrics testsNon parametrics tests
Non parametrics testsrodrick koome
 
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhChapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhbeshahashenafe20
 
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhChapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhbeshahashenafe20
 
Data science classica_hypos
Data science classica_hyposData science classica_hypos
Data science classica_hyposNeeraj Sinha
 
The binomial distributions
The binomial distributionsThe binomial distributions
The binomial distributionsmaamir farooq
 
TEST #1Perform the following two-tailed hypothesis test, using a.docx
TEST #1Perform the following two-tailed hypothesis test, using a.docxTEST #1Perform the following two-tailed hypothesis test, using a.docx
TEST #1Perform the following two-tailed hypothesis test, using a.docxmattinsonjanel
 
Non parametric test 8
Non parametric test 8Non parametric test 8
Non parametric test 8Sundar B N
 
Non-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingNon-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingSundar B N
 
Statistical Significance Tests.pptx
Statistical Significance Tests.pptxStatistical Significance Tests.pptx
Statistical Significance Tests.pptxAldofChrist
 
10.Analysis of Variance.ppt
10.Analysis of Variance.ppt10.Analysis of Variance.ppt
10.Analysis of Variance.pptAbdulhaqAli
 

Similar to 16885618.ppt (20)

SAS Notes
SAS NotesSAS Notes
SAS Notes
 
Chapter6
Chapter6Chapter6
Chapter6
 
Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Non parametrics tests
Non parametrics testsNon parametrics tests
Non parametrics tests
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Chap 3 (1) (1).pdf
Chap 3 (1) (1).pdfChap 3 (1) (1).pdf
Chap 3 (1) (1).pdf
 
Chap 3 (1).pdf
Chap 3 (1).pdfChap 3 (1).pdf
Chap 3 (1).pdf
 
x13.pdf
x13.pdfx13.pdf
x13.pdf
 
biostat__final_ppt_unit_3.pptx
biostat__final_ppt_unit_3.pptxbiostat__final_ppt_unit_3.pptx
biostat__final_ppt_unit_3.pptx
 
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhChapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
 
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhChapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Chapter Five.ppthhjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
 
Data science classica_hypos
Data science classica_hyposData science classica_hypos
Data science classica_hypos
 
The binomial distributions
The binomial distributionsThe binomial distributions
The binomial distributions
 
TEST #1Perform the following two-tailed hypothesis test, using a.docx
TEST #1Perform the following two-tailed hypothesis test, using a.docxTEST #1Perform the following two-tailed hypothesis test, using a.docx
TEST #1Perform the following two-tailed hypothesis test, using a.docx
 
Non parametric test 8
Non parametric test 8Non parametric test 8
Non parametric test 8
 
Non-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testingNon-parametric Statistical tests for Hypotheses testing
Non-parametric Statistical tests for Hypotheses testing
 
Statistical Significance Tests.pptx
Statistical Significance Tests.pptxStatistical Significance Tests.pptx
Statistical Significance Tests.pptx
 
10.Analysis of Variance.ppt
10.Analysis of Variance.ppt10.Analysis of Variance.ppt
10.Analysis of Variance.ppt
 

More from ArfanAhmed22

Chapter-5 (Wakil) Sustainable Finance.pptx
Chapter-5 (Wakil) Sustainable Finance.pptxChapter-5 (Wakil) Sustainable Finance.pptx
Chapter-5 (Wakil) Sustainable Finance.pptxArfanAhmed22
 
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdfOverview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdfArfanAhmed22
 
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdfOverview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdfArfanAhmed22
 
Subject Verb Agreement.pptx
Subject Verb Agreement.pptxSubject Verb Agreement.pptx
Subject Verb Agreement.pptxArfanAhmed22
 
p84 problem-Gujrati.doc
p84 problem-Gujrati.docp84 problem-Gujrati.doc
p84 problem-Gujrati.docArfanAhmed22
 
p84 problem-Gujrati.pdf
p84 problem-Gujrati.pdfp84 problem-Gujrati.pdf
p84 problem-Gujrati.pdfArfanAhmed22
 
SM-SL-3-Mostafij.pptx
SM-SL-3-Mostafij.pptxSM-SL-3-Mostafij.pptx
SM-SL-3-Mostafij.pptxArfanAhmed22
 

More from ArfanAhmed22 (10)

Chapter-5 (Wakil) Sustainable Finance.pptx
Chapter-5 (Wakil) Sustainable Finance.pptxChapter-5 (Wakil) Sustainable Finance.pptx
Chapter-5 (Wakil) Sustainable Finance.pptx
 
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdfOverview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
 
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdfOverview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
Overview on IBBPLC the First Shariah Based Bak of South Aisa.pdf
 
chapter_4_3.ppt
chapter_4_3.pptchapter_4_3.ppt
chapter_4_3.ppt
 
ch 13.pptx
ch 13.pptxch 13.pptx
ch 13.pptx
 
Subject Verb Agreement.pptx
Subject Verb Agreement.pptxSubject Verb Agreement.pptx
Subject Verb Agreement.pptx
 
Team-9.pptx
Team-9.pptxTeam-9.pptx
Team-9.pptx
 
p84 problem-Gujrati.doc
p84 problem-Gujrati.docp84 problem-Gujrati.doc
p84 problem-Gujrati.doc
 
p84 problem-Gujrati.pdf
p84 problem-Gujrati.pdfp84 problem-Gujrati.pdf
p84 problem-Gujrati.pdf
 
SM-SL-3-Mostafij.pptx
SM-SL-3-Mostafij.pptxSM-SL-3-Mostafij.pptx
SM-SL-3-Mostafij.pptx
 

Recently uploaded

How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperityhemanthkumar470700
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecZurliaSoop
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwaitdaisycvs
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Adnet Communications
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfwill854175
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxCynthia Clay
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAITim Wilson
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon investment
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Falcon Invoice Discounting
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Timegargpaaro
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165meghakumariji156
 
Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannaBusinessPlans
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGpr788182
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...daisycvs
 
New 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateNew 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateCannaBusinessPlans
 

Recently uploaded (20)

How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
 
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai KuwaitThe Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
The Abortion pills for sale in Qatar@Doha [+27737758557] []Deira Dubai Kuwait
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
!~+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUD...
 
Buy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail AccountsBuy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail Accounts
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
Unveiling Falcon Invoice Discounting: Leading the Way as India's Premier Bill...
 
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All TimeCall 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
Call 7737669865 Vadodara Call Girls Service at your Door Step Available All Time
 
Falcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial WingsFalcon Invoice Discounting: Tailored Financial Wings
Falcon Invoice Discounting: Tailored Financial Wings
 
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165Lucknow Housewife Escorts  by Sexy Bhabhi Service 8250092165
Lucknow Housewife Escorts by Sexy Bhabhi Service 8250092165
 
Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 Updated
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
New 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck TemplateNew 2024 Cannabis Edibles Investor Pitch Deck Template
New 2024 Cannabis Edibles Investor Pitch Deck Template
 

16885618.ppt

  • 1. T E S T F O R R A N D O M N E S S: T H E R U N S T E S T
  • 2. In this lecture, you will learn the following items: • How to use a runs test to analyze a series of events for randomness. OBJECTIVE
  • 3. INTRODUCTION Every investor wishes he or she could predict the behavior of a stock’s performance. Is there a pattern to a stock’s gain/loss cycle or are the events random? One could make a defensible argument to that question with an analysis of randomness. The runs test (sometimes called a Wald–Wolfowitz runs test) is a statistical procedure for examining a series of events for randomness. This nonparametric test has no parametric equivalent. In this lecture, we will describe how to perform and interpret a runs test for both small samples and large samples.
  • 4. THE RUNS TEST FOR RANDOMNESS The runs test seeks to determine if a series of events occur randomly or are merely due to chance. To understand a run, consider a sequence represented by two symbols, A and B. One simple example might be several tosses of a coin where A = heads and B = tails. Another example might be whether an animal chooses to eat first or drink first. Use A = eat and B = drink.
  • 5. The first steps are to list the events in sequential order and count the number of runs. A run is a sequence of the same event written one or more times. For example, compare two event sequences. The first sequence is written AAAAAABBBBBB. Then, separate the sequence into same groups as shown in Figure 1. There are two runs in this example, R = 2. This is a trend pattern in which events are clustered and it does not represent random behavior.
  • 6. Consider a second event sequence written ABABABABABAB. Again, separate the events into same groups (see Fig. 2) to determine the number of runs. There are 12 runs in this example, R = 12. This is a cyclical pattern and does not represent random behavior either. As illustrated in the two examples earlier, too few or too many runs lack randomness.
  • 7. A run can also describe how a sequence of events occurs in relation to a custom value. Use two symbols, such as A and B, to define whether an event exceeds or falls below the custom value. A simple example may reference the freezing point of water where A = temperatures above 0°C and B = temperatures below 0°C. In this example, simply list the events in order and determine the number of runs as described earlier.
  • 8. After the number of runs is determined, it must be examined for significance. We may use a table of critical values (see Table B.10). However, if the numbers of values in each sample, n1 or n2, exceed those available from the table, then a large sample approximation may be performed.
  • 9. Example 1 Runs Test (Small Data Samples) The following study seeks to examine gender bias in science instruction. A male science teacher was observed during a typical class discussion. The observer noted the gender of the student that the teacher called on to answer a question. In the course of 15 min, the teacher called on 10 males and 10 females. The observer noticed that the science teacher called on equal numbers of males and females, but he wanted to examine the data for a pattern.
  • 10. To determine if the teacher used a random order to call on students with regard to gender, he used a runs test for randomness. Using M for male and F for female, the sequence of student recognition by the teacher is: MFFMFMFMFFMFFFMMFMMM.
  • 11. 1. State the Null and Research Hypotheses The null hypothesis states that the sequence of events is random. The research hypothesis states that the sequence of events is not random. The null hypothesis is H0: The sequence in which the teacher calls on males and females is random. The research hypothesis is HA: The sequence in which the teacher calls on males and females is not random.
  • 12.
  • 13. 3. Choose the Appropriate Test Statistic The observer is examining the data for randomness. Therefore, he is using a runs test for randomness.
  • 14. Compute the Test Statistic First, determine the number of runs, R. It is helpful to separate the events as shown in Figure 3. The number of runs in the sequence is R = 13.
  • 15. 5. Determine the Value Needed for Rejection of the Null Hypothesis Using the Appropriate Table of Critical Values for the Particular Statistic Since the sample sizes are small, we refer to Table B.10, which lists the critical values for the runs test. There were 10 males (n1) and 10 females (n2). The critical values are found on the table at the point for n1 = 10 and n2 = 10. We set = 0.05. The critical region for the runs test is 6 < R < 16. If the number of runs, R, is 6 or less, or 16 or greater, we reject our null hypothesis.
  • 16. 6. Compare the Obtained Value with the Critical Value We found that R = 13. This value is within our critical region (6 < R < 16). Therefore, we do not reject the null hypothesis.
  • 17. 7. Interpret the Results We did not reject the null hypothesis, suggesting that the sequence of events is random. Therefore, we can state that the order in which the science teacher calls on males and females is random.
  • 18. 8 Reporting the Results The reporting of results for the runs test should include such information as the sample sizes for each group, the number of runs, and the p-value with respect to . For this example, the runs test indicated that the sequence was random (R = 13, n1 = 10, n2 = 10, p > 0.05). Therefore, the study provides evidence that the science teacher was demonstrating no gender bias.
  • 19. Example 2 Runs Test Referencing a Custom Value The science teacher in the earlier example wishes to examine the pattern of an “at-risk” student’s weekly quiz performance. A passing quiz score is 70. Sometimes the student failed and other times he passed. The teacher wished to determine if the student’s performance is random or not. Table 1 shows the student’s weekly quiz scores for a 12-week period.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. SUMMARY The runs test is a statistical procedure for examining a series of events for randomness. This nonparametric test has no parametric equivalent. In this lecture, we described how to perform and interpret a runs test for both small samples and large samples.