<?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=Specific_Comparisons_%28Correlated_Observations%29</id>
	<title>Specific 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=Specific_Comparisons_%28Correlated_Observations%29"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Specific_Comparisons_(Correlated_Observations)&amp;action=history"/>
	<updated>2026-05-02T19:32:00Z</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=Specific_Comparisons_(Correlated_Observations)&amp;diff=24062&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=Specific_Comparisons_(Correlated_Observations)&amp;diff=24062&amp;oldid=prev"/>
		<updated>2014-11-25T17:31:11Z</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| 6}}&lt;br /&gt;
== Learning Objectives ==&lt;br /&gt;
# Determine whether to use the formula for correlated comparisons or independent-groups comparisons&lt;br /&gt;
# Compute t for a comparison for repeated-measures data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Specific Comparisons (Correlated Observations) ==&lt;br /&gt;
* In the Weapons and Aggression case study, subjects were asked to read words presented on a computer screen as quickly as they could&lt;br /&gt;
* Some of the words were aggressive words such as injure or shatter&lt;br /&gt;
* Others were control words such as relocate or consider&lt;br /&gt;
* These two types of words were preceded by words that were either the names of weapons such as shot gun and grenade or non-weapon words such as rabbit or fish&lt;br /&gt;
* For each subject, the mean reading time across words was computed for these four conditions&lt;br /&gt;
* The four conditions are labeled as shown in Table 1. Table 2 shows the data for five subjects.&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+Description of Conditions&lt;br /&gt;
! Variable&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| aw&lt;br /&gt;
|  align=&amp;quot;left&amp;quot; | The time in milliseconds (msec) to name aggressive word following a weapon word prime.    &lt;br /&gt;
|- &lt;br /&gt;
| an&lt;br /&gt;
|  align=&amp;quot;left&amp;quot; | The time in milliseconds (msec) to name aggressive word following a non-weapon word prime.&lt;br /&gt;
|- &lt;br /&gt;
| cw&lt;br /&gt;
|  align=&amp;quot;left&amp;quot; | The time in milliseconds (msec) to name a control word following a weapon word prime.&lt;br /&gt;
|- &lt;br /&gt;
| cn&lt;br /&gt;
|  align=&amp;quot;left&amp;quot; | The time in milliseconds (msec) to name a control word following a non-weapon word prime.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+Data from Five Subjects&lt;br /&gt;
! Subject&lt;br /&gt;
! aw&lt;br /&gt;
! an&lt;br /&gt;
! cw&lt;br /&gt;
! cn&lt;br /&gt;
|- &lt;br /&gt;
| 1&lt;br /&gt;
| 447&lt;br /&gt;
| 440&lt;br /&gt;
| 432&lt;br /&gt;
| 452&lt;br /&gt;
|- &lt;br /&gt;
| 2&lt;br /&gt;
| 427&lt;br /&gt;
| 437&lt;br /&gt;
| 469&lt;br /&gt;
| 451&lt;br /&gt;
|- &lt;br /&gt;
| 3&lt;br /&gt;
| 417&lt;br /&gt;
| 418&lt;br /&gt;
| 445&lt;br /&gt;
| 434&lt;br /&gt;
|- &lt;br /&gt;
| 4	&lt;br /&gt;
| 348&lt;br /&gt;
| 371&lt;br /&gt;
| 353&lt;br /&gt;
| 344&lt;br /&gt;
|- &lt;br /&gt;
| 5&lt;br /&gt;
| 471&lt;br /&gt;
| 443&lt;br /&gt;
| 462&lt;br /&gt;
| 463&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One question was whether reading times would be shorter when the preceding word was a weapon word (aw and cw conditions) than when it was a non-weapon word (an and cn conditions). In other words, is&lt;br /&gt;
 L1 = (an + cn) - (aw + cw)&lt;br /&gt;
greater than 0?&lt;br /&gt;
&lt;br /&gt;
This is tested for significance by computing L1 for each subject and then testing whether the mean value of L1 is significantly different from 0.&lt;br /&gt;
&lt;br /&gt;
Table 3 shows L1 for the first five subjects. L1 for Subject 1 was computed by&lt;br /&gt;
 L1 = (440 + 452) - (447 + 432) = 892 - 885 = 13&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+L1 for Five Subjects&lt;br /&gt;
