<?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: PCA standardization of input variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/697999#M213413</link>
    <description>&lt;P&gt;PROC PRINCOMP, by default, standardizes your variables. Or to say it another way, it works from the correlation matrix from your data. You can override this and use the COV option to work from the covariance matrix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't use PROC FACTOR, you should check the documentation, but I believe it is similar.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2020 21:03:22 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-11-10T21:03:22Z</dc:date>
    <item>
      <title>PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/697997#M213411</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a conceptual question about principal component analysis in SAS as compared to R. In R you must write the syntax PRCOMP to manually standardize the input variables. Does SAS automatically do this for you in the PROC FACTOR procedure?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 20:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/697997#M213411</guid>
      <dc:creator>RebeccaB_</dc:creator>
      <dc:date>2020-11-10T20:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/697999#M213413</link>
      <description>&lt;P&gt;PROC PRINCOMP, by default, standardizes your variables. Or to say it another way, it works from the correlation matrix from your data. You can override this and use the COV option to work from the covariance matrix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't use PROC FACTOR, you should check the documentation, but I believe it is similar.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 21:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/697999#M213413</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-10T21:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698000#M213414</link>
      <description>It does not, you can use PROC STDIZE to standardize the data ahead of time. Standardization requirements may vary slightly depending on the method used...and I'm not sure if you're doing it based on correlation versus covariance matrix if it matters.</description>
      <pubDate>Tue, 10 Nov 2020 21:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698000#M213414</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-10T21:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698008#M213419</link>
      <description>&lt;P&gt;Thank you for your quick response. This is the code I used:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt; &lt;STRONG&gt;Factor&lt;/STRONG&gt; data= data-set-name&lt;/P&gt;&lt;P&gt;out= data-set-name&lt;/P&gt;&lt;P&gt;nfact=&lt;STRONG&gt;37&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;simple&lt;/P&gt;&lt;P&gt;method=prin&lt;/P&gt;&lt;P&gt;priors=one&lt;/P&gt;&lt;P&gt;mineigen= &lt;STRONG&gt;0.99&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;scree&lt;/P&gt;&lt;P&gt;rotate=varimax&lt;/P&gt;&lt;P&gt;round&lt;/P&gt;&lt;P&gt;flag=&lt;STRONG&gt;.40&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;var variables-to-be-analyzed&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So even using METHOD=PRIN that will not standardize our variables to make sure I'm understanding you correctly?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 21:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698008#M213419</guid>
      <dc:creator>RebeccaB_</dc:creator>
      <dc:date>2020-11-10T21:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698016#M213422</link>
      <description>&lt;P&gt;According to the &lt;A href="https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;locale=en#statug.factor.factordata" target="_self"&gt;PROC FACTOR documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN class=" aa-term "&gt;COVARIANCE &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=" aa-term "&gt; COV &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A id="statug.factor.a0000000084" class="indexterm" target="_blank"&gt;&lt;/A&gt; &lt;A id="statug.factor.a0000000085" class="indexterm" target="_blank"&gt;&lt;/A&gt; requests factoring of the covariance matrix instead of the correlation matrix. The COV option is effective only with the &lt;A tabindex="0" href="https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;locale=en#statug.factor.factormethod" data-docset-id="statug" data-docset-version="14.2" data-original-href="statug_factor_syntax01.htm#statug.factor.factormethod"&gt;METHOD=&lt;/A&gt;PRINCIPAL, &lt;A tabindex="0" href="https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;locale=en#statug.factor.factormethod" data-docset-id="statug" data-docset-version="14.2" data-original-href="statug_factor_syntax01.htm#statug.factor.factormethod"&gt;METHOD=&lt;/A&gt;PRINIT, &lt;A tabindex="0" href="https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;locale=en#statug.factor.factormethod" data-docset-id="statug" data-docset-version="14.2" data-original-href="statug_factor_syntax01.htm#statug.factor.factormethod"&gt;METHOD=&lt;/A&gt;ULS, or &lt;A tabindex="0" href="https://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;locale=en#statug.factor.factormethod" data-docset-id="statug" data-docset-version="14.2" data-original-href="statug_factor_syntax01.htm#statug.factor.factormethod"&gt;METHOD=&lt;/A&gt;IMAGE option. For other methods, PROC FACTOR produces the same results with or without the COV option.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So if you don't use the COV option, you get the correlation matrix, which is created using standardized variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 21:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698016#M213422</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-10T21:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698023#M213425</link>
      <description>Okay, to make sure I'm understanding correctly (I'm pretty much self-taught in PCA) because I specified METHOD=PRIN, and I did not use the COV option, that the input variables are standardized. We are using the correlation matrix (which I see in my output) and that is using standardized variables. Is that correct? So I would not need to change my code to make the input variables standardized?</description>
      <pubDate>Tue, 10 Nov 2020 21:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698023#M213425</guid>
      <dc:creator>RebeccaB_</dc:creator>
      <dc:date>2020-11-10T21:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: PCA standardization of input variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698025#M213426</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/356491"&gt;@RebeccaB_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Okay, to make sure I'm understanding correctly (I'm pretty much self-taught in PCA) because I specified METHOD=PRIN, and I did not use the COV option, that the input variables are standardized. &lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;We are using the correlation matrix (which I see in my output) and that is using standardized variables. Is that correct? So I would not need to change my code to make the input variables standardized?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 21:47:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCA-standardization-of-input-variables/m-p/698025#M213426</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-10T21:47:52Z</dc:date>
    </item>
  </channel>
</rss>

