<?xml version="1.0"?>
<?xml:stylesheet type="text/xsl" href="MultiBook.xsl" ?>
<chapter>
	<number>4</number>
	<author>David W. Stockburger</author>
	<title>Linear Transformations</title>
	<modified>03/17/2001</modified>
	<URL>mlt05.xml</URL>
	<section>
<P><h3>The General Case</h3></P>
<P>Most multivariate statistical methods are built on the foundation of linear transformations. A <index>linear transformation</index> is a weighted combination of scores where each scores is first multiplied by a constant and then the products are summed. In its most general form, a linear transformation appears as follows: </P>
<P>X<SUB>i</SUB>' = w<SUB>0</SUB> + w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB> + ... + w<SUB>k</SUB>X<SUB>ki</SUB></P>
<P>where K is the number of different scores for each subject and X' is the linear combination of all the scores for a given individual. </P>
		<TestItem type="MC">
			<question>In a linear transformation</question>
			<answer type="correct">each score is multiplied by a constant and the products are summed.</answer>
			<answer>a single score is transformed into two or more scores.</answer>
			<answer>the scores are summed and then multiplied by a constant.</answer>
			<answer>a line is drawn connecting the lowest and highest scores.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem> 
<P>A linear transformation combines a number of scores into a single score. A linear transformation is useful in that it is cognitively simpler to deal with a single number, the transformed score, than it is to deal with many numbers individually. For example, suppose a statistics teacher had records of absences (X<SUB>1</SUB>) and number of missed homework assignments (X<SUB>2</SUB>) during a semester for six students (N=6).</P>
<P><table cellPadding="5" cellSpacing="2" summary = " Number of Absences and Missed Assignments for Six Students " title="Raw Data">
  <tcaption>Number of Absences and Missed Assignments for Six Students</tcaption> 
<TR><TH scope = "col" colspan = "1"></TH><TH scope = "col" colspan = "1">Absences</TH> <TH scope = "col" colspan = "1">Missed Assignments</TH></TR>
<TR><TD>Student (i)</TD><TD>X<SUB>1i</SUB></TD><TD>X<SUB>2i</SUB></TD></TR>
<TR><TD>1</TD><TD>10</TD><TD>2</TD></TR>
<TR><TD>2</TD><TD>12</TD><TD>4</TD></TR>
<TR><TD>3</TD><TD>8</TD><TD>3</TD></TR>
<TR><TD>4</TD><TD>14</TD><TD>6</TD></TR>
<TR><TD>5</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>6</TD><TD>4</TD><TD>2</TD></TR>
</table>
</P>
<P>The teacher wishes to combine these separate measures into a single measure of student <index>tardiness</index>. The teacher could just add the two numbers together, with implied weights of one for each variable.  This solution is rejected, however, as more weight would be given to absences than missed assignments because absences have greater <index>variability</index>. The solution, the teacher decides, is to take the sum of one-half of the absences and twice the missed homework assignments. This would result in a linear transformation of the following form:</P>
<P>X<SUB>i</SUB>' = w<SUB>0</SUB> + w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB> </P>
<P>where: w<SUB>0</SUB> = 0, w<SUB>1</SUB> = .5, and w<SUB>2</SUB> = 2 giving</P>
<P>X<SUB>i</SUB>' = .5X<SUB>1i</SUB> + 2X<SUB>2i</SUB></P>
<P>Application of this transformation to the first subject's scores would result in the following: </P>
<P>X<SUB>i</SUB>' = .5X<SUB>1i</SUB> + 2X<SUB>2i</SUB></P><P>X<SUB>i</SUB>' = .5*10 + 2*2 = 5 + 4 = 9</P>
<P>The following table results when the linear transformation is applied to all scores for each of the six students: </P>
<P><table cellPadding="5" cellSpacing="2" summary = "Tardiness" title="First tardiness measure">
  <tcaption>Computed Tardiness for Six Students</tcaption> 
<TR><TH scope = "col" colspan = "1"></TH><TH scope = "col" colspan = "1">Absences</TH> <TH scope = "col" colspan = "1">Missed Assignments</TH><TH scope = "col" colspan = "1"> Tardiness</TH></TR>
<TR><TD>Student (i)</TD><TD>X<SUB>1i</SUB></TD><TD>X<SUB>2i</SUB></TD><TD>X'<SUB>i</SUB></TD></TR>
<TR><TD>1</TD><TD>10</TD><TD>2</TD><TD>9</TD></TR>
<TR><TD>2</TD><TD>12</TD><TD>4</TD><TD>14</TD></TR>
<TR><TD>3</TD><TD>8</TD><TD>3</TD><TD>10</TD></TR>
<TR><TD>4</TD><TD>14</TD><TD>6</TD><TD>19</TD></TR>
<TR><TD>5</TD><TD>0</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>6</TD><TD>4</TD><TD>2</TD><TD>6</TD></TR>
<TR><TD>Mean</TD><TD>8</TD><TD>2.833</TD><TD>9.667</TD></TR>
<TR><TD>s.d.</TD><TD>5.215</TD><TD>2.041</TD><TD>6.532</TD></TR>
<TR><TD>Var.</TD><TD>27.196</TD><TD>4.166</TD><TD>42.665</TD></TR>
</table>
</P>
		<TestItem type="MC">
			<question>In a linear transformation where Y = 10 + 3*X1 - 2*X2, if X1=10 and X2=20, the resulting value for Y would be</question>
			<answer type="correct">0</answer>
			<answer>10</answer>
			<answer>-10</answer>
			<answer>13.375</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem> 
<P>As can be seen, student number 4 has the largest measure of tardiness with a score of 19.</P>
<P><h3>The Mean and Variance of the Transformed Scores</h3></P>
	<TestItem type="MC">
		<question>In a linear transformation with two variables </question>
		<answer type="correct">the transformed mean is a weighted sum of the variable means</answer>
		<answer type="incorrect">the transformed variance is a weighted sum of the variable variances</answer>
		<answer type="incorrect">both the means and the variances are weighted sums.</answer>
		<answer type="incorrect">neither the means and the variances are weighted sums.</answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
<P>As in the section on simple linear transformations, the <index>mean</index> and <index>standard deviation</index> of the transformed scores are related to the mean and standard deviation of the scores combined to create the transformed score. In addition, when transforming more than a single score into a combined score, the <index>correlation coefficient</index> between the scores affects the size of the resulting transformed <index>variance</index> and standard deviation. The formulas that describe the relationship between the means, standard deviations, and variances of the scores are presented below:</P>
<P><X-Mean />' = w<SUB>0</SUB> + w<SUB>1</SUB> <X-Mean /><SUB>1</SUB> + w<SUB>2</SUB> <X-Mean /><SUB>2</SUB></P>
<P>s<SUB>x'</SUB><SUP>2</SUP> = w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> + 2w<SUB>1</SUB>w<SUB>2</SUB>s<SUB>1</SUB>s<SUB>2</SUB>r<SUB>12</SUB></P>
<P>Application of these formulas to the example data results in the following, where the correlation (r<SUB>12</SUB>)between the X<SUB>1i</SUB> and X<SUB>2i</SUB> is .902:</P>
<P><X-Mean />' = w<SUB>0</SUB> + w<SUB>1</SUB> <X-Mean /><SUB>1</SUB> + w<SUB>2</SUB> <X-Mean /><SUB>2</SUB></P>
<P><X-Mean />' = 0 + .5*8 + 2*2.833 = 4 + 5.66 = 9.66</P>
<P>s<SUB>x'</SUB><SUP>2</SUP> = w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> + 2*w<SUB>1</SUB>w<SUB>2</SUB>s<SUB>1</SUB>s<SUB>2</SUB>r<SUB>12</SUB></P>
<P>s<SUB>x'</SUB><SUP>2</SUP> = .5<SUP>2</SUP>*5.215<SUP>2</SUP> + 2<SUP>2</SUP>*2.041<SUP>2</SUP> + 2*.5*2*5.215*2.041*.902 </P>
<P>= .25*27.196 + 4*4.166 + 19.202 = 42.665</P>
<P>Note that the values computed with these formulas agree with the actual values presented in an earlier table. </P>
<P>When combining two variables in a linear transformation the variance of the transformed scores is a function of the variances of the individual variables and the correlation between the variables. A number of possibilities exist, depending upon sign of the correlation coefficient and the signs of the weights.</P>
		<TestItem type="MC">
			<question>In a linear transformation where Y = 10 + 3*X1 - 2*X2, if the mean of  X1=20, the mean of X2=10, the standard deviation of X1=4, the standard deviation of X2=6, and the correlation coefficient between X1 and X2 r=.5, the resulting value for the mean of Y would be</question>
			<answer type="correct">50</answer>
			<answer>0</answer>
			<answer>-10</answer>
			<answer>10</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem> 
		<TestItem type="MC">
			<question>In a linear transformation where Y = 10 + 3*X1 - 2*X2, if the mean of  X1=20, the mean of X2=10, the standard deviation of X1=4, the standard deviation of X2=6, and the correlation coefficient between X1 and X2 r=.5, the resulting value for the standard deviation of Y would be</question>
			<answer type="correct">12</answer>
			<answer>288</answer>
			<answer>144</answer>
			<answer>10</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem> 
		<TestItem type="MC">
			<question>In a linear transformation with two variables, the variance of the transformed variable will be larger than the sum of the squared weights times the variance of the two variables</question>
			<answer type="correct">if both weights are negative and the correlation is positive.</answer>
			<answer>if one of the weights is positive and the other is negative and the correlation is positive.</answer>
			<answer>if both weights are negative and the correlation is negative.</answer>
			<answer>in all cases.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
		<TestItem type="MC">
			<question> In a linear transformation with two variables, the variance of the transformed variable will be equal to the sum of the squared weights times the variance of the two variables </question>
			<answer type="correct">if the correlation is zero.</answer>
			<answer>if both weights are negative and the correlation is positive.</answer>
			<answer>in all cases.</answer>
			<answer> if both weights are negative and the correlation is positive.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P><ul>
