SlideShare ist ein Scribd-Unternehmen logo
1 von 17
ADVANCED STATISTICS




                           Cochran’s Q Test
 Kristine Joey Palencia
MP-Industrial Psychology
Definition
• A nonparametric procedure for categorical data employed in a
  hypothesis testing situation involving a design with k=2 or
  more dependent samples

• Cochran's Q test is an extension to the McNemar test for
  related samples that provides a method for testing for
  differences between three or more matched sets of
  frequencies or proportions. The matching samples can be
  based on k characteristics of N individuals that are associated
  with the response. Alternatively N individuals may be
  observed under k different treatments or conditions.

• Cochran's Q tests whether the probability of a target response
  is equal across all conditions; verify if k treatments have
  identical effects
Cochran's Q test is

H0: The treatments are equally effective.
Ha: There is a difference in effectiveness
among treatments.

 Subject   Treatment   Treatment Treatment Treatment
  (case)       A           B         C         D
   1          1           1          0         0
   2          1           1          0         1
   3          1           0          0         0
   4          1           1          1         0
   5          1           1          0         1
   6          1           1          0         1
Cochran's Q test is based on the
             following assumptions:
•A large sample approximation; in particular, it
assumes that b is "large".

•The blocks (rows) were randomly selected from
the population of all possible blocks.

•The outcomes of the treatments can be coded as
binary responses (i.e., a "0" or "1") in a way that is
common to all treatments within each block.
Example
     The researcher who had collected the Pet Shop data
wanted to examine whether pet stores displayed different
types of reptiles during different times of the year. So, the
researcher visited each of the 12 stores four times during the
next year that were chosen because of their proximity to
holidays, Valentine’s Day, July 4, Halloween and Christmas.
During each visit, the researcher recorded if the shop
displayed only snakes or lizards (coded = 0) or both types of
reptiles (coded = 1).

     In this analysis the one variable is the time of the year and
the response variable is the type of reptile(s) displayed.
Data from the 12 stores:
 0, 0, 0, 1 0, 0, 0, 1 0, 0, 0, 1      1, 1, 1, 1
 1, 0, 0, 1 0, 1, 0, 1 1, 0, 0, 1      0, 0, 0, 1
 0, 1, 0, 0 0, 0, 0, 0 1, 0, 0, 1      0, 0, 1, 1

Research Hypothesis:
      The researcher hypothesized that pet shops
  would be more likely to display both reptiles to
  Christmas than during the other times of the year

HO = Stores are equally likely to display both types of
 reptiles during all parts of the year
Pet Shop   Valentine’s       July 4       Halloween           Christmas
              Day
   1            0               0               0                 1
   2            0               0               0                 1
   3            0               0               0                 1
   4            1               1               1                 1
   5            1               0               0                 1
   6            0               1               0                 1
   7            1               0               0                 1
   8            0               0               0                 1
   9            0               1               0                 0
   10           0               0               0                 0
   11           1               0               0                 1
   12           0               0               1                 1
 N = 12      G1 = 4          G2 = 3           G3 = 2           G4 = 10


             Snakes or lizards = 0 ; snakes and lizards = 1
Pet     Valentine’s July 4    Halloween   Christmas    L        L2
Shop        Day
  1          0          0          0           1        1        1
  2          0          0          0           1        1        1
  3          0          0          0           1        1        1
  4          1          1          1           1        4        16
  5          1          0          0           1        2        4
  6          0          1          0           1        2        4
  7          1          0          0           1        2        4
  8          0          0          0           1        1        1
  9          0          1          0           0        1        1
 10          0          0          0           0        0        0
 11          1          0          0           1        2        4
 12          0          0          1           1        2        4
N = 12     G1 = 4     G2 = 3     G3 = 2     G4 = 10    L= 19   L2 = 41


                    Number of conditions (k) = 4
