<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Pairwise_Comparisons_%28Correlated_Observations%29</id>
	<title>Pairwise Comparisons (Correlated Observations) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Pairwise_Comparisons_%28Correlated_Observations%29"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Pairwise_Comparisons_(Correlated_Observations)&amp;action=history"/>
	<updated>2026-05-02T19:35:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://training-course-material.com/index.php?title=Pairwise_Comparisons_(Correlated_Observations)&amp;diff=24063&amp;oldid=prev</id>
		<title>Cesar Chew at 17:31, 25 November 2014</title>
		<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Pairwise_Comparisons_(Correlated_Observations)&amp;diff=24063&amp;oldid=prev"/>
		<updated>2014-11-25T17:31:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Cat|Testing Means| 70}}&lt;br /&gt;
== Learning Objectives ==&lt;br /&gt;
# Compute the Bonferroni correction&lt;br /&gt;
# Calculate pairwise comparisons using the Bonferroni correction&lt;br /&gt;
&lt;br /&gt;
== Pairwise Comparisons (Correlated Observations) ==&lt;br /&gt;
* In the section on all pairwise comparisons among independent groups, the Tukey HSD Test was the recommended procedure&lt;br /&gt;
* When you have one group with several scores from the same subjects, the Tukey test makes an assumption that is unlikely to hold:&lt;br /&gt;
 The variance of difference scores is the same for all pairwise differences between means.&lt;br /&gt;
