<?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 How do I get a non-singular correlation matrix for proc factor? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713183#M219976</link>
    <description>&lt;P&gt;I'm trying to run a SAS code on a large dataset with 187 variables and 12927 observations as follows:&lt;/P&gt;&lt;PRE&gt;proc factor data=dealer_vars_imputed scree nfactors=5 out=all_dealers r=varimax method=ml;
run;&lt;/PRE&gt;&lt;P&gt;Apparently, method = ml requires a "non-singular correlation matrix" and I'm getting an error for it too. I'm not too sure about what that is and what exactly I'm supposed to do. Can someone help me out with this?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 19:09:11 GMT</pubDate>
    <dc:creator>aalluru</dc:creator>
    <dc:date>2021-01-21T19:09:11Z</dc:date>
    <item>
      <title>How do I get a non-singular correlation matrix for proc factor?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713183#M219976</link>
      <description>&lt;P&gt;I'm trying to run a SAS code on a large dataset with 187 variables and 12927 observations as follows:&lt;/P&gt;&lt;PRE&gt;proc factor data=dealer_vars_imputed scree nfactors=5 out=all_dealers r=varimax method=ml;
run;&lt;/PRE&gt;&lt;P&gt;Apparently, method = ml requires a "non-singular correlation matrix" and I'm getting an error for it too. I'm not too sure about what that is and what exactly I'm supposed to do. Can someone help me out with this?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 19:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713183#M219976</guid>
      <dc:creator>aalluru</dc:creator>
      <dc:date>2021-01-21T19:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a non-singular correlation matrix for proc factor?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713194#M219981</link>
      <description>&lt;P&gt;In the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_details12.htm&amp;amp;locale=en" target="_self"&gt;&lt;STRONG&gt;Cautions&lt;/STRONG&gt;&lt;/A&gt; section of proc FACTOR documentation it says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Singular correlation matrices cause problems with the options &lt;A tabindex="0" href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.factor.factorpriorsop" data-docset-id="statug" data-docset-version="14.3" data-original-href="statug_factor_syntax01.htm#statug.factor.factorpriorsop"&gt;PRIORS=&lt;/A&gt;SMC and &lt;A tabindex="0" href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_factor_syntax01.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.factor.factormethod" data-docset-id="statug" data-docset-version="14.3" data-original-href="statug_factor_syntax01.htm#statug.factor.factormethod"&gt;METHOD=&lt;/A&gt;ML. Singularities can result from using a variable that is the sum of other variables, coding too many dummy variables from a classification variable, or having more variables than observations.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Those are three things to look for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Well, two things, actually, since you have more obs than variables, unless a great number of observations were excluded because of missing values.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 19:43:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713194#M219981</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2021-01-21T19:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a non-singular correlation matrix for proc factor?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713199#M219982</link>
      <description>&lt;P&gt;I do have quite a few dummy variables so I guess that makes sense! I'll look into that. Thank you so much for your answer!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 19:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713199#M219982</guid>
      <dc:creator>aalluru</dc:creator>
      <dc:date>2021-01-21T19:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a non-singular correlation matrix for proc factor?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713325#M220049</link>
      <description>&lt;P&gt;Why do you want to do factor analysis on data that has lots of dummy variables? Usually, you want to do factor analysis of continuous variables only, that makes more sense to me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, you can use &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_prinqual_overview.htm&amp;amp;locale=en" target="_self"&gt;PROC PRINQUAL&lt;/A&gt; to do something similar, which is specifically designed to work with categorical variables (and you don't have to specifically create the dummy variables first) as well as continuous variables.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 11:55:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713325#M220049</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-01-22T11:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get a non-singular correlation matrix for proc factor?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713440#M220106</link>
      <description>&lt;P&gt;Hi! Thanks for the response! All the variables in my dataset are continuous now but I still seem to be getting the same error&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 18:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-get-a-non-singular-correlation-matrix-for-proc-factor/m-p/713440#M220106</guid>
      <dc:creator>aalluru</dc:creator>
      <dc:date>2021-01-22T18:27:39Z</dc:date>
    </item>
  </channel>
</rss>