k = number of cases/treatment
G or Tj = sum for each column
L or Ui = sum for each row or
block
Use the Chi-square table to determine the
 critical X2 value for df = k – 1 and p = . 05



  X2 (df = 3, p = .05) = 7.82
Critical
 values of
Chi-square
Obtain the Q value and critical Chi-square value

               Q = 13.287             X2 = 7.82

If the obtained Q is less than the critical X2, then retain the
null hypothesis
If the obtained Q is greater than critical X2, then reject the
null hypothesis

         REJECT THE NULL HYPOTHESIS
 There is a relationship between the subject’s values on
 one categorical variable and their values on the other
 categorical variable, in the population represented by the
 sample
 There were more stores displaying both types of reptiles
 during Christmas buying season than during the other times
 of the year
To validate the null hypothesis:

Pet Shop Valentine's Day   July 4   Halloween Christmas
N = 12        G1 = 4       G2 = 3    G3 = 2    G4 = 10
Mean %        33%          25%        17%       83%



     As hypothesized, there were more stores
     displaying both types of reptiles during the
     Christmas buying season than during the
     other times of the year.
Application on SPSS
Application on XLSTAT (Excel)
End of Report



Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

One Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using ROne Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using RSean Stovall
 
Ancova and Mancova
Ancova and MancovaAncova and Mancova
Ancova and MancovaPrum Rotana
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regressiondessybudiyanti
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of varianceRavi Rohilla
 
Lesson 2 percentiles
Lesson 2   percentilesLesson 2   percentiles
Lesson 2 percentileskarisashley
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relationnuwan udugampala
 
Lecture # 10 chi-square test of association
Lecture # 10  chi-square test of associationLecture # 10  chi-square test of association
Lecture # 10 chi-square test of associationLalaZaheer
 
Two-way Mixed Design with SPSS
Two-way Mixed Design with SPSSTwo-way Mixed Design with SPSS
Two-way Mixed Design with SPSSJ P Verma
 
What is an independent samples-t test?
What is an independent samples-t test?What is an independent samples-t test?
What is an independent samples-t test?Ken Plummer
 
One sided or one-tailed tests
One sided or one-tailed testsOne sided or one-tailed tests
One sided or one-tailed testsHasnain Baber
 
F Distribution
F  DistributionF  Distribution
F Distributionjravish
 
t-TEst. :D
t-TEst. :Dt-TEst. :D
t-TEst. :Dpatatas
 
Logistic regression
Logistic regressionLogistic regression
Logistic regressionDrZahid Khan
 

Was ist angesagt? (20)

One Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using ROne Way ANOVA and Two Way ANOVA using R
One Way ANOVA and Two Way ANOVA using R
 
Ancova and Mancova
Ancova and MancovaAncova and Mancova
Ancova and Mancova
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Lesson 2 percentiles
Lesson 2   percentilesLesson 2   percentiles
Lesson 2 percentiles
 
One way anova
One way anovaOne way anova
One way anova
 
Measures of variability grouped data
Measures of variability grouped dataMeasures of variability grouped data
Measures of variability grouped data
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
 
Lecture # 10 chi-square test of association
Lecture # 10  chi-square test of associationLecture # 10  chi-square test of association
Lecture # 10 chi-square test of association
 
Independent samples t-test
Independent samples t-testIndependent samples t-test
Independent samples t-test
 
T distribution | Statistics
T distribution | StatisticsT distribution | Statistics
T distribution | Statistics
 
Two-way Mixed Design with SPSS
Two-way Mixed Design with SPSSTwo-way Mixed Design with SPSS
Two-way Mixed Design with SPSS
 
What is an independent samples-t test?
What is an independent samples-t test?What is an independent samples-t test?
What is an independent samples-t test?
 
One sided or one-tailed tests
One sided or one-tailed testsOne sided or one-tailed tests
One sided or one-tailed tests
 
F Distribution
F  DistributionF  Distribution
F Distribution
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVA
 