&lt;br /&gt;
* The standard practice for pairwise comparisons with correlated observations is to compare each pair of means using the method outlined in the section [[Difference between Two Means (Correlated Pairs)]] with the addition of the Bonferroni correction described in the section [[Specific Comparisons (Independent Groups)]]&lt;br /&gt;
* For example, suppose you were going to do all pairwise comparisons among four means and hold the familywise error rate at 0.05&lt;br /&gt;
* Since there are six possible pairwise comparisons among four means, you would use the 0.05/6 = 0.0083 for the per comparison error rate.&lt;br /&gt;
&lt;br /&gt;
== Stroop Example ==&lt;br /&gt;
* There were three tasks each performed by 47 subjects:&lt;br /&gt;
*# &amp;quot;words&amp;quot; task, subjects read the names of 60 color words written in black ink&lt;br /&gt;
*# &amp;quot;color&amp;quot; task, subjects named the colors of 60 rectangles&lt;br /&gt;
*# &amp;quot;interference&amp;quot; task, subjects named the ink color of 60 conflicting color words&lt;br /&gt;
&lt;br /&gt;
* The times to read the stimuli were recorded&lt;br /&gt;
* In order to do compute all pairwise comparisons, the difference in times for each pair of conditions for each subject is calculated. Table 1 shows these scores for 5 of the 42 subjects.&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+Pairwise Differences&lt;br /&gt;
! W-C&lt;br /&gt;
! W-I&lt;br /&gt;
! C-I&lt;br /&gt;
|- &lt;br /&gt;
| -3&lt;br /&gt;
| -24&lt;br /&gt;
| -21&lt;br /&gt;
|- &lt;br /&gt;
| 2&lt;br /&gt;
| -41&lt;br /&gt;
| -43&lt;br /&gt;
|- &lt;br /&gt;
| -1&lt;br /&gt;
| -18&lt;br /&gt;
| -17&lt;br /&gt;
|- &lt;br /&gt;
|  -4&lt;br /&gt;
|  -23&lt;br /&gt;
|  -19&lt;br /&gt;
|- &lt;br /&gt;
|  -2&lt;br /&gt;
|  -17&lt;br /&gt;
|  -15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The means, standard deviations, and standard error of the mean (Sem), t, and p for all 47 subjects are shown in Table 2&lt;br /&gt;
* The t&amp;#039;s are computed by dividing the means by the standard errors of the mean. Since there are 47 subject, the degrees of freedom is 46&lt;br /&gt;
* Notice how different the standard deviations are&lt;br /&gt;
* For the Tukey test to be valid, all population values of the standard deviation would have to be the same.&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+Distribution of colors&lt;br /&gt;
! Comparison&lt;br /&gt;
!  Mean&lt;br /&gt;
!  Sd&lt;br /&gt;
!  Sem&lt;br /&gt;
!  t&lt;br /&gt;
!  p&lt;br /&gt;
|- &lt;br /&gt;
|  W-C&lt;br /&gt;
|  -4.15&lt;br /&gt;
|  2.99&lt;br /&gt;
|  0.43&lt;br /&gt;
|  -9.53&lt;br /&gt;
|  &amp;amp;lt;0.001&lt;br /&gt;
|- &lt;br /&gt;
|  W-I&lt;br /&gt;
|  -20.51&lt;br /&gt;
|  7.84&lt;br /&gt;
|  1.14&lt;br /&gt;
|  -17.93&lt;br /&gt;
|  &amp;amp;lt;0.001&lt;br /&gt;
|- &lt;br /&gt;
|  C-I&lt;br /&gt;
|  -16.36&lt;br /&gt;
|  7.47&lt;br /&gt;
|  1.09&lt;br /&gt;
|  -15.02&lt;br /&gt;
|  &amp;amp;lt;0.001&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Using the Bonferroni correction for three comparisons, the p value has to be below 0.05/3 = 0.0167 for an effect to be significant at the 0.05 level&lt;br /&gt;
* For these data, all p values are far below that, and therefore all pairwise differences are significant.&lt;br /&gt;
&lt;br /&gt;
== Questions ==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;quiz display=simple &amp;gt;&lt;br /&gt;
{Bonferonni adjustments are necessary when making the multiple comparisons because they keep the type I error rate from being inflated.&lt;br /&gt;
|type=&amp;quot;()&amp;quot;}&lt;br /&gt;
+ True&lt;br /&gt;
- False&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
True. the Bonferonni adjustment is designed to keep alpha the same level by reducing the the critical value for any each comparison. If each comparison had a critical value of 0.05 then the chance of making one or more type 1 errors would be higer than 0.05. The Bonferonni adjustment corrects for this.&lt;br /&gt;
}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{You plan to test all pairwise comparisons among 4 means. What is the critical value after a Bonferonni adjustment needed to maintain an experiment-wise type 1 error rate of 0.05?&amp;lt;br /&amp;gt;&lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
{ 0.00833 _10 }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
6 comparisons 0.05/6 &amp;amp;#61; 0.00833.&lt;br /&gt;
}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{Calculate t for the comparison of the mean for CA with the mean for CB.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;CA	CB	CC	CD&lt;br /&gt;
  4	  6	  8	  9&lt;br /&gt;
  5	  7	  9	  9&lt;br /&gt;
  8	  9	 10	 10&lt;br /&gt;
  7	  7	  9	 10&lt;br /&gt;
  5	  7	  9	  8&lt;br /&gt;
  6	  7	  7	  9&lt;br /&gt;
  7	  9	 10	 11&lt;br /&gt;
  3	  5	  6	  7&lt;br /&gt;
  5	  4	  7	  7&lt;br /&gt;
  6	  7	  9	 10&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
{ 3.674 _10 }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
t &amp;amp;#61; 3.674.&lt;br /&gt;
}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{Calculate p for the comparison of CC to CD.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;CA	CB	CC	CD&lt;br /&gt;
  4	  6	  8	  9&lt;br /&gt;
  5	  7	  9	  9&lt;br /&gt;
  8	  9	 10	 10&lt;br /&gt;
  7	  7	  9	 10&lt;br /&gt;
  5	  7	  9	  8&lt;br /&gt;
  6	  7	  7	  9&lt;br /&gt;
  7	  9	 10	 11&lt;br /&gt;
  3	  5	  6	  7&lt;br /&gt;
  5	  4	  7	  7&lt;br /&gt;
  6	  7	  9	 10&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
{ 0.0510 _10 }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
t(9) &amp;amp;#61; 2.25, p &amp;amp;#61; 0.0510.&lt;br /&gt;
}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/quiz&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cesar Chew</name></author>
	</entry>
</feed>