<li>If the correlation between the variables is zero, then the variance of the transformed score will be a weighted sum of the variances of the individual scores. </li>
s<SUB>x'</SUB><SUP>2</SUP> = w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP><BR/><BR/>
<li>If the correlation between the variables is positive then, then the resulting variance will be greater than the weighted sum of the individual variances if both weights are positive or both are negative, otherwise the variance will decrease. </li>
<li>If the correlation between the individual scores is negative, then the resulting variance will be less than the weighted sum of the individual variances if both weights are positive or both are negative, otherwise the variance will increase. </li></ul>
</P>
</section>
<section>
<P><h3>Graphic Representations of Transformations</h3></P>
<P>The pairs of data may be represented as <index>points</index> on a <index>scatter plot</index>. For example, the six pairs of example data appear as six points on the following scatter plot. </P>
<P>
	<figure>
		<description>Five blue dots appear as points on a scatter plot of missed homework assignments and absences. The two variables appear to be fairly highly positively correlated. </description>
		<url> Images/mlt0501.gif </url>
		<width>358</width>
		<height>189</height>
		<align></align>
		<caption>Scatter Plot of Missed Homework Assignments and Absences.</caption>
		<alt>Scatter Plot of Missed Homework Assignments and Absences</alt>
	</figure>
</P>
<P> The <index>linear transformation</index>, defined by the equation X<SUB>i</SUB>' = w<SUB>0</SUB> + w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB>, may be represented as a rotation of the axes of the scatter plot. The first step is to identify the point (w<SUB>1</SUB>,w<SUB>2</SUB>) on the graph. In the example transformation, X<SUB>i</SUB>' = .5*X<SUB>1i</SUB> + 2*X<SUB>2i</SUB>, this point would be (.5,2). On the example below this point is drawn using a red X.</P>
<P>The next step is to draw a line from the <index>origin</index> (0,0) through the point just identified. This line will be the <index>rotated axis</index> and on the example below, it is the green line that appears at an angle to the original y-axis.
</P>
<P>The final step is to project the points on the scatter plot onto the new axis by drawing a line perpendicular from the new axis through the points. The point where these lines cross the new axis will be their transformed value. For example, the point (8,3) is transformed into a value of 10 (.5*8 + 2*3 = 10) on the new axis. Note that the relative spacing between the projected points on the graph below preserves the differences between the transformed values, i.e. the distance between 6 and 10 is the same as the distance between 10 and 14.
</P>
 		<TestItem type="MC">
			<question>Which of the lines on the grid best describes the equation Y = 10 + 16*X1 + 12*X2?</question>
				<figure>
					<description>Four lines, labeled a, b, c, and d are drawn on a grid.</description>
					<url>linear.gif</url>
					<width>318</width>
					<height>323</height>
					<align></align>
					<caption>Four lines.</caption>
					<alt>Four lines</alt>
				</figure>
			<answer type="correct">b.</answer>
			<answer>a.</answer>
			<answer>c.</answer>
			<answer>d.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
		<TestItem type="MC">
			<question>Which of the lines on the grid best describes the equation Y = -100 - 16*X1 - 12*X2?</question>
				<figure>
					<description>Four lines, labeled a, b, c, and d are drawn on a grid.</description>
					<url>linear.gif</url>
					<width>318</width>
					<height>323</height>
					<align></align>
					<caption>Four lines.</caption>
					<alt>Four lines</alt>
				</figure>
			<answer type="correct">b.</answer>
			<answer>a.</answer>
			<answer>c.</answer>
			<answer>d.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
		<TestItem type="MC">
			<question>Which of the lines on the grid best describes the equation Y = 100 + X1 + 7*X2?</question>
				<figure>
					<description>Four lines, labeled a, b, c, and d are drawn on a grid.</description>
					<url>linear.gif</url>
					<width>318</width>
					<height>323</height>
					<align></align>
					<caption>Four lines.</caption>
					<alt>Four lines</alt>
				</figure>
			<answer type="correct">d.</answer>
			<answer>b.</answer>
			<answer>c.</answer>
			<answer>a.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
		<TestItem type="MC">
			<question>Which of the lines on the grid best describes the equation Y = -100 - 16*X1 + 12*X2?</question>
				<figure>
					<description>Four lines, labeled a, b, c, and d are drawn on a grid.</description>
					<url>linear.gif</url>
					<width>318</width>
					<height>323</height>
					<align></align>
					<caption>Four lines.</caption>
					<alt>Four lines</alt>
				</figure>
			<answer type="correct">c.</answer>
			<answer>b.</answer>
			<answer>a.</answer>
			<answer>d.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>

<P>
	<figure>
		<description> Five blue dots appear as points on a scatter plot of missed homework assignments and absences. The two variables appear to be fairly highly positively correlated. A red X is drawn at the point (.5,2) and a green line, the new axis, is drawn from the origin through that point. The points on the scatter plot are projected onto the new axis by drawing a line perpendicular from the axis to the point. The points where the points project onto the new axis are identified as numbers corresponding to the transformed values. For example, the point (8,3) projects onto 10 on the new axis.</description>
		<url> Images/mlt0503.gif </url>
		<width>359</width>
		<height>263</height>
		<align></align>
		<caption>Projecting the points onto the rotated axis.</caption>
		<alt> Projecting the points onto the rotated axis.</alt>
	</figure>
</P> 
<P>
Adding a <index>constant term</index> (w<SUB>0</SUB>) other than zero moves the <index>origin</index> on the new axis. Performing a linear transformation of the following form:</P>
<P>X<SUB>i</SUB>' = w<SUB>0</SUB> + w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB> </P>
		<TestItem type="MC">
			<question>How does increasing the value of w0 in the equation Y = w0 + w1*X1 + w2*x2, change the graph of the line?</question>
			<answer type="correct">changes the origin.</answer>
			<answer>makes the line steeper.</answer>
			<answer>makes the line less steep.</answer>
			<answer>rotates the axis by the sin(w0).</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>where: w<SUB>0</SUB> = 4, w<SUB>1</SUB> = .5, and w<SUB>2</SUB> = 2 giving</P>