t-TEst. :D
t-TEst. :Dt-TEst. :D
t-TEst. :D
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Two dependent samples (matched pairs)
Two dependent samples (matched pairs) Two dependent samples (matched pairs)
Two dependent samples (matched pairs)
 

Andere mochten auch (20)

Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Chapter 07 Chi Square
Chapter 07 Chi SquareChapter 07 Chi Square
Chapter 07 Chi Square
 
Non Parametric Tests
Non Parametric TestsNon Parametric Tests
Non Parametric Tests
 
Multivariate Analysis Techniques
Multivariate Analysis TechniquesMultivariate Analysis Techniques
Multivariate Analysis Techniques
 
Lesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And RegressionLesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And Regression
 
Lilliefors test
Lilliefors testLilliefors test
Lilliefors test
 
Kendall rank correlation
Kendall rank correlationKendall rank correlation
Kendall rank correlation
 
Shapiro wilk test
Shapiro wilk testShapiro wilk test
Shapiro wilk test
 
5. Non parametric analysis
5. Non parametric analysis5. Non parametric analysis
5. Non parametric analysis
 
Spearmans rank correlation test
Spearmans rank correlation testSpearmans rank correlation test
Spearmans rank correlation 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
 
AP Calculus BC: 11-02 Generating Power Series!
AP Calculus BC: 11-02 Generating Power Series!AP Calculus BC: 11-02 Generating Power Series!
AP Calculus BC: 11-02 Generating Power Series!
 
Review of series
Review of seriesReview of series
Review of series
 
Power series & Radius of convergence
Power series & Radius of convergencePower series & Radius of convergence
Power series & Radius of convergence
 
power series & radius of convergence
power series & radius of convergencepower series & radius of convergence
power series & radius of convergence
 
Calculus II - 22
Calculus II - 22Calculus II - 22
Calculus II - 22
 
Calculus II - 24
Calculus II - 24Calculus II - 24
Calculus II - 24
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Uniform Distribution
Uniform DistributionUniform Distribution
Uniform Distribution
 
Linear programming using the simplex method
Linear programming using the simplex methodLinear programming using the simplex method
Linear programming using the simplex method
 

Kürzlich hochgeladen

VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call GirlsVIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call GirlsApsara Of India
 
Call Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat Escorts
Call Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat EscortsCall Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat Escorts
Call Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat EscortsApsara Of India
 
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort ServicesFun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort ServicesApsara Of India
 
Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️
Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️
Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️soniya singh
 
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort ServiceApsara Of India
 
💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...
💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...
💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...Apsara Of India
 
"Maximizing your savings:The power of financial planning".pptx
"Maximizing your savings:The power of financial planning".pptx"Maximizing your savings:The power of financial planning".pptx
"Maximizing your savings:The power of financial planning".pptxsadiisadiimano
 
Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport Goa Call girls...
Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport  Goa Call girls...Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport  Goa Call girls...
Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport Goa Call girls...ritikaroy0888
 
💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service
💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service
💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort ServiceApsara Of India
 
Call Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in DelhiCall Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in DelhiRaviSingh594208
 
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.soniya singh
 
Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -
Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -
Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -Pooja Nehwal
 
Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️
Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️
Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️soniya singh
 
❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...
❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...
❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...Apsara Of India
 
New Call Girls In Panipat 08168329307 Shamli Israna Escorts Service
New Call Girls In Panipat 08168329307 Shamli Israna Escorts ServiceNew Call Girls In Panipat 08168329307 Shamli Israna Escorts Service
New Call Girls In Panipat 08168329307 Shamli Israna Escorts ServiceApsara Of India
 
AliExpress Clothing Brand Media Planning
AliExpress Clothing Brand Media PlanningAliExpress Clothing Brand Media Planning
AliExpress Clothing Brand Media Planningjen_giacalone
 
Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...
Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...
Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...Nitya salvi
 
💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞
💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞
💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞Apsara Of India
 
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your DoorstepCall girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your DoorstepPooja Nehwal
 