! Subject&lt;br /&gt;
! aw&lt;br /&gt;
! an&lt;br /&gt;
! cw&lt;br /&gt;
! cn&lt;br /&gt;
! L1&lt;br /&gt;
|- &lt;br /&gt;
| 1&lt;br /&gt;
| 447&lt;br /&gt;
| 440&lt;br /&gt;
| 432&lt;br /&gt;
| 452&lt;br /&gt;
| 13&lt;br /&gt;
|- &lt;br /&gt;
| 2&lt;br /&gt;
| 427&lt;br /&gt;
| 437&lt;br /&gt;
| 469&lt;br /&gt;
| 451&lt;br /&gt;
| -8&lt;br /&gt;
|- &lt;br /&gt;
| 3&lt;br /&gt;
| 417&lt;br /&gt;
| 418&lt;br /&gt;
| 445&lt;br /&gt;
| 434&lt;br /&gt;
| -10&lt;br /&gt;
|- &lt;br /&gt;
| 4	&lt;br /&gt;
| 348&lt;br /&gt;
| 371&lt;br /&gt;
| 353&lt;br /&gt;
| 344&lt;br /&gt;
| 14&lt;br /&gt;
|- &lt;br /&gt;
| 5&lt;br /&gt;
| 471&lt;br /&gt;
| 443&lt;br /&gt;
| 462&lt;br /&gt;
| 463&lt;br /&gt;
| -27&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Once L1 is computed for each subject, the significance test described in the section [[Testing a Single Mean]] can be used&lt;br /&gt;
* First we compute the mean and the standard error of the mean for L1&lt;br /&gt;
* There were 32 subjects in the experiment&lt;br /&gt;
* Computing L1 for the 32 subjects, we find that the mean and standard error of the mean are 5.875 and 4.2646 respectively.&lt;br /&gt;
&lt;br /&gt;
We then compute:&lt;br /&gt;
 [[File:T_mean.gif]]&lt;br /&gt;
 M is the sample mean&lt;br /&gt;
 μ is the hypothesized value of the population mean (0 in this case)&lt;br /&gt;
 and s&amp;lt;sub&amp;gt;M&amp;lt;/sub&amp;gt; is the estimated standard error of the mean&lt;br /&gt;
&lt;br /&gt;
* The calculations show that t = 1.378&lt;br /&gt;
* Since there were 32 subjects, the degrees of freedom is 32 - 1 = 31&lt;br /&gt;
* The t distribution calculator shows that the two-tailed probability is 0.1782&lt;br /&gt;
&lt;br /&gt;
== Priming Effect ==&lt;br /&gt;
* A more interesting question is whether the priming effect (the difference between words preceded with a non-weapon word and words preceded by a weapon word) is different for aggressive words than it is for non-aggressive words&lt;br /&gt;
* That is, do weapon words prime aggressive words more than they prime non-aggressive words?&lt;br /&gt;
* The priming of aggressive words is (an - aw)&lt;br /&gt;
* The priming of non-aggressive words is (cn - cw)&lt;br /&gt;
* The comparison is the difference:&lt;br /&gt;
 L2 = (an - aw) - (cn - cw)&lt;br /&gt;
