<?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 obtaining the principal components from proc princomp in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339513#M17882</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been using proc princomp to perform a principal components analysis. It gave me the eigen vectors, but not the principal components of the original data. Is it possible to transform the original data in order to get the princpal components and later use them in a regression?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2017 03:06:52 GMT</pubDate>
    <dc:creator>ilikesas</dc:creator>
    <dc:date>2017-03-09T03:06:52Z</dc:date>
    <item>
      <title>obtaining the principal components from proc princomp</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339513#M17882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been using proc princomp to perform a principal components analysis. It gave me the eigen vectors, but not the principal components of the original data. Is it possible to transform the original data in order to get the princpal components and later use them in a regression?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:06:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339513#M17882</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2017-03-09T03:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: obtaining the principal components from proc princomp</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339531#M17883</link>
      <description>&lt;P&gt;What does your code look like?&lt;/P&gt;
&lt;P&gt;Can we assume you've tried the standard output datasets and they don't have the values?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 04:01:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339531#M17883</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-09T04:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: obtaining the principal components from proc princomp</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339538#M17885</link>
      <description>&lt;PRE&gt;
Check this out.

http://blogs.sas.com/content/iml/2014/11/07/distribution-of-blood-types.html
&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Mar 2017 04:28:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339538#M17885</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-09T04:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: obtaining the principal components from proc princomp</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339582#M17886</link>
      <description>&lt;P&gt;If you look at &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_princomp_gettingstarted.htm" target="_self"&gt;the Getting Started example in the PROC PRINCOMP documentation, &lt;/A&gt;you will see that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the eigenvectors are listed&amp;nbsp;in the "Eigenvectors" table. They are named Prin1, Prin2, Prin3, etc.&lt;/P&gt;
&lt;P&gt;You can use the OUTSTAT= option on the PROC PRINCOMP statement to create an output data set that contains the eigenvectors.&lt;/P&gt;
&lt;P&gt;They are listed as the rows that are labeled PRIN1, PRIN2, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to use the PCs in a regression, I believe you want to use the SCORES, which are available in the OUT= data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339582#M17886</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-03-09T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: obtaining the principal components from proc princomp</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339869#M17894</link>
      <description>&lt;P&gt;Thanks Rick, when I added "out = new_data" I obtained a data table which contains the original variables and the newly calculated principal components.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could I now use these Principal Components in a regression? I have a IML code which does the Principal Components Analysis, but for some reason standardizes the Principal Components - but the PC's that I obtained above are not standardized, so I just want to make sure that these non standardized PCs are the ones that I should use in a regression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 03:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/obtaining-the-principal-components-from-proc-princomp/m-p/339869#M17894</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2017-03-10T03:32:32Z</dc:date>
    </item>
  </channel>
</rss>