Hi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura Bhopalpura
Hi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura BhopalpuraHi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura Bhopalpura
Hi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura BhopalpuraApsara Of India
 

Kürzlich hochgeladen (20)

VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call GirlsVIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
VIP 💞🌷Call Girls In Karnal 08168329307 Escorts Service Nilokheri Call Girls
 
Call Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat Escorts
Call Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat EscortsCall Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat Escorts
Call Girls In Panipat 08860008073 ✨Top Call Girl Service Panipat Escorts
 
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort ServicesFun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
Fun Call Girls In Yamunanagar 08168329307 Jagadhri Escort Services
 
Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️
Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️
Call Girls in mahipalpur Delhi 8264348440 ✅ call girls ❤️
 
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
💕COD Call Girls In Kurukshetra 08168329307 Pehowa Escort Service
 
💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...
💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...
💗📲09602870969💕-Royal Escorts in Udaipur Call Girls Service Udaipole-Fateh Sag...
 
"Maximizing your savings:The power of financial planning".pptx
"Maximizing your savings:The power of financial planning".pptx"Maximizing your savings:The power of financial planning".pptx
"Maximizing your savings:The power of financial planning".pptx
 
Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport Goa Call girls...
Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport  Goa Call girls...Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport  Goa Call girls...
Escorts Service In North Goa Panjim⚕️9971646499⚕️ Team Suport Goa Call girls...
 
💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service
💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service
💞5✨ Hotel Karnal Call Girls 08168329307 Noor Mahal Karnal Escort Service
 
Call Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in DelhiCall Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
Call Girls in Sarita Vihar__ 8448079011 Escort Service in Delhi
 
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Govindpuri Escort Service Delhi N.C.R.
 
Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -
Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -
Mumbai Call Girls Malad West WhatsApp 9892124323 Full Night Enjoy -
 
Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️
Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️
Call Girls in civil lines Delhi 8264348440 ✅ call girls ❤️
 
❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...
❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...
❤️Call Girls In Chandigarh 08168329307 Dera Bassi Zirakpur Panchkula Escort S...
 
New Call Girls In Panipat 08168329307 Shamli Israna Escorts Service
New Call Girls In Panipat 08168329307 Shamli Israna Escorts ServiceNew Call Girls In Panipat 08168329307 Shamli Israna Escorts Service
New Call Girls In Panipat 08168329307 Shamli Israna Escorts Service
 
AliExpress Clothing Brand Media Planning
AliExpress Clothing Brand Media PlanningAliExpress Clothing Brand Media Planning
AliExpress Clothing Brand Media Planning
 
Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...
Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...
Night 7k to 12k Chennai Call Girls 👉👉 8617697112⭐⭐ 100% Genuine Escort Servic...
 
💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞
💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞
💞ROYAL💞 UDAIPUR ESCORTS Call 09602870969 CaLL GiRLS in UdAiPuR EsCoRt SeRvIcE💞
 
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your DoorstepCall girls in Vashi Services :  9167673311 Free Delivery 24x7 at Your Doorstep
Call girls in Vashi Services : 9167673311 Free Delivery 24x7 at Your Doorstep
 
Hi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura Bhopalpura
Hi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura BhopalpuraHi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura Bhopalpura
Hi Profile Escorts In Udaipur 09602870969 Call Girls in Sobaghpura Bhopalpura
 

