<?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: How to estimate spline function in a multi-variable logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360411#M18911</link>
    <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2017 12:15:07 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-05-22T12:15:07Z</dc:date>
    <item>
      <title>How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360371#M18910</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When researchers want to conduct the relationship between a binary dependent variable and independent variables, one way they can do&amp;nbsp;is as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC LOGISTIC DATA = MyDtSt;
    MODEL Y(event='1') = Main X, confounders;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This one is easy!&lt;/P&gt;&lt;P&gt;It simply use main x to construct a model for Y, also with the adjustment of confounders.&lt;/P&gt;&lt;P&gt;However, my question is that what if I want to use spline(X) to model Y, and at the same time I want to control for linear confounding effects?&lt;/P&gt;&lt;P&gt;Is there any way allows me to model binary Y with spline function of X, and also enables me to take into account confounding effects?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you guys can provide me with some suggestions.&lt;/P&gt;&lt;P&gt;Thanks in advance!&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 May 2017 07:52:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360371#M18910</guid>
      <dc:creator>Chung-Li</dc:creator>
      <dc:date>2017-05-22T07:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360411#M18911</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 12:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360411#M18911</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-05-22T12:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360413#M18912</link>
      <description>&lt;P&gt;The EFFECT statement in PROC LOGISTIC (and many other PROCs) allows you to use a spline fit through X in the model. This example, which uses PROC GLIMMIX, ought to function the same in PROC LOGISTIC: &lt;A href="http://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect015.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?cdcId=statcdc&amp;amp;cdcVersion=14.2&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect015.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 12:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360413#M18912</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-05-22T12:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360417#M18913</link>
      <description>&lt;P&gt;You can use the EFFECT statement in PROC LOGISTIC to define a spline effect.&lt;/P&gt;
&lt;P&gt;Simple example with lots of links to papers and doc: &lt;A href="http://blogs.sas.com/content/iml/2017/04/05/nonsmooth-models-spline-effects.html" target="_self"&gt;"Nonsmooth models and spline effects"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The EFFECT statement supports several kinds of splines, so read the doc for how to specify the basis functions. For an example that uses restricted cubic splines, see &lt;A href="http://blogs.sas.com/content/iml/2017/04/19/restricted-cubic-splines-sas.html" target="_self"&gt;"Regression with restricted cubic splines in SAS"&lt;/A&gt;. The article demonstrates linear regression, &amp;nbsp;but you can use the same ideas and syntax in PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 12:35:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360417#M18913</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-05-22T12:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360586#M18929</link>
      <description>&lt;P&gt;Ksharp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for doing this!&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 00:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360586#M18929</guid>
      <dc:creator>Chung-Li</dc:creator>
      <dc:date>2017-05-23T00:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360587#M18930</link>
      <description>&lt;P&gt;Paige Miller,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this information!&lt;/P&gt;&lt;P&gt;I'll definitely check "effect" statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 00:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360587#M18930</guid>
      <dc:creator>Chung-Li</dc:creator>
      <dc:date>2017-05-23T00:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate spline function in a multi-variable logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360590#M18931</link>
      <description>&lt;P&gt;Rick,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is exactly what I'm looking for!&lt;/P&gt;&lt;P&gt;With this information, I think I can achieve what I want.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 00:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-estimate-spline-function-in-a-multi-variable-logistic/m-p/360590#M18931</guid>
      <dc:creator>Chung-Li</dc:creator>
      <dc:date>2017-05-23T00:15:10Z</dc:date>
    </item>
  </channel>
</rss>

