<?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 can I run proc genmod keepimg fixed some parameter value? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127996#M34995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds really kludgy, but the only way I see to do this is to preprocess the data.&amp;nbsp; Plug the fixed value in and subtract it from the dependent variable. This may require using the correct link function. I don't see any other way in GENMOD.&amp;nbsp; The other alternative I can think of would be to do something in NLMIXED that was the equivalent of the GENMOD fitting, and use the BOUNDS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 12:23:21 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-09-04T12:23:21Z</dc:date>
    <item>
      <title>How can I run proc genmod keepimg fixed some parameter value?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127995#M34994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;How can I run proc genmod keepimg fixed some parameter value&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 15:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127995#M34994</guid>
      <dc:creator>j4copo</dc:creator>
      <dc:date>2013-09-03T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run proc genmod keepimg fixed some parameter value?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127996#M34995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sounds really kludgy, but the only way I see to do this is to preprocess the data.&amp;nbsp; Plug the fixed value in and subtract it from the dependent variable. This may require using the correct link function. I don't see any other way in GENMOD.&amp;nbsp; The other alternative I can think of would be to do something in NLMIXED that was the equivalent of the GENMOD fitting, and use the BOUNDS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 12:23:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127996#M34995</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-09-04T12:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run proc genmod keepimg fixed some parameter value?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127997#M34996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the offset statement:for quick and easy "fixing" of parameters to a desired value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example here&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nesug.org/proceedings/nesug07/sa/sa08.pdf"&gt;http://www.nesug.org/proceedings/nesug07/sa/sa08.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: CourierNew;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left"&gt;ata freq_data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;set input;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;claim_freq=claim_count / exposure;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;offset_factor=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;if driver_age_group =3 then offset_factor=1.05;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;if driver_age_group =4 then offset_factor=1.25;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;logoffset=log(offset_factor);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;if driver_age_group in (1,2) then driver_age_group_new= driver_age_group;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;else driver_age_group_new =9;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;proc genmod data=freq_data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;class driver_age_group_new type;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;model claim_freq = driver_age_group_new type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="left"&gt;/ dist=poisson link=log offset= logoffset;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127997#M34996</guid>
      <dc:creator>MattFlynn</dc:creator>
      <dc:date>2013-10-09T15:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I run proc genmod keepimg fixed some parameter value?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127998#M34997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt, how does this fix the parameter value?&amp;nbsp; I can see that it scales it for various age groups, but I was under the impression that the OP wanted a fixed single value, something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;model y = x1--x10/dist=poi;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with, for example, the contribution of x1, x2, and x3 being constant.&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>Wed, 09 Oct 2013 16:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-run-proc-genmod-keepimg-fixed-some-parameter-value/m-p/127998#M34997</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-10-09T16:36:05Z</dc:date>
    </item>
  </channel>
</rss>

