<?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: Using linear regression with categorical and continuous covariates in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193705#M48671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend proc glm. There you can use the class statement to dummy code the categorical variables.&lt;/P&gt;&lt;P&gt;You can use also proc reg, but then first you need to pre-process your data (creating dummy variables "manually").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Apr 2015 23:53:43 GMT</pubDate>
    <dc:creator>gergely_batho</dc:creator>
    <dc:date>2015-04-11T23:53:43Z</dc:date>
    <item>
      <title>Using linear regression with categorical and continuous covariates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193704#M48670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to do a linear regression to computer whether body weight can predict blood pressure after controlling for age, healthstatus, and physical activity. Here, my DV (blood pressure) is continuous and my IV(body weight)&amp;nbsp; is continuous. Also, I have several covariate IVs; age is continous, healthstatus is categorical (dummy coded 1-5), and physical activity is continous (# hours doing physical activity). To do this, should I use proc glm or proc reg?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 13:13:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193704#M48670</guid>
      <dc:creator>cassifields</dc:creator>
      <dc:date>2015-04-11T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using linear regression with categorical and continuous covariates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193705#M48671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend proc glm. There you can use the class statement to dummy code the categorical variables.&lt;/P&gt;&lt;P&gt;You can use also proc reg, but then first you need to pre-process your data (creating dummy variables "manually").&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Apr 2015 23:53:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193705#M48671</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-04-11T23:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using linear regression with categorical and continuous covariates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193706#M48672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check multicollinearity using proc glm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 21:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193706#M48672</guid>
      <dc:creator>cassifields</dc:creator>
      <dc:date>2015-04-12T21:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using linear regression with categorical and continuous covariates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193707#M48673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use STEPWISE BACKWISW ... option of MODEL to get rid of &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;multicollinearity and get the best model .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 12:06:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193707#M48673</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-13T12:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using linear regression with categorical and continuous covariates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193708#M48674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Best models" with categorical variables are messy, and those methods in PROC REG really won't help.&amp;nbsp; The categorical dummy variables are by definition collinear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would approach this with PROC GLM or MIXED, and look at the chapter on Analysis of Covariance in &lt;EM&gt;SAS for Mixed Models, 2nd ed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193708#M48674</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-04-13T14:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using linear regression with categorical and continuous covariates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193709#M48675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doc Steve,&lt;/P&gt;&lt;P&gt;Sorry to make you confused . My statistical background was not as good as you were .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 14:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-linear-regression-with-categorical-and-continuous/m-p/193709#M48675</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-13T14:42:40Z</dc:date>
    </item>
  </channel>
</rss>

