<?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: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506464#M135785</link>
    <description>&lt;P&gt;If you don't need a model, why are you running a model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really really feel you need to consult a statistician here because you're not sure what you're doing and you're definitely not quite understanding the appropriate analysis techniques. Or ask a teacher, colleague or supervisor for some assistance. Or read a journal article that does this and see how they do the analysis and present the data. The typical approach is formulate a hypothesis, do univariate analysis, then do multivariate analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237382"&gt;@hpatel3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After going back and reviewing, I don't think Proc reg or corr would give me the best results. I stated originally that I want correlation between variables and I still do. I thought Proc Corr/GLM/REG would give me that. That's why I was trying to use them. But someone on another thread stated that Proc Logistic would work for both continuous and categorical variables, so if I can just use that, that would work I believe?&lt;STRONG&gt; I don't need to fit the model or anything I believe.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So TO SEE IF THERE IS A CORRELATION between my risk factors and whether they develop the disease, I tried this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;CODE class=" language-sas"&gt;libname Hetal "\\tuftsmc\home\hpatel3\SAS Datasets";
run; 



proc logistic data=hetal.es_regre;
class age_diag EF_reg Hx_Sync FHX_ES FHX_SD LBBB AF_prior * Hx_Sync FHX_ES FHX_SD LBBB AF_prior;
model adv_hf (event="1")= age_diag EF_REG Hx_sync FHX_ES FHX_SD LBBB AF_prior;
run;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&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;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;However got this error: &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS error.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24234i7AB6361BB908A94C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS error.PNG" alt="SAS error.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure exactly what should be done based on this error. Is asking me to clarify numeric or character variables??? I'm not sure how to write this out in my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My class statement is: all variables&amp;nbsp;* categorical variables &amp;lt;-- That is what I was supposed to do, correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And my model statement is: disease status variable = all variables&amp;nbsp; &amp;lt;--is this correct as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 14:49:26 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-10-22T14:49:26Z</dc:date>
    <item>
      <title>Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505569#M135401</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;Hello!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;I have a project at work where I'm being asked to analyze 7&amp;nbsp;variables with (5 of them being categorical(Yes/No) and 2 being numerical)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;and their correlation with disease status (Variable ADV_HF): 1= they have the disease / 0 or blank = they don't have it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;I have not used multivariate analysis before and the&amp;nbsp; different types are a little overwhelming.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;Based on the SAS forums, I am under the impression that I shouldn't use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: navy;"&gt;Proc Reg&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;since I have categorical variables, so should I use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: navy;"&gt;Proc GLM&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: navy;"&gt;Proc Corr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;? Will it make a huge difference?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;What I've got so far is:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: navy;"&gt;proc glm&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;= Hetal.ES_Regression;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: blue;"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;Adv_HF;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: blue;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;age_diag fam_Hx_ES fam_Hx_SD hx_sync LBBB EF_Reg AF_prior ;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;1.I'm not sure how or if to use the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: blue;"&gt;contrast&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;statement and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: blue;"&gt;manova&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;2. How do I specify in the class statement that 1= disease state and 0- without disease?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;3. Am I missing anything other key data step in this analysis?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 14:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505569#M135401</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-18T14:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505574#M135404</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;I &lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #333333;"&gt;have a project at work where I'm being asked to analyze 7&amp;nbsp;variables with (5 of them being categorical(Yes/No) and 2 being numerical) and their correlation with disease status (Variable ADV_HF): 1= they have the disease / 0 or blank = they don't have it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the specific request you have is simply to analyze correlations, then you would use PROC CORR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the underlying reason is to fit a model, you should use PROC LOGISTIC (which is appropriate when your response variable is binary).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not (at least the way I use the word) a "multivariate" analysis, and no MANOVA would work here anyway. Multivariate would imply to me that you have multiple response variables, and if the multiple response variables are continuous, that is the only time when any MANOVA would work. So none of this applies to your situation, as I understand it.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 14:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505574#M135404</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-18T14:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505599#M135418</link>
      <description>A really good tutorial is this one:&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/dae/logit-regression/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/dae/logit-regression/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note the use of the PARAM=REF option on the CLASS statement. You will want to do that. Additionally, check this example out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_logistic_examples02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_logistic_examples02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2018 14:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505599#M135418</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-18T14:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505628#M135431</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;, thanks for responding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I decided to use Proc Corr with the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="regression.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24141iD1C354C53C8B77A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="regression.JPG" alt="regression.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and it keeps giving me this error&amp;nbsp; in my log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error reg log.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24145iD6AEA59DDA835A3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="error reg log.JPG" alt="error reg log.JPG" /&gt;&lt;/span&gt;&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;&lt;P&gt;Why does it keep telling me&amp;nbsp; my variables do not match the type prescribed for this list? What am i doing wrong here&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i need to denote which are categorical? Also do i need to use the "BY" statement to classify that I want these variables compared with Those who have the disease (1) vs those who dont (0)?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:58:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505628#M135431</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-18T15:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505630#M135432</link>
      <description>&lt;P&gt;Thanks for replying&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think Proc logistic works in this case because&amp;nbsp; we're not looking for a specific question/outcome. Merely seeing if there is a correlation between the variables whether they have or don't have the disease.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My variables are potential risk factors and we want want to see if there's any correlation between these and disease status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think I'd use proc Corr, yes?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 16:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505630#M135432</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-18T16:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505635#M135434</link>
      <description>&lt;P&gt;Nope, you have a binary outcome variable so using PROC CORR is not suitable here. You really are looking for logistic regression here and the odds ratios, whether you do it one variable at a time or a full model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237382"&gt;@hpatel3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for replying&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think Proc logistic works in this case because&amp;nbsp; we're not looking for a specific question/outcome. Merely seeing if there is a correlation between the variables whether they have or don't have the disease.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My variables are potential risk factors and we want want to see if there's any correlation between these and disease status.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I think I'd use proc Corr, yes?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 16:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505635#M135434</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-18T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505638#M135435</link>
      <description>And your issue with CORR is that it needs numeric variables so you should fix your data first and ensure that numeric variables are numbers. Categorical variables can be either numeric or categorical.</description>
      <pubDate>Thu, 18 Oct 2018 16:10:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505638#M135435</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-18T16:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505640#M135437</link>
      <description>&lt;P&gt;PROC CORR can produce a correlation-like number called Kendall's Tau for categorical variables. However, they probably do need to be converted to category numbers (a numeric variable) in order for PROC CORR to process them.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 16:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505640#M135437</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-18T16:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505693#M135457</link>
      <description>&lt;P&gt;It worked! I got results! (I Think)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My only question left is about status. Does multivariate analysis take into account that for developing the disease (event status=1) vs not developing the disease (event status=0) need to be specified anywhere? Or does SAS automatically assume 0=no event and 1=event?? My code and results are as followed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="final regre code.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24148iEDD6A10668B2B462/image-size/large?v=v2&amp;amp;px=999" role="button" title="final regre code.JPG" alt="final regre code.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="results_regre.JPG" style="width: 441px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24150i792A0AA9E7B4C364/image-dimensions/441x336?v=v2" width="441" height="336" role="button" title="results_regre.JPG" alt="results_regre.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 18:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505693#M135457</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-18T18:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505707#M135461</link>
      <description>&lt;P&gt;For a univariate analysis with a single binary outcome, I would recommend ANOVA\T-Test for the continuous variables and chi square for categorical variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your output, you have&amp;nbsp;Pearson correlation coefficients and SAS makes no assumptions regarding the value of 0/1 being a particular record type.&amp;nbsp;You probably want Tau-b or Tau-c instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Kendall_rank_correlation_coefficient" target="_blank"&gt;https://en.wikipedia.org/wiki/Kendall_rank_correlation_coefficient&lt;/A&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 19:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/505707#M135461</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-18T19:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506080#M135593</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;, I converted to categorical variables and I do see Kendall's tau, but I figured pearson's&amp;nbsp; would be the number to look at. Why do you suggest Tau instead?&lt;/P&gt;&lt;P&gt;Should I be using pearson's on the continuous variables and Tau on the categorical ones?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 17:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506080#M135593</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-19T17:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506102#M135603</link>
      <description>&lt;P&gt;Yes, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; pointed out, and I omitted, you want Kendall's Tau-B (or maybe it's a lowercase b) which is appropriate for computing a correlation-like measure when you have two ordinal variables. You use Pearson when you have two continuous variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still have issues with your requirement that you want a measure like correlation when you have predictor (X) variables and response (Y) variables, correlation is not meant for that case; some measure of how well the X predict the Y is the appropriate statistic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't agree with this statement from Reeza&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;For a univariate analysis with a single binary outcome, I would recommend ANOVA\T-Test for the continuous variables&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This isn't correlation, which seems to be what you are asking for, although I don't understand why; and it also seems to reverse the role of X and Y. You don't do ANOVA or t-tests with binary Y, you do it for binary X. For continuous X variables, and binary Y, logistic regression is still what I would use, and the measure you want is the odds ratio or the slope of the logistic regression.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506102#M135603</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-19T18:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506130#M135621</link>
      <description>I would treat the 0/1 outcome as groups and checking for difference between the groups. So is the mean for the continuous variables different for those who have disease X and those who don’t. If that’s not appropriate for a t-test/ANOVA, what test would you use?</description>
      <pubDate>Fri, 19 Oct 2018 19:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506130#M135621</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-19T19:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506156#M135639</link>
      <description>&lt;P&gt;As I stated, you seem to have reversed X and Y. Logistic regression is what you use with binary Y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, the whole issue remains unclear as to what the original poster really wants to achieve, and so I think until he clarifies the situation, I'm going to pause here. On the one hand he wants correlation but on the other hand he was talking about fitting a model with PROC REG or PROC GLM.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 20:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506156#M135639</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-19T20:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506457#M135781</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After going back and reviewing, I don't think Proc reg or corr would give me the best results. I stated originally that I want correlation between variables and I still do. I thought Proc Corr/GLM/REG would give me that. That's why I was trying to use them. But someone on another thread stated that Proc Logistic would work for both continuous and categorical variables, so if I can just use that, that would work I believe? I don't need to fit the model or anything I believe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So TO SEE IF THERE IS A CORRELATION between my risk factors and whether they develop the disease, I tried this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;CODE class=" language-sas"&gt;libname Hetal "\\tuftsmc\home\hpatel3\SAS Datasets";
