<?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: Force a variable's coefficient during logistic regression ... in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162066#M8428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. The drawback of the OFFSET= hack is that it only permits one variable, so isn't as versatile as the RESTRICT statement in PROC REG. Regardless. it's sooo clever!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 19:32:15 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2014-10-03T19:32:15Z</dc:date>
    <item>
      <title>Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162061#M8423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do a logistic regression y (0 or 1) over a list of variables x1, x2, x3, x4. Now I want to fix x1's coefficient to be 2.5 and regress against x2-x4. How can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc genmod data = mmm descending;&lt;/P&gt;&lt;P&gt;model y = x1 x2 x3 x4 /d=b;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to fix x1's coefficient to be 2.5 such as:&lt;/P&gt;&lt;P&gt;proc genmod data = mmm descending;&lt;/P&gt;&lt;P&gt;model y = x1(coefficient to be fixed as 2.5) x2 x3 x4 /d=b;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that doable? Thanks.&lt;/P&gt;&lt;P&gt;Jian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 16:38:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162061#M8423</guid>
      <dc:creator>jzhang332002</dc:creator>
      <dc:date>2014-09-26T16:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162062#M8424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check estimation method for proc genmod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 18:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162062#M8424</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-09-26T18:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162063#M8425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there - I moved your post from the general support community space to the SAS Statistical procedures community so users can see your question there. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 20:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162063#M8425</guid>
      <dc:creator>Community_Help</dc:creator>
      <dc:date>2014-09-26T20:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162064#M8426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the offset option. This forces the coefficient to be 1. So, you first create a variable that is 2.5*x1, and use this.&lt;/P&gt;&lt;P&gt;data mmm; set mmm;&lt;/P&gt;&lt;P&gt;x1_25 = x1*2.5;&lt;/P&gt;&lt;P&gt;proc genmod data=mmm descending;&lt;/P&gt;&lt;P&gt;model y = x2 x3 x4 x5 / offset=x1_25 dist=b;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 20:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162064#M8426</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-09-26T20:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162065#M8427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, that is sweet.&amp;nbsp; I would have had some sort of data step where I subtracted off some horrible looking backtransformed from the logit value from the dependent.&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>Fri, 03 Oct 2014 18:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162065#M8427</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-10-03T18:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162066#M8428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. The drawback of the OFFSET= hack is that it only permits one variable, so isn't as versatile as the RESTRICT statement in PROC REG. Regardless. it's sooo clever!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162066#M8428</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2014-10-03T19:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Force a variable's coefficient during logistic regression ...</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162067#M8429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want b1=2.5 and b2=5.0, one could do:&lt;/P&gt;&lt;P&gt;data mmm; set mmm;&lt;/P&gt;&lt;P&gt;offset = 2.5*x1 + 5*x2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc genmod data=mmm descending;&lt;/P&gt;&lt;P&gt;model y =&amp;nbsp; x3 x4 x5 / offset=offset dist=b;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 19:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Force-a-variable-s-coefficient-during-logistic-regression/m-p/162067#M8429</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2014-10-03T19:59:59Z</dc:date>
    </item>
  </channel>
</rss>

