<?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: Factor Analysis on pre-defined correlation matrix in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632391#M21081</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/316763"&gt;@lmpsumagpang&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks but I was wondering why I have to compute for a new correlation matrix when my initial dataset is already a correlation matrix. Would the analysis significantly change?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As far as I know, you don't have to compute a new correlation data set if you have PROC CORR output. That's my understanding, and the link I gave seems to say that as well. This is what it says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The data set created by the CORR procedure is automatically given the TYPE=CORR data set option, so you do not have to specify TYPE=CORR.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Mon, 16 Mar 2020 11:01:16 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-03-16T11:01:16Z</dc:date>
    <item>
      <title>Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632381#M21078</link>
      <description>&lt;P&gt;Is it possible to run a Factor Analysis on a pre-defined correlation matrix? From what I know, if you run PROC FACTOR, the first thing SAS does is create a correlation matrix but since the dataset I have is already the correlation matrix, wouldn't that mess up the whole process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;/* check if correlation coefficients are the same as the original coefficients in the dataset */&lt;BR /&gt;proc corr data=dataset outs=datacorr; run;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;/* Factor Analysis */&lt;BR /&gt;ods graphics on;&lt;BR /&gt;proc factor data=datacorr r=v n=3 plots=loadings;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off; &lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Mar 2020 10:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632381#M21078</guid>
      <dc:creator>lmpsumagpang</dc:creator>
      <dc:date>2020-03-16T10:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632385#M21079</link>
      <description>&lt;P&gt;This is a great example of why you should look at the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A correlation data set (with option TYPE=CORR) is valid input to PROC FACTOR and PROC PRINCOMP. Since your output is from PROC CORR, there should be no issue using it in PROC FACTOR or PROC PRINCOMP. Details are here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_details01.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_details01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 10:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632385#M21079</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-16T10:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632390#M21080</link>
      <description>&lt;P&gt;Thanks but I was wondering why I have to compute for a new correlation matrix when my initial dataset is already a correlation matrix. Would the analysis significantly change?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way where I can import the initial dataset and dictate it's TYPE (CORR) so SAS won't have to compute a new correlation matrix from it?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 10:57:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632390#M21080</guid>
      <dc:creator>lmpsumagpang</dc:creator>
      <dc:date>2020-03-16T10:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632391#M21081</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/316763"&gt;@lmpsumagpang&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks but I was wondering why I have to compute for a new correlation matrix when my initial dataset is already a correlation matrix. Would the analysis significantly change?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;As far as I know, you don't have to compute a new correlation data set if you have PROC CORR output. That's my understanding, and the link I gave seems to say that as well. This is what it says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;The data set created by the CORR procedure is automatically given the TYPE=CORR data set option, so you do not have to specify TYPE=CORR.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 16 Mar 2020 11:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632391#M21081</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-16T11:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632394#M21082</link>
      <description>&lt;P&gt;Please disregard the proc corr code that I shared in my inquiry.&amp;nbsp;&lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://communities.sas.com/i/smilies/16x16_smiley-embarrassed.png" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original data set that I've imported (from an excel file) is already a correlation matrix. Making a proc factor function will result to SAS making a new correlation matrix out of it which might affect my analysis. Is there a way where I can import the excel file and set it as TYPE=CORR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your immediate response and I appreciate all the help!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 11:06:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632394#M21082</guid>
      <dc:creator>lmpsumagpang</dc:creator>
      <dc:date>2020-03-16T11:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632396#M21083</link>
      <description>&lt;P&gt;Rough outline of code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC IMPORT datafile = 'whatever.xlsx' out=a dbms=excel;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data corr(type=corr);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; set a;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc factor data=corr;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;...&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;DISCLAIMER: this may not work on correlation data sets stored in Excel, as there's no standard that I know of for correlation matrices in Excel being formatted/laid out the same as a PROC CORR output data set. You can't know until you try it.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 11:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632396#M21083</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-16T11:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Factor Analysis on pre-defined correlation matrix</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632403#M21084</link>
      <description>&lt;P&gt;Thank you! It worked fine.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The excel file had the same format and data type as the format using the proc corr statement&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 11:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Factor-Analysis-on-pre-defined-correlation-matrix/m-p/632403#M21084</guid>
      <dc:creator>lmpsumagpang</dc:creator>
      <dc:date>2020-03-16T11:44:28Z</dc:date>
    </item>
  </channel>
</rss>