run; 



proc logistic data=hetal.es_regre;
class age_diag EF_reg Hx_Sync FHX_ES FHX_SD LBBB AF_prior * Hx_Sync FHX_ES FHX_SD LBBB AF_prior;
model adv_hf (event="1")= age_diag EF_REG Hx_sync FHX_ES FHX_SD LBBB AF_prior;
run;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&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;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;However got this error: &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS error.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24234i7AB6361BB908A94C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS error.PNG" alt="SAS error.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure exactly what should be done based on this error. Is asking me to clarify numeric or character variables??? I'm not sure how to write this out in my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My class statement is: all variables&amp;nbsp;* categorical variables &amp;lt;-- That is what I was supposed to do, correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And my model statement is: disease status variable = all variables&amp;nbsp; &amp;lt;--is this correct as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506457#M135781</guid>
      <dc:creator>hpatel3</dc:creator>
      <dc:date>2018-10-22T14:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506460#M135782</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;and their correlation with disease status (Variable ADV_HF): 1= they have the disease / 0 or blank = they don't have it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I interpreted this as the outcome, or Y variable, which is binary to me. I believe you're correct with the OP not understanding what they want to do though.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;As I stated, you seem to have reversed X and Y. Logistic regression is what you use with binary Y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, the whole issue remains unclear as to what the original poster really wants to achieve, and so I think until he clarifies the situation, I'm going to pause here. On the one hand he wants correlation but on the other hand he was talking about fitting a model with PROC REG or PROC GLM.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506460#M135782</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-22T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506461#M135783</link>
      <description>&lt;P&gt;You can't use an asterisk in a CLASS statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, please click on the {i} icon and paste your SASLOG into the window that appears.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I stated originally that I want correlation between variables and I still do. I thought Proc Corr/GLM/REG would give me that. That's why I was trying to use them. But someone on another thread stated that Proc Logistic would work for both continuous and categorical variables, so if I can just use that, that would work I believe?&amp;nbsp;I don't need to fit the model or anything I believe.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Unfortunately, I still believe that this is not a good approach, in my opinion you DO need a model, you don't want correlations. Why? Because a model treats your Y variable (presence or absence of the disease) as the response. Correlations do not treat the presence or absence of the disease as the response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; But ... whether to use a model or not ... whether to use correlations ... that's your decision, not mine.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Finally, let's clear things up once and for all, PROC LOGISTIC works with class Y variables, and continuous or class X variables. So, it would seem to fit your situation, except you still state you don't want a model, and PROC LOGISTIC gives you a model. And it has to have a Y variable and one or more X variables.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506461#M135783</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-22T14:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multivariate analysis: Do I use Proc Corr or Proc GLM or Proc Reg?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506464#M135785</link>
      <description>&lt;P&gt;If you don't need a model, why are you running a model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really really feel you need to consult a statistician here because you're not sure what you're doing and you're definitely not quite understanding the appropriate analysis techniques. Or ask a teacher, colleague or supervisor for some assistance. Or read a journal article that does this and see how they do the analysis and present the data. The typical approach is formulate a hypothesis, do univariate analysis, then do multivariate analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/237382"&gt;@hpatel3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After going back and reviewing, I don't think Proc reg or corr would give me the best results. I stated originally that I want correlation between variables and I still do. I thought Proc Corr/GLM/REG would give me that. That's why I was trying to use them. But someone on another thread stated that Proc Logistic would work for both continuous and categorical variables, so if I can just use that, that would work I believe?&lt;STRONG&gt; I don't need to fit the model or anything I believe.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So TO SEE IF THERE IS A CORRELATION between my risk factors and whether they develop the disease, I tried this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;CODE class=" language-sas"&gt;libname Hetal "\\tuftsmc\home\hpatel3\SAS Datasets";
run; 



proc logistic data=hetal.es_regre;
class age_diag EF_reg Hx_Sync FHX_ES FHX_SD LBBB AF_prior * Hx_Sync FHX_ES FHX_SD LBBB AF_prior;
model adv_hf (event="1")= age_diag EF_REG Hx_sync FHX_ES FHX_SD LBBB AF_prior;
run;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&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;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;However got this error: &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS error.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24234i7AB6361BB908A94C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS error.PNG" alt="SAS error.PNG" /&gt;&lt;/span&gt;&lt;/FONT&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure exactly what should be done based on this error. Is asking me to clarify numeric or character variables??? I'm not sure how to write this out in my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My class statement is: all variables&amp;nbsp;* categorical variables &amp;lt;-- That is what I was supposed to do, correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And my model statement is: disease status variable = all variables&amp;nbsp; &amp;lt;--is this correct as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multivariate-analysis-Do-I-use-Proc-Corr-or-Proc-GLM-or-Proc-Reg/m-p/506464#M135785</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-22T14:49:26Z</dc:date>
    </item>
  </channel>
</rss>

