<?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: polycholic correlation using proc corr in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861375#M38069</link>
    <description>My apologies for the confusion. it is 4 independent categorical variables and 1 dependent continous variable</description>
    <pubDate>Tue, 28 Feb 2023 13:58:13 GMT</pubDate>
    <dc:creator>astudent</dc:creator>
    <dc:date>2023-02-28T13:58:13Z</dc:date>
    <item>
      <title>polycholic correlation using proc corr</title>
      <link>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861318#M38061</link>
      <description>&lt;P&gt;I have a dataset of 4 independent categorical variables and 1 independent continous variable. I am very new to both SAS and statistics. I am trying to do a polycholic correlation using proc corr statement. the polycholic correlation table is coming out empty. I am trying to determine the effect of the independent variables on the dependent variable. I am looking for insights on how to do this. Here is my code:&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;STRONG&gt;CORR&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;data&lt;/SPAN&gt;=Home.BaselineCH OUTPLC=home.polyCorr ;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt; S1Q2 HEI2010_TOTAL_SCORE;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;output:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;2 Variables:&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;S1Q2 HEI2010_TOTAL_SCORE&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Polychoric Correlations&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Variable&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;With Variable&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;N&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Correlation&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Wald Test&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;LR Test&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Standard&lt;BR /&gt;Error&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Chi-Square&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Pr &amp;gt; ChiSq&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Chi-Square&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;Pr &amp;gt; ChiSq&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;S1Q2&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;&lt;STRONG&gt;HEI2010_TOTAL_SCORE&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;174&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class=""&gt;.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 10:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861318#M38061</guid>
      <dc:creator>astudent</dc:creator>
      <dc:date>2023-02-28T10:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: polycholic correlation using proc corr</title>
      <link>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861331#M38062</link>
      <description>&lt;P&gt;Do you mean "polychoric" correlation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your description of the problem mentions "4 independent categorical variables and 1 independent continous [sic] variable" and later you talk about a dependent variable, which hasn't been mentioned. And you show us a SAS output with just two variables. Could you please clarify?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861331#M38062</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-02-28T11:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: polycholic correlation using proc corr</title>
      <link>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861343#M38064</link>
      <description>&lt;P&gt;Show your log. Copy the code and all the notes, warnings or messages from running the code. On the forum open a text box using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the text. The text box is to preserve formatting of any diagnostic messages that might appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or show us the result of running this code:&lt;/P&gt;
&lt;PRE&gt;Proc freq data=home.baselinech;
   tables s1q2*hei2010_total_score/ list missing;
run;&lt;/PRE&gt;
&lt;P&gt;Or share your data.&lt;/P&gt;
&lt;P&gt;If you don't have at least 2 different values for each variable the polychoric can't be calculated. Which would be seen in the LOG&lt;/P&gt;
&lt;P&gt;with a message like&lt;/P&gt;
&lt;PRE&gt;WARNING: The number of groups for variable &amp;lt;variable name&amp;gt; is less than 2, the affected polychoric correlations are set to missing.
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861343#M38064</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-02-28T11:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: polycholic correlation using proc corr</title>
      <link>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861372#M38067</link>
      <description>&lt;P&gt;Here is my code&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;STRONG&gt;CORR&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;data&lt;/SPAN&gt;=Home.BaselineCH OUTPLC=home.polyCorr;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;with&lt;/SPAN&gt; HEI2010_TOTAL_SCORE;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;var&lt;/SPAN&gt; S1Q2;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;and this is the my log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;418&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;PROC CORR data=Home.BaselineCH OUTPLC=home.polyCorr nomiss;&lt;/P&gt;&lt;P class=""&gt;419&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;with HEI2010_TOTAL_SCORE;&lt;/P&gt;&lt;P class=""&gt;420&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;var S1Q2;&lt;/P&gt;&lt;P class=""&gt;421&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;run;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;WARNING: The number of groups for variable HEI2010_TOTAL_SCORE is greater than 20, the number in the&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;NGROUPS= option, the affected polychoric correlations are set to missing.&lt;/P&gt;&lt;P class=""&gt;NOTE: The data set HOME.POLYCORR has 4 observations and 3 variables.&lt;/P&gt;&lt;P class=""&gt;NOTE: PROCEDURE CORR used (Total process time):&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;real time &lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;0.08 seconds&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;cpu time&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;0.06 seconds&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 13:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861372#M38067</guid>
      <dc:creator>astudent</dc:creator>
      <dc:date>2023-02-28T13:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: polycholic correlation using proc corr</title>
      <link>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861375#M38069</link>
      <description>My apologies for the confusion. it is 4 independent categorical variables and 1 dependent continous variable</description>
      <pubDate>Tue, 28 Feb 2023 13:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/polycholic-correlation-using-proc-corr/m-p/861375#M38069</guid>
      <dc:creator>astudent</dc:creator>
      <dc:date>2023-02-28T13:58:13Z</dc:date>
    </item>
  </channel>
</rss>