&lt;br /&gt;
Table 4 shows L2 for five of the 32 subjects.&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|+ L2 for Five Subjects&lt;br /&gt;
! Subject&lt;br /&gt;
! aw&lt;br /&gt;
! an&lt;br /&gt;
! cw&lt;br /&gt;
! cn&lt;br /&gt;
! L2&lt;br /&gt;
|- &lt;br /&gt;
| 1&lt;br /&gt;
| 447&lt;br /&gt;
| 440&lt;br /&gt;
| 432&lt;br /&gt;
| 452&lt;br /&gt;
| -27&lt;br /&gt;
|- &lt;br /&gt;
| 2&lt;br /&gt;
| 427&lt;br /&gt;
| 437&lt;br /&gt;
| 469&lt;br /&gt;
| 451&lt;br /&gt;
| 28&lt;br /&gt;
|- &lt;br /&gt;
| 3&lt;br /&gt;
| 417&lt;br /&gt;
| 418&lt;br /&gt;
| 445&lt;br /&gt;
| 434&lt;br /&gt;
| 12&lt;br /&gt;
|- &lt;br /&gt;
| 4	&lt;br /&gt;
| 348&lt;br /&gt;
| 371&lt;br /&gt;
| 353&lt;br /&gt;
| 344&lt;br /&gt;
| 32&lt;br /&gt;
|- &lt;br /&gt;
| 5&lt;br /&gt;
| 471&lt;br /&gt;
| 443&lt;br /&gt;
| 462&lt;br /&gt;
| 463&lt;br /&gt;
| -29&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* The mean and standard error of the mean for all 32 subjects are 8.4375 and 3.9128 respectively&lt;br /&gt;
* Therefore, t = 2.156 and p = 0.039.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Multiple Comparisons ==&lt;br /&gt;
Issues associated with doing multiple comparisons are the same for related observations as they are for multiple comparisons among independent groups.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Orthogonal Comparisons ==&lt;br /&gt;
* The most straightforward way to assess the degree of dependence between two comparisons is to correlate them directly&lt;br /&gt;
* For the weapons and aggression data, the comparisons L1 and L2 are correlated 0.24&lt;br /&gt;
* Of course, this is a sample correlation and only estimates what the correlation would be if L1 and L2 were correlated in the whole population&lt;br /&gt;
* Although mathematically possible, orthogonal comparisons with correlated observations are very rare.&lt;br /&gt;
&lt;br /&gt;
== Questions ==&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;quiz display=simple &amp;gt;&lt;br /&gt;
{Here you see taste ratings for 4 cola types: Cola A (A), generic Cola A (GA), Cola B (B), and generic Cola B (GB). L1 is the difference in taste scores between non-generic and generic Colas (nongeneric - generic). What is L1 for the fourth subject?&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;A	GA	B	GB&lt;br /&gt;
  9	  6	  8	  5&lt;br /&gt;
 10	  6	  9	  7&lt;br /&gt;
 10	  5	  8	  7&lt;br /&gt;
  8	  4	  7	  5&lt;br /&gt;
 10	  5	  8	  5&lt;br /&gt;
  9	  7	  7	  6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
{ 6 _10 }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
(A+B) - (GA + GB) specifically compares generic and nongeneric cola. It is (8 + 7) - (4 + 5).&lt;br /&gt;
}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{Calculate the standard error for L1 (L1 = A + B - GA - GB). Keep in mind this is a repeated-measures design.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;A	GA	B	GB&lt;br /&gt;
  9	  6	  8	  5&lt;br /&gt;
 10	  6	  9	  7&lt;br /&gt;
 10	  5	  8	  7&lt;br /&gt;
  8	  4	  7	  5&lt;br /&gt;
 10	  5	  8	  5&lt;br /&gt;
  9	  7	  7	  6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
{ 0.654 _10 }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
Compute L1 for each subject: (6, 6, 6, 6, 8, 3) and then compute the standard deviation (1.602) which you then divide by the square root of n (n &amp;amp;#61; 6) to get 0.654.&lt;br /&gt;
}}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{Calculate t for L1 (L1 = A + B - GA - GB)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;A	GA	B	GB&lt;br /&gt;
  9	  6	  8	  5&lt;br /&gt;
 10	  6	  9	  7&lt;br /&gt;
 10	  5	  8	  7&lt;br /&gt;
  8	  4	  7	  5&lt;br /&gt;
 10	  5	  8	  5&lt;br /&gt;
  9	  7	  7	  6&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|type=&amp;quot;{}&amp;quot;}&lt;br /&gt;
{ 8.919 _10 }&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
{{Show Answer|&lt;br /&gt;
Compute L1 for each subject: (6, 6, 6, 6, 8, 3) and then compute the mean (5.833) and standard deviation (1.602) which you then divide by the square root of n (n &amp;amp;#61; 6) to get 0.654 Then divide the mean by the standard error of 0.654 to get 8.919.&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>