<?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: What is the difference between the usage of proc factor and princomp for doing PCA analysis? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552657#M9222</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp; Which result should I take proc factor are princomp? Which one should I go if I asked to do a PCA analysis? Please advise.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Apr 2019 21:40:29 GMT</pubDate>
    <dc:creator>sdhilip</dc:creator>
    <dc:date>2019-04-20T21:40:29Z</dc:date>
    <item>
      <title>What is the difference between the usage of proc factor and princomp for doing PCA analysis?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552604#M9217</link>
      <description>&lt;P&gt;I am doing PCA analysis in SAS Guide. I have a Pizza dataset which has a brand, ID and 7 variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Method: 1&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using proc factor and finding the eigenvalue and interpret the result from the rotated factor pattern. The method used: Principal&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc factor data=work.pizza1
method=principal scree mineigen=0 NFACTORS=7 ROTATE=varimax REORDER OUT=PIZZA1;
var mois--cal;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eigen value - factor.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28828iCF3B710385C7640C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eigen value - factor.PNG" alt="Eigen value - factor.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rotated factor pattern.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28829i39D1F8A4E4A8C087/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rotated factor pattern.PNG" alt="rotated factor pattern.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I reduced three variables from the rotated factor pattern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Method: 2&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using proc princomp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc princomp data=work.pizza1 out=new;
var mois--cal;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting eigen value same for both the methods as it is derived from the correlation matrix. However, value is different for rotated factor pattern and eigen vector .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eigen value - PCA.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28833iC30B21FF8DCC5A51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eigen value - PCA.PNG" alt="Eigen value - PCA.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EIGEN VECTOR.PNG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/28832i60903062A4EB0BC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EIGEN VECTOR.PNG" alt="EIGEN VECTOR.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;My question:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) What is the difference between princomp vs proc factor while using PCA analysis?&lt;/P&gt;&lt;P&gt;2) I am interpreting the result from rotated factor pattern in proc factor. How to interpret the result from princomp? Should I use eigenvector to interpret the result? If so, it shows a different one compared to proc factor.&lt;/P&gt;&lt;P&gt;3) Are the results same if I run both factor and princomp?&lt;/P&gt;&lt;P&gt;4) How to use the method in princomp? Here, I used varimax.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the output and sas code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 06:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552604#M9217</guid>
      <dc:creator>sdhilip</dc:creator>
      <dc:date>2019-04-20T06:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between the usage of proc factor and princomp for doing PCA analysis?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552621#M9220</link>
      <description>&lt;P&gt;The difference is that you asked PROC FACTOR to rotate the components. The PROC PRINCOMP output does not rotate the components.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 11:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552621#M9220</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-20T11:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between the usage of proc factor and princomp for doing PCA analysis?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552657#M9222</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp; Which result should I take proc factor are princomp? Which one should I go if I asked to do a PCA analysis? Please advise.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 21:40:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552657#M9222</guid>
      <dc:creator>sdhilip</dc:creator>
      <dc:date>2019-04-20T21:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between the usage of proc factor and princomp for doing PCA analysis?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552689#M9223</link>
      <description>&lt;P&gt;There is no possible answer to this without a lot more information about the goals of the analysis. Rotated or unrotated components both have usefulness, depending on what you are trying to do with the components.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2019 11:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-is-the-difference-between-the-usage-of-proc-factor-and/m-p/552689#M9223</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-21T11:27:31Z</dc:date>
    </item>
  </channel>
</rss>

