<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use individual principal component scores to compute group scores in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456278#M23809</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;How can I use these two components for each school?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's really up to you. What would you like to learn from the data? You haven't told us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Principal components are often used to help visualize data in lower dimensional space so you can detect patterns or clustering. Is that what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tell us what you want to learn from this data.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I sum up comp1 to get one school measure for component one and take the average?&lt;/P&gt;
&lt;P&gt;Do the same thing for comp2 and get one measure for each schools?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Component A = (sum of all comp1 for each student in school X) / (Total students in school X)&lt;/P&gt;
&lt;P&gt;Component B = (sum of all comp2 for each student in school X) / (Total students in school X)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you can do this. However, taken exactly as you have described the question of comparing school averages, this is a situation where you would use MANOVA, rather than Principal Components.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So again, we need to know what you want to learn from this data.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Apr 2018 12:09:08 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-04-22T12:09:08Z</dc:date>
    <item>
      <title>How to use individual principal component scores to compute group scores</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456247#M23807</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have calculated principal components for hundreds of respondents with an average of ten variables using Proc Factor. I was trying to use these individual principal components to compute single group measure for each component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, I have got 10 schools and 20 students per school and I got two principal components for the 10 variables.&lt;/P&gt;&lt;P&gt;How can I use these two components for each school?&lt;/P&gt;&lt;P&gt;Can I sum up comp1 to get one school measure for component one and take the average?&lt;/P&gt;&lt;P&gt;Do the same thing for comp2 and get one measure for each schools?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Component A = (sum of all comp1 for each student in school X) / (Total students in school X)&lt;/P&gt;&lt;P&gt;Component B = (sum of all comp2 for each student in school X) / (Total students in school X)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Teketo&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 01:25:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456247#M23807</guid>
      <dc:creator>Teketo</dc:creator>
      <dc:date>2018-04-22T01:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use individual principal component scores to compute group scores</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456252#M23808</link>
      <description>&lt;P&gt;You could, I'm assuming the 'groups' are predetermined?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm assuming you would graph it first to see if the distribution made sense between your groups? I think you're trying to SCORE your data. PROC SCORE has an example of how to get the principle component scores for your data, a fully worked example.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/118910"&gt;@Teketo&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have calculated principal components for hundreds of respondents with an average of ten variables using Proc Factor. I was trying to use these individual principal components to compute single group measure for each component.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, I have got 10 schools and 20 students per school and I got two principal components for the 10 variables.&lt;/P&gt;
&lt;P&gt;How can I use these two components for each school?&lt;/P&gt;
&lt;P&gt;Can I sum up comp1 to get one school measure for component one and take the average?&lt;/P&gt;
&lt;P&gt;Do the same thing for comp2 and get one measure for each schools?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Component A = (sum of all comp1 for each student in school X) / (Total students in school X)&lt;/P&gt;
&lt;P&gt;Component B = (sum of all comp2 for each student in school X) / (Total students in school X)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Teketo&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 02:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456252#M23808</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-22T02:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use individual principal component scores to compute group scores</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456278#M23809</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;How can I use these two components for each school?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's really up to you. What would you like to learn from the data? You haven't told us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Principal components are often used to help visualize data in lower dimensional space so you can detect patterns or clustering. Is that what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tell us what you want to learn from this data.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I sum up comp1 to get one school measure for component one and take the average?&lt;/P&gt;
&lt;P&gt;Do the same thing for comp2 and get one measure for each schools?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Component A = (sum of all comp1 for each student in school X) / (Total students in school X)&lt;/P&gt;
&lt;P&gt;Component B = (sum of all comp2 for each student in school X) / (Total students in school X)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you can do this. However, taken exactly as you have described the question of comparing school averages, this is a situation where you would use MANOVA, rather than Principal Components.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So again, we need to know what you want to learn from this data.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 12:09:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456278#M23809</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-22T12:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use individual principal component scores to compute group scores</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456279#M23810</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;You could, I'm assuming the 'groups' are predetermined?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm assuming you would graph it first to see if the distribution made sense between your groups? I think you're trying to SCORE your data. PROC SCORE has an example of how to get the principle component scores for your data, a fully worked example.&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PROC SCORE is not really needed here, one of the output data sets from PROC PRINCOMP will contain the PCA scores. The only time PROC SCORE would be useful is to compute scores on observations that were not in the original data set.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 11:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-individual-principal-component-scores-to-compute/m-p/456279#M23810</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-04-22T11:59:46Z</dc:date>
    </item>
  </channel>
</rss>