<P>X<SUB>i</SUB>' = 4 + .5X<SUB>1i</SUB> + 2X<SUB>2i</SUB></P>
<P>Application of this transformation to the first subject's scores would result in the following: </P>
<P>X<SUB>i</SUB>' = 4 + .5X<SUB>1i</SUB> + 2X<SUB>2i</SUB></P><P>X<SUB>i</SUB>' = 4 + .5*10 + 2*2 = 5 + 4 = 13</P>
<P>The following table results when the linear transformation is applied to all scores for each of the six students: </P>
<P><table cellPadding="5" cellSpacing="2" summary = "Tardiness" title="First tardiness measure">
  <tcaption>Computed Tardiness with Constant Term for Six Students</tcaption> 
<TR><TH scope = "col" colspan = "1"></TH><TH scope = "col" colspan = "1">Absences</TH> <TH scope = "col" colspan = "1">Missed Assignments</TH><TH scope = "col" colspan = "1"> Tardiness</TH></TR>
<TR><TD>Student (i)</TD><TD>X<SUB>1i</SUB></TD><TD>X<SUB>2i</SUB></TD><TD>X'<SUB>i</SUB></TD></TR>
<TR><TD>1</TD><TD>10</TD><TD>2</TD><TD>13</TD></TR>
<TR><TD>2</TD><TD>12</TD><TD>4</TD><TD>17</TD></TR>
<TR><TD>3</TD><TD>8</TD><TD>3</TD><TD>14</TD></TR>
<TR><TD>4</TD><TD>14</TD><TD>6</TD><TD>23</TD></TR>
<TR><TD>5</TD><TD>0</TD><TD>0</TD><TD>4</TD></TR>
<TR><TD>6</TD><TD>4</TD><TD>2</TD><TD>10</TD></TR>
<TR><TD>Mean</TD><TD>8</TD><TD>2.833</TD><TD>13.667</TD></TR>
<TR><TD>s.d.</TD><TD>5.215</TD><TD>2.041</TD><TD>6.532</TD></TR>
<TR><TD>Var.</TD><TD>27.196</TD><TD>4.166</TD><TD>42.665</TD></TR>
</table>
</P>
<P>This transformation can be visualized on the following scatter plot. Note that the rotated axis is identical to the previous illustration, but the origin, shown as a red dot, has been moved.
</P>
<P>
	<figure>
		<description> Five blue dots appear as points on a scatter plot of missed homework assignments and absences. The two variables appear to be fairly highly positively correlated. A red X is drawn at the point (.5,2) and a green line, the new axis, is drawn from the origin through that point. A red dot, drawn below the original axis on the rotated axis, identifies the new origin of the transformation. The points on the scatter plot are projected onto the new axis by drawing a line perpendicular from the axis to the point. The points where the points project onto the new axis are identified as numbers corresponding to the transformed values. For example, the point (8,3) projects onto 14 on the new axis.</description>
		<url> Images/mlt0502.gif </url>
		<width>359</width>
		<height>263</height>
		<align></align>
		<caption>Projecting the points onto the rotated axis with a constant term.</caption>
		<alt>Projecting the points onto the rotated axis with a constant term.</alt>
	</figure>
</P> 
<P>
Another linear transformation of the following form will now be illustrated:</P>
<P>X<SUB>i</SUB>' = w<SUB>0</SUB> + w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB> </P>
<P>where: w<SUB>0</SUB> = 0, w<SUB>1</SUB> = 2, and w<SUB>2</SUB> = .5 giving</P>
<P>X<SUB>i</SUB>' = 2X<SUB>1i</SUB> + .5X<SUB>2i</SUB></P>
<P>Application of this transformation to the first subject's scores would result in the following: </P>
<P>X<SUB>i</SUB>' = 2X<SUB>1i</SUB> + .5X<SUB>2i</SUB></P><P>X<SUB>i</SUB>' = 2*10 + .5*2 = 20 + 1 = 21</P>
<P>The following table results when the linear transformation is applied to all scores for each of the six students: </P>
<P><table cellPadding="5" cellSpacing="2" summary = "Tardiness" title="First tardiness measure">
  <tcaption>Second Measure of Computed Tardiness for Six Students</tcaption> 
<TR><TH scope = "col" colspan = "1"></TH><TH scope = "col" colspan = "1">Absences</TH> <TH scope = "col" colspan = "1">Missed Assignments</TH><TH scope = "col" colspan = "1"> Tardiness</TH></TR>
<TR><TD>Student (i)</TD><TD>X<SUB>1i</SUB></TD><TD>X<SUB>2i</SUB></TD><TD>X'<SUB>i</SUB></TD></TR>
<TR><TD>1</TD><TD>10</TD><TD>2</TD><TD>21</TD></TR>
<TR><TD>2</TD><TD>12</TD><TD>4</TD><TD>26</TD></TR>
<TR><TD>3</TD><TD>8</TD><TD>3</TD><TD>17.5</TD></TR>
<TR><TD>4</TD><TD>14</TD><TD>6</TD><TD>31</TD></TR>
<TR><TD>5</TD><TD>0</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>6</TD><TD>4</TD><TD>2</TD><TD>9</TD></TR>
<TR><TD>Mean</TD><TD>8</TD><TD>2.833</TD><TD>17.42</TD></TR>
<TR><TD>s.d.</TD><TD>5.215</TD><TD>2.041</TD><TD>11.36</TD></TR>
<TR><TD>Var.</TD><TD>27.196</TD><TD>4.166</TD><TD>129.04</TD></TR>
</table>
</P>
<P>As before, the rotated axis is drawn by first identifying a point corresponding to the weights of the transformation (2, .5) and then drawing a line perpendicular to the new axis through the points.  Note that the ordering of the points on the transformation axis is slightly different from the ordering in the previous examples. Note also that the <index>rotated axis</index> defining the transformation seems to "pass through" the points to a much greater extent than the first transformations. Note also that the variance of the resulting points has increased.</P>
<P>
	<figure>
		<description> Five blue dots appear as points on a scatter plot of missed homework assignments and absences. The two variables appear to be fairly highly positively correlated. A red X is drawn at the point (2,.5) and a green line, the new axis, is drawn from the origin through that point. The points on the scatter plot are projected onto the new axis by drawing a line perpendicular from the axis to the point. The points where the points project onto the new axis are identified as numbers corresponding to the transformed values. For example, the point (8,3) projects onto 17.5 on the new axis.</description>
		<url> Images/mlt0529.gif </url>
		<width>368</width>
		<height>201</height>
		<align></align>
		<caption>A Second transformation projecting the points onto the rotated axis.</caption>
		<alt>A second transformation projecting the points onto the rotated axis.</alt>
	</figure>
</P> 
</section>
<section>
<P><h3>Similar Transformations as Multiples of Weights</h3></P>
		<TestItem type="MC">
			<question>Which of the following transformations would share the same rotated axis as Y = 20 + 3*X1 - 4*X2?</question>
			<answer type="correct"> Y = -10 - 15*X1 + 20*X2</answer>
			<answer>Y = 20 + 3*X1 + 4*X2</answer>
			<answer>Y = 4*X1 + 3*X2</answer>
			<answer>Y = 20 + 4*X1 - 5*X2</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>Another transformation may be selected that takes the form:</P>
<P>X<SUB>i</SUB>' = 1.5 X<SUB>1i</SUB> + 6 X<SUB>2i</SUB>.</P>
<P>The transformed values are presented in the table below. Note that the new values of both w<SUB>1</SUB> and w<SUB>2</SUB> are three times the values of the first transformation illustrated in this chapter. The transformed scores and resulting <index>mean</index> and <index>standard deviation</index> are all three times the size of the first transformation.</P>
<P><table cellPadding="5" cellSpacing="2" summary = "Computation of transformed scores" title=" Another Measure of Computed Tardiness as a Multiple of the First Measure ">
  <tcaption>Another Measure of Computed Tardiness</tcaption>
