<?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: glm procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252052#M13304</link>
    <description>&lt;P&gt;thank you, so we mix exposition factors and confusion factors ?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2016 14:32:38 GMT</pubDate>
    <dc:creator>marica14</dc:creator>
    <dc:date>2016-02-24T14:32:38Z</dc:date>
    <item>
      <title>glm procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252040#M13301</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i am doing a glm procedure to determine the factors exposure on fetal growth. ( pesticides, season )&lt;/P&gt;&lt;P&gt;i have to adjust it with sex and diabetes (for example). ( i have make dummy variables for qualitatives variables and put it on class statement)&lt;/P&gt;&lt;P&gt;i don't know the right procedure :&lt;/P&gt;&lt;P&gt;is it&lt;/P&gt;&lt;P&gt;proc glm data = work;&lt;/P&gt;&lt;P&gt;class diabetes;&lt;/P&gt;&lt;P&gt;model weightnewborn = pesticides * sex*diabetes&amp;nbsp; season*sex*diabetes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;proc glm data = work;&lt;/P&gt;&lt;P&gt;class diabetes;&lt;/P&gt;&lt;P&gt;model weightnewborn = pesticides * season*sex*diabetes&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;thank you for your response&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252040#M13301</guid>
      <dc:creator>marica14</dc:creator>
      <dc:date>2016-02-24T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: glm procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252050#M13303</link>
      <description>&lt;P&gt;Both sex and diabetes are categorical, so both go on the CLASS statement:&lt;/P&gt;
&lt;P&gt;CLASS Sex Diabetes;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a model that uses only the main effects, use&lt;/P&gt;
&lt;P&gt;MODEL weightnewborn = pesticides&amp;nbsp; season sex diabetes;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you believe that there are interactions between the explanatory variables, then use the "*" operator to&amp;nbsp;specify the&amp;nbsp;interaction effects. For example,&lt;/P&gt;
&lt;P&gt;MODEL weightnewborn = pesticides&amp;nbsp; season sex diabetes&amp;nbsp; sex*diabetes;&lt;/P&gt;
&lt;P&gt;is a model that assumes that the birth weights depend on whether the females also have diabetes (or diabetic mothers?).&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:30:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252050#M13303</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-24T14:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: glm procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252052#M13304</link>
      <description>&lt;P&gt;thank you, so we mix exposition factors and confusion factors ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252052#M13304</guid>
      <dc:creator>marica14</dc:creator>
      <dc:date>2016-02-24T14:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: glm procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252055#M13305</link>
      <description>&lt;P&gt;There is a nice &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glm_details02.htm" target="_self"&gt;section of the GLM documentation &lt;/A&gt;that discusses how to specify effects by using the SAS "stars and bars" notation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've told you how to specify the syntax, but deciding on the correct model is more difficult because it involves the data. Many analysts start by fitting a main-effect model and then use graphical disgnostic plots and statistical techniques to investigate whether that initial model is sufficient, or whether the data support a more complex model.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252055#M13305</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-24T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: glm procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252059#M13307</link>
      <description>&lt;P&gt;I read the documentation, so if i want to adjust a multiple regression on the sex, i have to put them on the model like others variables ?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252059#M13307</guid>
      <dc:creator>marica14</dc:creator>
      <dc:date>2016-02-24T14:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: glm procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252060#M13308</link>
      <description>&lt;P&gt;Yes, that is correct. "Adjusting for a variable" or "controlling for a variable" means that those effects are in the model, even if they are not the primary quantity that you are investigating.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:58:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/glm-procedure/m-p/252060#M13308</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-24T14:58:35Z</dc:date>
    </item>
  </channel>
</rss>