Cochran's q test report

  • 1. ADVANCED STATISTICS Cochran’s Q Test Kristine Joey Palencia MP-Industrial Psychology
  • 2. Definition • A nonparametric procedure for categorical data employed in a hypothesis testing situation involving a design with k=2 or more dependent samples • Cochran's Q test is an extension to the McNemar test for related samples that provides a method for testing for differences between three or more matched sets of frequencies or proportions. The matching samples can be based on k characteristics of N individuals that are associated with the response. Alternatively N individuals may be observed under k different treatments or conditions. • Cochran's Q tests whether the probability of a target response is equal across all conditions; verify if k treatments have identical effects
  • 3. Cochran's Q test is H0: The treatments are equally effective. Ha: There is a difference in effectiveness among treatments. Subject Treatment Treatment Treatment Treatment (case) A B C D 1 1 1 0 0 2 1 1 0 1 3 1 0 0 0 4 1 1 1 0 5 1 1 0 1 6 1 1 0 1
  • 4. Cochran's Q test is based on the following assumptions: •A large sample approximation; in particular, it assumes that b is "large". •The blocks (rows) were randomly selected from the population of all possible blocks. •The outcomes of the treatments can be coded as binary responses (i.e., a "0" or "1") in a way that is common to all treatments within each block.
  • 5. Example The researcher who had collected the Pet Shop data wanted to examine whether pet stores displayed different types of reptiles during different times of the year. So, the researcher visited each of the 12 stores four times during the next year that were chosen because of their proximity to holidays, Valentine’s Day, July 4, Halloween and Christmas. During each visit, the researcher recorded if the shop displayed only snakes or lizards (coded = 0) or both types of reptiles (coded = 1). In this analysis the one variable is the time of the year and the response variable is the type of reptile(s) displayed.
  • 6. Data from the 12 stores: 0, 0, 0, 1 0, 0, 0, 1 0, 0, 0, 1 1, 1, 1, 1 1, 0, 0, 1 0, 1, 0, 1 1, 0, 0, 1 0, 0, 0, 1 0, 1, 0, 0 0, 0, 0, 0 1, 0, 0, 1 0, 0, 1, 1 Research Hypothesis: The researcher hypothesized that pet shops would be more likely to display both reptiles to Christmas than during the other times of the year HO = Stores are equally likely to display both types of reptiles during all parts of the year
  • 7. Pet Shop Valentine’s July 4 Halloween Christmas Day 1 0 0 0 1 2 0 0 0 1 3 0 0 0 1 4 1 1 1 1 5 1 0 0 1 6 0 1 0 1 7 1 0 0 1 8 0 0 0 1 9 0 1 0 0 10 0 0 0 0 11 1 0 0 1 12 0 0 1 1 N = 12 G1 = 4 G2 = 3 G3 = 2 G4 = 10 Snakes or lizards = 0 ; snakes and lizards = 1
  • 8. Pet Valentine’s July 4 Halloween Christmas L L2 Shop Day 1 0 0 0 1 1 1 2 0 0 0 1 1 1 3 0 0 0 1 1 1 4 1 1 1 1 4 16 5 1 0 0 1 2 4 6 0 1 0 1 2 4 7 1 0 0 1 2 4 8 0 0 0 1 1 1 9 0 1 0 0 1 1 10 0 0 0 0 0 0 11 1 0 0 1 2 4 12 0 0 1 1 2 4 N = 12 G1 = 4 G2 = 3 G3 = 2 G4 = 10 L= 19 L2 = 41 Number of conditions (k) = 4
  • 9. k = number of cases/treatment G or Tj = sum for each column L or Ui = sum for each row or block
  • 10.
  • 11. Use the Chi-square table to determine the critical X2 value for df = k – 1 and p = . 05 X2 (df = 3, p = .05) = 7.82
  • 13. Obtain the Q value and critical Chi-square value Q = 13.287 X2 = 7.82 If the obtained Q is less than the critical X2, then retain the null hypothesis If the obtained Q is greater than critical X2, then reject the null hypothesis REJECT THE NULL HYPOTHESIS There is a relationship between the subject’s values on one categorical variable and their values on the other categorical variable, in the population represented by the sample There were more stores displaying both types of reptiles during Christmas buying season than during the other times of the year
  • 14. To validate the null hypothesis: Pet Shop Valentine's Day July 4 Halloween Christmas N = 12 G1 = 4 G2 = 3 G3 = 2 G4 = 10 Mean % 33% 25% 17% 83% As hypothesized, there were more stores displaying both types of reptiles during the Christmas buying season than during the other times of the year.