<TR><TD>Student (i)</TD><TD>X<SUB>1i</SUB></TD><TD>X<SUB>2i</SUB></TD><TD>X'<SUB>i</SUB></TD></TR>
<TR><TD>1</TD><TD>10</TD><TD>2</TD><TD>27</TD></TR>
<TR><TD>2</TD><TD>12</TD><TD>4</TD><TD>52</TD></TR>
<TR><TD>3</TD><TD>8</TD><TD>3</TD><TD>30</TD></TR>
<TR><TD>4</TD><TD>14</TD><TD>6</TD><TD>57</TD></TR>
<TR><TD>5</TD><TD>0</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>6</TD><TD>4</TD><TD>2</TD><TD>18</TD></TR>
<TR><TD>Mean</TD><TD>8</TD><TD>2.833</TD><TD>29</TD></TR>
<TR><TD>s. d.</TD><TD>5.215</TD><TD>2.041</TD><TD>19.596</TD></TR>
</table>
</P>
<P>The line defining the transformation is drawn on the scatter plot below. Note that the rotated axis defining the transformation is identical to the first transformation discussed in this chapter.
</P>
<P>
	<figure>
		<description> Five blue dots appear as points on a scatter plot of missed homework assignments and absences. The two variables appear to be fairly highly positively correlated. A red X is drawn at the point (1.5,6) and a green line, the new axis, is drawn from the origin through that point. The points on the scatter plot are projected onto the new axis by drawing a line perpendicular from the axis to the point. The points where the points project onto the new axis are identified as numbers corresponding to the transformed values. For example, the point (8,3) projects onto 30 on the new axis.</description>
		<url> Images/mlt0504.gif </url>
		<width>359</width>
		<height>263</height>
		<align></align>
		<caption>Projecting the points onto the rotated axis.</caption>
		<alt> Projecting the points onto the rotated axis.</alt>
	</figure>
</P> 
	<TestItem type="MC">
		<question>The same line can represent two different linear transformations of two variables if </question>
		<answer type="incorrect">the variables have equal means</answer>
		<answer type="incorrect">the variables have equal variances</answer>
		<answer type="incorrect">the value of w<sub>0</sub> = 0</answer>
		<answer type="correct">w<sub>1</sub>/w<sub>2</sub> = w"<sub>1</sub>/w"<sub>2</sub></answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
<P>In some ways, then, all transformations where the weights are a multiple of another transformation are similar, sharing the same rotated axis. The <index>correlation coefficient</index> between the resulting values of such transformations will be 1.0. In general, if w<SUB>1</SUB>/w<SUB>2</SUB> = w<SUB>1</SUB>*/w<SUB>2</SUB>*, then the transformations are similar except for a multiplicative constant.</P>
<P>Statisticians are interested in the <index>linear transformation</index> that maximizes the obtained variance. It is obvious, however, that increasing the size of the transformation weights will arbitrarily increase the variance of the obtained transformed scores. In order to control for this artifact, the scores will first be mean centered and then restrictions will be placed on the transformation weights so that similar transformations sharing the same rotation of the axis will be treated as a single transformation.</P>
<section>
</section>
<P><h3>Mean Centered Transformations</h3></P>
<P>A linear transformation is called a <index>mean centered</index> transformation if the mean is subtracted from the scores before the linear transformation is done. Mean centering basically allows a cleaner view of the data. The following table presents the results of mean centering the example data and applying the transformation X<SUB>i</SUB>' = .5X<SUB>1i</SUB> + 2X<SUB>2i.</SUB></P>
		<TestItem type="MC">
			<question>Mean-centering</question>
			<answer type="correct">allows a cleaner view of the data.</answer>
			<answer>rotates the axes in a clockwise direction.</answer>
			<answer>changes the variance of the variables.</answer>
			<answer>is another name for standardizing the variables.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P><table cellPadding="2" cellSpacing="5" summary = "The mean of the variable is subtracted from each score." title="Mean centering the raw data.">
  <tcaption>Transforming Mean Centered the Data</tcaption>
<TR><TD>Score</TD><TD>X<SUB>1</SUB></TD><TD>X<SUB>1</SUB> - <X-Mean /><SUB>1</SUB></TD><TD>X<SUB>2</SUB></TD><TD>X<SUB>2</SUB> - <X-Mean /><SUB>2</SUB></TD><TD>X'</TD></TR>
<TR><TD>1</TD><TD>10</TD><TD>2</TD><TD>2</TD><TD>-.833</TD><TD>-.667</TD></TR>
<TR><TD>2</TD><TD>12</TD><TD>4</TD><TD>4</TD><TD>1.167</TD><TD>4.333</TD></TR>
<TR><TD>3</TD><TD>8</TD><TD>0</TD><TD>3</TD><TD>.167</TD><TD>.333</TD></TR>
<TR><TD>4</TD><TD>14</TD><TD>6</TD><TD>6</TD><TD>3.167</TD><TD>9.333</TD></TR>
<TR><TD>5</TD><TD>0</TD><TD>-8</TD><TD>0</TD><TD>-2.833</TD><TD>-9.667</TD></TR>
<TR><TD>6</TD><TD>4</TD><TD>-4</TD><TD>2</TD><TD>-.833</TD><TD>-3.667</TD></TR>
<TR><TD>Mean</TD><TD>8</TD><TD>0</TD><TD>2.833</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>s.d.</TD><TD>5.215</TD><TD>5.125</TD><TD>2.041</TD><TD>2.041</TD><TD>6.531</TD></TR>
<TR><TD>Variance</TD><TD>27.2</TD><TD>27.2</TD><TD>4.167</TD><TD>4.167</TD><TD>42.650</TD></TR>
</table>
<P>Note that the mean of the transformation is zero, but the standard deviation and <index>variance</index> are identical to those previously calculated using the same transformation weights. Mean centering the data has the effect of changing the origin of the scatter plot to the intersection of the two means.</P>
</P>
<section>
</section>
<P><h3>Normalized Linear Transformations</h3></P>
<P>As stated earlier, one possible goal of performing a linear transformation is to <index>maximize the variance</index> of the transformed scores. It was observed, however, that simply making the transformation weights larger could arbitrarily increase the variance of the transformed variable and that some sort of restriction limiting the size of the weights would need to be imposed. Normalizing the transformation weights imposes that restriction.
</P>
	<TestItem type="MC">
		<question>Which of the following transformations is a normalized linear transformation </question>
		<answer type="incorrect">.5 X<sub>1</sub> + .5 X<sub>2</sub></answer>
		<answer type="incorrect">.3 X<sub>1</sub> - .7 X<sub>2</sub></answer>
		<answer type="correct">.6 X<sub>1</sub> - .8 X<sub>2</sub></answer>
		<answer type="incorrect">X<sub>1</sub> + X<sub>2</sub></answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
	<TestItem type="MC">
		<question>Which of the following transformations is a normalized linear transformation </question>
		<answer type="incorrect">.5 X<sub>1</sub> + .5 X<sub>2</sub></answer>
		<answer type="correct">.707 X<sub>1</sub> - .707 X<sub>2</sub></answer>
		<answer type="incorrect">.68 X<sub>1</sub> - .86 X<sub>2</sub></answer>
		<answer type="incorrect">X<sub>1</sub> - X<sub>2</sub></answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
	<TestItem type="MC">
		<question>Where X" = w<sub>1</sub>X<sub>1</sub> + w<sub>2</sub>X<sub>2</sub>,   X"" = -w<sub>2</sub>X<sub>1</sub> + w<sub>1</sub>X<sub>2</sub>, and w<sub>1</sub>X<sub>2</sub> + w<sub>2</sub>X<sub>2</sub> = 1.00 </question>
		<answer type="incorrect">the means after the transformation are equal to the means before transformation</answer>
		<answer type="incorrect">s" + s"" = s<sub>1</sub> + s<sub>2</sub></answer>
		<answer type="correct">s"<sup>2</sup> + s""<sup>2</sup> = s<sub>1</sub><sup>2</sup> + s<sub>2</sub><sup>2</sup></answer>
		<answer type="incorrect">the variances of the transformed scores are called eigenvalues</answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
<P>A linear transformation is said to be normalized if the sum of the squared transformation weights is equal to one, not including w<SUB>0</SUB>. In the case of two variables, any transformation where w<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> = 1 would be a <index>normalized linear transformation</index>. For example, the linear transformation X'<SUB>i</SUB> = .8X<SUB>1i</SUB> + .6X<SUB>2i</SUB> would be a normalized linear transformation because w<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> = .8<SUP>2</SUP> + .6<SUP>2</SUP> = .64 + .36 = 1. </P>
<P>Any linear transformation may be normalized by applying the following formula to its weights. </P>
<P>
	<figure>
		<description>Two equations describing the normalization of transformation weights are discussed. The first normalized weight, w sub 1 prime, is equal to the original weight, w sub 1, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. The second normalized weight, w sub 2 prime, is equal to the original weight, w sub 2, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. </description>
		<url> Images/mlt058.gif </url>
		<width>149</width>
		<height>32</height>
		<align></align>
		<caption></caption>
		<alt> Normalizing the transformation weights for the first weight.</alt>
	</figure>
</P> 
<P>
	<figure>
		<description> Two equations describing the normalization of transformation weights are discussed. The first normalized weight, w sub 1 prime, is equal to the original weight, w sub 1, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. The second normalized weight, w sub 2 prime, is equal to the original weight, w sub 2, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. </description>
		<url> Images/mlt059.gif </url>
		<width>156</width>
		<height>32</height>
		<align></align>
		<caption>Normalizing the transformation weights.</caption>
		<alt> Normalizing the transformation weights for the second weight.</alt>
	</figure>
</P> <P>For example, the transformation X' = .5X<SUB>1</SUB> + 2X<SUB>2</SUB> could be normalized by transforming the weights to values of </P>
<P>
	<figure>
		<description> Two equations describing the normalization of transformation weights are discussed. The first normalized weight, w sub 1 prime, is equal to the original weight, w sub 1, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. This equation has the values of .5 substituted for the first weight, w sub 1, and 2 for the second weight, w sub 2. Calculating the result yields a value of .2425. The second normalized weight, w sub 2 prime, is equal to the original weight, w sub 2, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. A similar substitution is done with the result being .9701. </description>
		<url> Images/mlt0510.gif </url>
		<width>420</width>
		<height>32</height>
		<align></align>
		<caption></caption>
		<alt> An example illustrating the normalization of transformation weights.</alt>
	</figure>
</P>
<P>
	<figure>
		<description> Two equations describing the normalization of transformation weights are discussed. The first normalized weight, w sub 1 prime, is equal to the original weight, w sub 1, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. This equation has the values of .5 substituted for the first weight, w sub 1, and 2 for the second weight, w sub 2. Calculating the result yields a value of .2425. The second normalized weight, w sub 2 prime, is equal to the original weight, w sub 2, divided by the square root of the sum of the squared weights, w sub 1 squared plus w sub 2 squared. A similar substitution is done with the result being .9701. </description>
		<url> Images/mlt0511.gif </url>
		<width>286</width>
		<height>32</height>
		<align></align>
		<caption> An example illustrating the normalization of transformation weights.</caption>
		<alt> An example illustrating the normalization of transformation weights.</alt>
	</figure>
</P>
<P>Note that w<SUB>1</SUB>'<SUP>2</SUP> + w<SUB>2</SUB>'<SUP>2</SUP> = .2425<SUP>2</SUP> + .9701<SUP>2</SUP> = .0588 + .9411 = .9999 and -w<SUB>1</SUB>/w<SUB>2</SUB> = -.5/2 =-.25 = -w<SUB>1</SUB>'/w<SUB>2</SUB>' = -.2425/.9701 = -.25. The first result implying that the transformation is a normalized linear transformation and the second implying that the same line defines both transformations.</P>
		<TestItem type="MC">
			<question>The transformation Y = 5*X1 - 8*X2 could be normalized to </question>
			<answer type="correct">.53*X1 - .85*X2</answer>
			<answer>.85*X1 + .53*X2</answer>
			<answer>.707*X1 - .707*X2</answer>
			<answer>.8*X1 - .6*X2</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
		<TestItem type="MC">
			<question>The advantage of standardized normalized transformations when maximizing total variance is</question>
			<answer type="correct">the variances cannot be made larger simply by making the weights arbitrarily large.</answer>
			<answer>the first derivative will always be equal to zero.</answer>
			<answer>the means will always be equal to zero.</answer>
			<answer>the rotated axes will always be perpendicular.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>The advantages of mean centering and normalizing a linear transformation include:</P>
<P><nl>
<li>The transformed values will be measured on the same scale as the original variables. In other words, the units of measurement on the projection line will not shrink or grow as they did in the previous examples. The units will remain constant and will be the same as both the x and y axes. </li>
<li>The normalized weights are the <index>sine</index> and <index>cosine</index> of the line defining the transformation.</li></nl>
</P>
</section>
<section>
<P><h3>Two Simultaneous Normalized Linear Transformation</h3></P>
		<TestItem type="MC">
			<question>A rotation perpendicular to Y = .6*X1 - .8*X2 would be</question>
			<answer type="correct">Y = .8*X1 + .6*X2</answer>
			<answer>Y = -.6*X1 + .8*X2</answer>
			<answer>Y = .68*X1 + .86*X2</answer>
			<answer>Y = .8*X1 - .6*X2</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>Given that a <index>normalized linear transformation</index>, X<SUB>i</SUB>' = w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB>, has been defined, there exists a second normalized linear transformation, X<SUB>i</SUB>'' = w<SUB>1</SUB>'X<SUB>1i</SUB> + w<SUB>2</SUB>'X<SUB>2i</SUB>, such that w<SUB>1</SUB>' = -w<SUB>2</SUB> and w<SUB>2</SUB>' = w<SUB>1</SUB>. A line that is perpendicular to the line defined by the first normalized transformation will define this second normalized transformation. </P>
<P>The proof that these lines are perpendicular is a fairly simple exercise in geometry, but we will let the illustration below suffice. The red line shows the rotation associated with the first transformation, X' = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB> = .8X<SUB>1</SUB> + .6X<SUB>2</SUB>, while the blue line shows the second, X'' = w'<SUB>1</SUB>X<SUB>1</SUB> + w'<SUB>2</SUB>X<SUB>2</SUB> = -.6X<SUB>1</SUB> + .8X<SUB>2</SUB>.
</P>
<P>
	<figure>
		<description>A grid illustrating axes resulting from two simultaneous normalized linear transformations is shown. The red line shows the rotation associated with the first transformation, X = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB> = .8X<SUB>1</SUB> + .6X<SUB>2</SUB>, while the blue line shows the second, X = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB> = -.6X<SUB>1</SUB> + .8X<SUB>2</SUB>.</description>
		<url> Images/mlt0530.gif </url>
		<width>318</width>
		<height>323</height>
		<align></align>
		<caption>Perpendicular axes in linear transformations with two variables.</caption>
		<alt> Perpendicular axes in linear transformations with two variables </alt>
	</figure>
</P>
		<TestItem type="MC">
			<question>If two variables have been standardized and then transformed with two standardized normal perpendicular transformations, the sum of the variances of the transformed variables will be</question>
			<answer type="correct">2.</answer>
			<answer>the total variance divided by 2.</answer>
			<answer>zero.</answer>
			<answer>the sum of the variances divided by the means.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>In addition, the sum of the transformed <index>variances</index> will be equal to the sum of the variances of the untransformed scores. </P>
<P>For example, application of the normalized transformation X' = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB> = .8X<SUB>1</SUB> + .6X<SUB>2</SUB> and X'' = w'<SUB>1</SUB>X<SUB>1</SUB> + w'<SUB>2</SUB>X<SUB>2</SUB> = -.6X<SUB>1</SUB> + .8X<SUB>2</SUB> to the <index>mean centered</index> example data results in the following table.</P>
<P><table cellPadding="2" cellSpacing="5" summary = "Example linear transformations." title=" Application of two simultaneous linear transformation on mean-centered example data ">
  <tcaption>Application of two simultaneous linear transformation on mean-centered example data.</tcaption>
<TR><TD>Score</TD><TD>X<SUB>1</SUB> - <X-Mean /><SUB>1</SUB></TD><TD>
X<SUB>2</SUB> - <X-Mean /><SUB>2</SUB></TD><TD>X'</TD><TD>X''</TD></TR>
<TR><TD>1</TD><TD>2</TD><TD>-.833</TD><TD>1.10</TD><TD>-1.866</TD></TR>
<TR><TD>2</TD><TD>4</TD><TD>1.167</TD><TD>3.90</TD><TD>-1.466</TD></TR>
<TR><TD>3</TD><TD>0</TD><TD>.167</TD><TD>.10</TD><TD>.134</TD></TR>
<TR><TD>4</TD><TD>6</TD><TD>3.167</TD><TD>6.70</TD><TD>-1.066</TD></TR>
<TR><TD>5</TD><TD>-8</TD><TD>-2.833</TD><TD>-8.10</TD><TD>2.534</TD></TR>
<TR><TD>6</TD><TD>-4</TD><TD>-.833</TD><TD>-3.70</TD><TD>1.737</TD></TR>
<TR><TD>Mean</TD><TD>0</TD><TD>0</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>s.d.</TD><TD>5.125</TD><TD>2.041</TD><TD>5.303</TD><TD>1.801</TD></TR>
<TR><TD>Variance</TD><TD>27.2</TD><TD>4.167</TD><TD>28.124</TD><TD>3.245</TD></TR>
</table>
</P>
<P>Note that both transformations are normalized as w<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> = .8<SUP>2</SUP> + .6<SUP>2</SUP> = .64 + .36 = 1.00 and w'<SUB>1</SUB><SUP>2</SUP> + w'<SUB>2</SUB><SUP>2</SUP> = .6<SUP>2</SUP> + (-.8)<SUP>2</SUP> = .36 + .64 = 1.00. Note also that the sum of the variances of the untransformed variables (s<SUB>1</SUB><SUP>2</SUP> + s<SUB>2</SUB><SUP>2</SUP> = 27.2 + 4.167 = 31.367) is equal to the sum of the variances of the transformed variables (s'<SUP>2</SUP> + s''<SUP>2</SUP> = 28.124 + 3.245 = 31.369), at least within <index>rounding error</index>.</P>
<P>The sum of the transformed variances must always equal the sum of the untransformed variances as the following proves.</P>
<P>Where X' = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB>, X'' = -w'<SUB>2</SUB>X<SUB>1</SUB> + w'<SUB>1</SUB>X<SUB>2</SUB>, and w<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> = 1.00</P>
<P>s'<SUP>2</SUP> + s''<SUP>2</SUP></P> 
<P>(w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> + 2w<SUB>1</SUB>w<SUB>2</SUB>s<SUB>1</SUB>s<SUB>2</SUB>r<SUB>12</SUB>) + ((-w<SUB>2</SUB>)<SUP>2</SUP>s<SUB>1</SUB><SUP>2</SUP> + w<SUB>1</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> + 2(-w<SUB>2</SUB>)w<SUB>1</SUB>s<SUB>1</SUB>s<SUB>2</SUB>r<SUB>12</SUB>)</P>
<P>w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> + 2w<SUB>1</SUB>w<SUB>2</SUB>s<SUB>1</SUB>s<SUB>2</SUB>r<SUB>12</SUB> + w<SUB>2</SUB><SUP>2</SUP>s<SUB>1</SUB><SUP>2</SUP> + w<SUB>1</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> - 2w<SUB>2</SUB>w<SUB>1</SUB>s<SUB>1</SUB>s<SUB>2</SUB>r<SUB>12</SUB>
</P>
<P>w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP>s<SUB>1</SUB><SUP>2</SUP> + w<SUB>1</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP></P>
<P>w<SUB>1</SUB><SUP>2</SUP> s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP>s<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP>+ w<SUB>1</SUB><SUP>2</SUP> s<SUB>2</SUB><SUP>2</SUP>
</P>
<P>(w<SUB>1</SUB><SUP>2</SUP> + w<SUB>2</SUB><SUP>2</SUP>) s<SUB>1</SUB><SUP>2</SUP> + (w<SUB>2</SUB><SUP>2</SUP> + w<SUB>1</SUB><SUP>2</SUP>) s<SUB>2</SUB><SUP>2</SUP></P>
<P>s<SUB>1</SUB><SUP>2</SUP> + s<SUB>2</SUB><SUP>2</SUP></P>
<P>As always, if you are unable (or unwilling) to follow the proofs, you must "believe."</P>
<P><h3>Visualizing Normalized Linear Transformations</h3></P>
<P>The two transformations presented above may be visualized in a manner similar to that described earlier. Conceptually, the axes are rotated and the points are projected onto the new axes.</P>
<P>
	<figure>
		<description> A grid illustrating axes resulting from two simultaneous normalized linear transformations is shown. The red line shows the rotation associated with the first transformation, X = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB> = .8X<SUB>1</SUB> + .6X<SUB>2</SUB>, while the blue line shows the second, X = w<SUB>1</SUB>X<SUB>1</SUB> + w<SUB>2</SUB>X<SUB>2</SUB> = -.6X<SUB>1</SUB> + .8X<SUB>2</SUB>. Points corresponding to the example data are drawn on the graph and projections onto the axes are shown. Numbers corresponding to the transformed scores are written near the axis where the points are projected.</description>
		<url> Images/mlt0512.gif </url>
		<width>437</width>
		<height>306</height>
		<align></align>
		<caption>Two simultaneous linear transformations on the mean-centered example data.</caption>
		<alt> Two simultaneous linear transformations on the mean-centered example data </alt>
	</figure>
</P> 
<P>It appears the variance of X' might be increased if the axes were rotated clockwise even further than the present transformation. At some point the variance would begin to grow smaller again. Obtaining transformation weights that <index>optimize variance</index> is the problem that the next section addresses.</P>
</section>
<section>
<P><h3>Eigenvalues and Eigenvectors</h3></P>
<P>It was shown earlier that the total variability is unchanged when <index>normalized transformations</index> are done on mean centered data. It was also demonstrated that the distribution of variability changed, that is, X' had greater variance than X''. Mathematically, the question can be asked, "can a transformation be found such that one variable has a maximal amount of variance and the other has a minimal amount of variance?" Optimizing linear transformations such that transformed variables contain a maximal amount of variability is the fundamental problem addressed by <index>eigenvalues</index> and <index>eigenvectors</index>. </P>
	<TestItem type="MC">
		<question>The weights that maximize the variance of a normalized linear transformation </question>
		<answer type="correct">are called eigenvectors</answer>
		<answer type="incorrect">will sum to one</answer>
		<answer type="incorrect">demonstrate multicollinearity</answer>
		<answer type="incorrect">represent the eigenvalues</answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
		<TestItem type="MC">
			<question>The maximum and minimum variances in two standard normalized perpendicular transformations</question>
			<answer type="correct">are called eigenvalues.</answer>
			<answer>are called eigenvectors.</answer>
			<answer>will sum to 2.</answer>
			<answer>will be equal to the standard error of estimate.</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>Eigenvalues are the <index>variances</index> of the transformations when an optimal (maximal variance) <index>linear transformation</index> has been found. Eigenvectors are the transformation weights of <index>optimal linear transformations</index>.</P>
<P>Mathematical procedures are available to compute eigenvalues and eigenvectors and will be presented shortly. Before these methods are presented, however, a manual method using an interactive computer exercise will be discussed.</P>
<P><h3>Using the Transformation Program to Find Approximate Eigenvalues and Eigenvectors</h3></P>
<P>The display of the transformation program has been modified by reducing the data pairs to six and rescaling the axes. After clicking on the "Enter Own Data" button, the first step is to enter the mean centered data. After entering the data, click on the "Compute Own Data" button. The means and variances of the data will appear in the appropriately labeled boxes.</P>
<P>
	<figure>
		<description>The data entry portion of the transformation program is shown. Two rows, labeled X sub one and X sub two each have six data columns in addition to a column labeled mean and variance. The numbers in the two rows of the variance column are 27.2 and 4.17.</description>
		<url> Images/mlt0517.gif </url>
		<width>443</width>
		<height>79</height>
		<align></align>
		<caption>Data entry in the transformation program.</caption>
		<alt> Data entry in the transformation program.</alt>
	</figure>
</P> 
<P>In addition, the following scatter plots, controls, and text boxes will appear. Note that the variances of the transformed variables (X<SUP>*</SUP><SUB>1</SUB> and X<SUP>*</SUP><SUB>2</SUB>) are the same as the original variables (X<SUB>1</SUB> and X<SUB>2</SUB>) at the start of the program. The weights are set at values w<SUB>1</SUB>=1 and w<SUB>2</SUB>=0 so that the transformed axes are identical to the original axes.</P>
<P>
	<figure>
		<description>The second half of the linear transformation program is shown. It consists of two scatter plots, the left one showing the transformation with rotated axes and the right one rotating the points rather than the axes. A scroll bar under the graph controls the amount of rotation. Under the scroll bar are two rows of text boxes, corresponding to the first and second simultaneous linear transformations. Included in the information is the variance and the two weights for each transformation.</description>
		<url> Images/mlt0518.gif </url>
		<width>619</width>
		<height>409</height>
		<align></align>
		<caption>Scatter plots and controls in the transformation program.</caption>
		<alt> Scatter plots and controls in the transformation program.</alt>
	</figure>
</P> 
<P>The program is designed to always generate two sets of <index>perpendicular</index> standardized normal  transformations. The user can change the weights in two different ways. Clicking on the large area of the scroll bar causes a fairly large change in the transformation weights. </P>
<P>
	<figure>
		<description>A scroll bar with arrows pointing to the large portion on either side of the bar is shown.</description>
		<url> Images/mlt0515.gif </url>
		<width>505</width>
		<height>32</height>
		<align></align>
		<caption></caption>
		<alt></alt>
	</figure>
</P> 
<P>Clicking on the triangles on either end causes a small change in the transformation weights.</P>
<P>
	<figure>
		<description>A scroll bar with arrows pointing to the triangles at either end of the scroll bar is shown.</description>
		<url> Images/mlt0516.gif </url>
		<width>524</width>
		<height>45</height>
		<align></align>
		<caption></caption>
		<alt></alt>
	</figure>
</P>
<P>In either case, new weights are selected and the variances of the transformed scores are recomputed and displayed. The points on the <index>scatter plot</index> on the left remain unchanged, but the axes are rotated to display the lines defined by the transformations. The scatter plot on the right displays the plot of the transformed scores.</P>
<P>
	<figure>
		<description> The second half of the linear transformation program is shown. It consists of two scatter plots, the left one showing the transformation with rotated axes and the right one rotating the points rather than the axes. A scroll bar under the graph controls the amount of rotation. Under the scroll bar are two rows of text boxes, corresponding to the first and second simultaneous linear transformations. Included in the information is the variance and the two weights for each transformation. This example shows a rotation through the set of points. The values for the two variances are 30.67 and 0.69.</description>
		<url> Images/mlt0514.gif </url>
		<width>620</width>
		<height>414</height>
		<align></align>
		<caption>Rotating the axes in the transformation program.</caption>
		<alt> Rotating the axes in the transformation program.</alt>	
	</figure>
</P> 
<P>The goal is to adjust the axes so that the variance of one of the transformed variables is <index>maximized</index> and the other is minimized. This can be accomplished by first changing the weights with fairly large steps. The variance will continue increasing until a certain point has been reached. At this point begin using smaller steps. Continue until the variance begins to decrease. Because of what I believe is <index>rounding error</index>, the program sometimes behaves badly at this level. Be sure to continue in both directions for a number of small steps before deciding that a maximum and minimum variance has been found.</P>
		<TestItem type="MC">
			<question>The sum of the variances of two standard normalized perpendicular linear transformations will be ______ no matter what the weights.</question>
			<answer type="correct">a constant</answer>
			<answer>equal to zero</answer>
			<answer>eigenvalues</answer>
			<answer>minimized</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>Note that the program automatically normalizes the transformation weights and the sum of the variances remains a constant, no matter what weights are used.</P>
<P>In the example data, the adjustments to the weights were continued until the values in the display were found. Note that the axes pass through the points in the direction that most students intuitively believe is the position of the <index>regression line</index> (it isn't). In this case the eigenvalues would be 30.67 and .69. The two pairs of eigenvectors would be (.936, .352) and (.352, -.936).</P>
<P>Performing a two linear transformations of the following form:</P>
<P>X<SUB>i</SUB>' = w<SUB>1</SUB>X<SUB>1i</SUB> + w<SUB>2</SUB>X<SUB>2i</SUB> </P>
<P>where:  w<SUB>1</SUB> = .936, and w<SUB>2</SUB> = .352 giving</P>
<P>X<SUB>i</SUB>' .936X<SUB>1i</SUB> + .352X<SUB>2i</SUB></P>
<P>and</P>
<P>where:  w<SUB>1</SUB> = .352 and w<SUB>2</SUB> = -.936 giving</P>
<P>X<SUB>i</SUB>" = .352X<SUB>1i</SUB> - .936X<SUB>2i</SUB></P>
<P>The transformations applied to the example data is shown below. Note that the variances of the two variables are equal to the eigenvalues.</P>
<P><table cellPadding="2" cellSpacing="5" summary = "Maximally transformed data." title="Maximally transformed data.">
  <tcaption>Example data transformed using eigenvectors.</tcaption>
<TR><TD>Score</TD><TD>X<SUB>1</SUB> - <X-Mean /><SUB>1</SUB></TD><TD>X<SUB>2</SUB> - <X-Mean /><SUB>2</SUB></TD><TD>X'</TD><TD>X''</TD></TR>
<TR><TD>1</TD><TD>2</TD><TD>-.833</TD><TD>1.579</TD><TD>1.48</TD></TR>
<TR><TD>2</TD><TD>4</TD><TD>1.167</TD><TD>4.155</TD><TD>.316</TD></TR>
<TR><TD>3</TD><TD>0</TD><TD>.167</TD><TD>.059</TD><TD>-.156</TD></TR>
<TR><TD>4</TD><TD>6</TD><TD>3.167</TD><TD>6.731</TD><TD>-.864</TD></TR>
<TR><TD>5</TD><TD>-8</TD><TD>-2.833</TD><TD>-8.485</TD><TD>-.164</TD></TR>
<TR><TD>6</TD><TD>-4</TD><TD>-.833</TD><TD>-4.037</TD><TD>-.628</TD></TR>
<TR><TD>Mean</TD><TD>0</TD><TD>0</TD><TD>0</TD><TD>0</TD></TR>
<TR><TD>s.d.</TD><TD>5.125</TD><TD>2.041</TD><TD>5.538</TD><TD>.835</TD></TR>
<TR><TD>Variance</TD><TD>27.2</TD><TD>4.167</TD><TD>30.672</TD><TD>.696</TD></TR>
</table>
</P>
</section>
<section>
<P><h3>Using SPSS Factor Analysis to Find Eigenvalues and Eigenvectors</h3></P>
<P>It should come as no surprise to the student that mathematical procedures have been developed to find exact <index>eigenvalues</index> and <index>eigenvectors</index> of both this relatively simple case of two variables and far more complicated situations involving linear combinations of many variables.  The procedures involve <index>matrix algebra</index> and are beyond the scope of this text.  The interested reader will find a much more complete and mathematical treatment in <ref>Johnson and Wickren, 1996</ref>.</P>
		<TestItem type="MC">
			<question>Which program in SPSS can be used to find eigenvectors and eigenvalues of linear transformations</question>
			<answer type="correct">factor analysis</answer>
			<answer>discriminant function analysis</answer>
			<answer>multivariate analysis of variance</answer>
			<answer>linear regression</answer>
			<difficulty></difficulty>
			<discriminability></discriminability>
			<author>David Stockburger</author>
			<date>03/21/2001</date>
			<concept>Linear Transformations</concept>
		</TestItem>
<P>Eigenvalues and eigenvectors can be found using the Factor Analysis package of SPSS. Starting with the raw data as variables in a data matrix, the next step is to click on <SPSSCommand>Analyze/Data Reduction/Factor</SPSSCommand>. The display should appear as follows:</P>
<P>
	<figure>
		<description>The user interface for the factor analysis command in SPSS is shown.</description>
		<url> Images/mlt0519.gif </url>
		<width>227</width>
		<height>237</height>
		<align></align>
		<caption>Factor analysis command in SPSS.</caption>
		<alt>Factor analysis command in SPSS.</alt>
	</figure>
</P> 
<P>The program will then display the choices associated with the <index>Factor Analysis package</index>. Select the variables that are to be included in the analysis and click them to the right-hand box. At this point some of the default values associated with the "Extraction" button will need to be modified, so clicking on this button gives the following choices:</P>
<P>
	<figure>
		<description>Two variables, labeled X1 and X2 have been selected in the SPSS factor analysis command.</description>
		<url> Images/mlt0521.gif </url>
		<width>335</width>
		<height>305</height>
		<align></align>
		<caption>Selecting variables in the SPSS factor command.</caption>
		<alt>Selecting variables in the SPSS factor command.</alt>
	</figure>
</P> 
<P>
	<figure>
		<description>The principal components method and covariance matrix have been selected in the factor analysis options in the SPSS factor command. In addition, two factors have been requested.</description>
		<url> Images/mlt0520.gif </url>
		<width>416</width>
		<height>239</height>
		<align></align>
		<caption> Factor extraction options in the SPSS factor command.</caption>
		<alt> Factor extraction options in the SPSS factor command.</alt>
	</figure>
</P>
<P>Checking the "Covariance matrix" will result in the analysis of raw data rather than standardized scores. In addition, the computer will be told that 2 factors will be extracted, rather than allowing the computer to automatically decide how many <index>factors</index> will be extracted. Be sure that the "<index>Principal components</index>" is the selected method for <index>factor extraction</index>. Click on "Continue" and the main factor analysis selections should reappear. Click the "Scores" button to modify the output to print tables that will allow the computation of the <index>eigenvectors</index>. 
</P>
<P>
	<figure>
		<description>The Display factor score coefficient matrix option has been selected in the Scores options in the SPSS factor command.</description>
		<url> Images/mlt0522.gif </url>
		<width>259</width>
		<height>167</height>
		<align></align>
		<caption>Scores options in the SPSS Factor command.</caption>
		<alt> Scores options in the SPSS Factor command </alt>
	</figure>
</P> <P>Click on the "Display <index>factor score coefficient matrix</index>" option and then click on "Continue." Back in the main factor analysis display, click on the "OK" button to run the program.</P>
<P>The <index>eigenvalues</index> appear in an output table labeled "Total Variance Explained." Note that the values of 30.676 and .690 closely correspond to what was found by manually rotating the axes.</P>
<P>
	<figure>
		<description>An SPSS factor command output table title titled total variance explained is shown. Of most interest are the two values under the Extraction Sums of Squares/Total heading. These values are 30.676 for X1 and 0.690 for X2.</description>
		<url> Images/mlt0524.gif </url>
		<width>624</width>
		<height>224</height>
		<align></align>
		<caption>SPSS factor output showing variance explained.</caption>
		<alt> SPSS factor output showing variance explained </alt>
	</figure>
</P> 
<P>The eigenvectors do not appear directly on the a table in the SPSS output. They may be computed by normalizing the "<index>Raw Components</index>" in the following "<index>Component Matrix</index>" table. </P>
<P>
	<figure>
		<description> An SPSS factor command output table title titled component matrix is shown. Of most interest are the four values appearing under raw components. These values for component one are 5.208 and 1.886. Similar values for component two are -.054 and .383.</description>
		<url> Images/mlt0523.gif </url>
		<width>379</width>
		<height>174</height>
		<align></align>
		<caption>SPSS factor output showing component matrix.</caption>
		<alt> SPSS factor output showing component matrix </alt>
	</figure>
</P> 
<P>
	<figure>
		<description>This equation has transforms the raw components of the SPSS output to standardized normal weights. The general formula is the raw weight divided by the square root of the sum of raw weights squared. In this case, a value of 1.886 is divided by the square root of the sum of 5.208 squared plus 1.886 squared. A value of .34 is the result.</description>
		<url>Images/mlt0525.gif </url>
		<width>429</width>
		<height>46</height>
		<align></align>
		<caption>Normalizing the first SPSS raw factor component.</caption>
		<alt> Normalizing the first SPSS raw factor component </alt>
	</figure>
</P> 
<P>
	<figure>
		<description> This equation has transforms the raw components of the SPSS output to standardized normal weights. The general formula is the raw weight divided by the square root of the sum of raw weights squared. In this case, a value of 5.208 is divided by the square root of the sum of 5.208 squared plus 1.886 squared. A value of .94 is the result.</description>
		<url> Images/mlt0526.gif </url>
		<width>433</width>
		<height>46</height>
		<align></align>
		<caption> Normalizing the second SPSS raw factor component. </caption>
		<alt> Normalizing the second SPSS raw factor component </alt>
	</figure>
</P>
<P>While not exact, these values are within <index>rounding error</index> of the values found using the manual approximation procedure. The student may verify that the "Raw Components" for "2" correspond to the second normalized eigenvector.</P>
<P><h3>Applications of Linear Transformations</h3></P>
	<TestItem type="MC">
		<question>Linear transformations may be used </question>
		<answer type="incorrect">to predict other variables</answer>
		<answer type="incorrect">to simplify a data set</answer>
		<answer type="incorrect">to confuse future generations of graduate students</answer>
		<answer type="correct">more than one of the answers are correct</answer>
		<difficulty></difficulty>
		<discriminability></discriminability>
		<author>David Stockburger</author>
		<date>03/05/2001</date>
		<concept></concept>
	</TestItem>
<P>Linear transformations are used to simplify the data. In general, if the same amount of information (in this case variance) can be explained by fewer variables, the interpretation will generally be simpler. </P>
<P>Linear transformations are the cornerstone of <index>multivariate statistics</index>. In <index>multiple regression</index> linear transformations are used to find weights that allow many independent variables to predict a single dependent variable. In <index>canonical correlation</index>, both the dependent and independent variables have two or more variables and the goal of the analysis is to find a linear combination of the independent variables which best predicts a linear combination of the dependent variables. </P>
<P><index>Factor analysis</index> is similarly a linear transformation of many variables. The goal in factor analysis is a description of the variables, rather than prediction of a variable or set of variables. In factor analysis, a combination of weights is selected (extracted), usually with some goal, such as maximizing the variance of the transformed score or maximizing the correlation of the transformed score with all the scores that produce it. In factor analysis, a second combination of weights is then selected which meets the goal of the analysis. This process could continue until the number of transformed variables equals the number of original variable, but usually does not because after a few meaningful transformations, the rest do not make much sense and are discarded. The goal of factor analysis is to explain a set of variables with a few transformed variables</P>
<P><h3>An Example Principal Components Analysis</h3></P>
<P></P>
<P><h3>Summary</h3></P>
<P>Linear transformation form the cornerstone for many multivariate statistical techniques. Linear transformations of two variables were examined in this chapter. Formulas were presented to compute the mean, standard deviation, and variance of a linear transformation given the weights, means, variances, and correlation coefficient of the original data. Linear transformations were presented graphically as projection of points on a rotated axis.
</P>
<P>Mean centering was presented as a way to simplify the data presentation. Standard normalized linear transformations were shown as a means to standardize the weights of a linear transformation with two or more variables. A way to construct a second transformation that was perpendicular to a given standard normalized was shown. It was proven that the sum of the variances of the two perpendicular standard normalized transformation was equal to the sum of the variances of the original variables.
</P>
<P>A computer program to manually rotate the axes to find a standard normalized linear transformation that maximized the variance of one of the transformed variables was shown. The resulting variances were called eigenvalues and the weights eigenvectors. A way to find eigenvectors and eigenvalues using SPSS was demonstrated.
</P>
<P>Finally, an application of linear transformation was demonstrated using a principal components analysis.
</P>
</section>
</chapter>

