<?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: starting point  in the PROC GENMOD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/starting-point-in-the-PROC-GENMOD/m-p/13050#M218</link>
    <description>I assume you want to know how the starting values of the parameter estimates are computed.  The starting values are displayed by using the ITPRINT option in the MODEL statement.  The starting values are computed as discussed in the McCullagh and Nelder reference (section 2.5 in the 2nd edition).  Basically, you can get them using PROC REG by regressing the logit of the response, y, on the predictors with weight ny(1-y).  For example, using the remission data in the stepwise example in the PROC LOGISTIC documentation:&lt;BR /&gt;
&lt;BR /&gt;
data a; set remission;&lt;BR /&gt;
  y=.1*(remiss=0)+.9*(remiss=1);&lt;BR /&gt;
  logit=log(y/(1-y)); &lt;BR /&gt;
  wt=y*(1-y);&lt;BR /&gt;
  run;&lt;BR /&gt;
proc reg;&lt;BR /&gt;
  model logit=smear cell; &lt;BR /&gt;
  weight wt;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
Note that for binary response data (rather than binomial, events/trials, data), n=1 and zeros are replaced by 0.1 and ones are replaced by 0.9.  For binomial data, y=events/trials with the same adjustment if y=0 or 1.</description>
    <pubDate>Tue, 24 Nov 2009 16:01:33 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2009-11-24T16:01:33Z</dc:date>
    <item>
      <title>starting point  in the PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/starting-point-in-the-PROC-GENMOD/m-p/13049#M217</link>
      <description>How to calculate the default initial value for logistic regression using PROC GENMOD in SAS?</description>
      <pubDate>Fri, 06 Nov 2009 06:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/starting-point-in-the-PROC-GENMOD/m-p/13049#M217</guid>
      <dc:creator>crystal</dc:creator>
      <dc:date>2009-11-06T06:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: starting point  in the PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/starting-point-in-the-PROC-GENMOD/m-p/13050#M218</link>
      <description>I assume you want to know how the starting values of the parameter estimates are computed.  The starting values are displayed by using the ITPRINT option in the MODEL statement.  The starting values are computed as discussed in the McCullagh and Nelder reference (section 2.5 in the 2nd edition).  Basically, you can get them using PROC REG by regressing the logit of the response, y, on the predictors with weight ny(1-y).  For example, using the remission data in the stepwise example in the PROC LOGISTIC documentation:&lt;BR /&gt;
&lt;BR /&gt;
data a; set remission;&lt;BR /&gt;
  y=.1*(remiss=0)+.9*(remiss=1);&lt;BR /&gt;
  logit=log(y/(1-y)); &lt;BR /&gt;
  wt=y*(1-y);&lt;BR /&gt;
  run;&lt;BR /&gt;
proc reg;&lt;BR /&gt;
  model logit=smear cell; &lt;BR /&gt;
  weight wt;&lt;BR /&gt;
  run;&lt;BR /&gt;
&lt;BR /&gt;
Note that for binary response data (rather than binomial, events/trials, data), n=1 and zeros are replaced by 0.1 and ones are replaced by 0.9.  For binomial data, y=events/trials with the same adjustment if y=0 or 1.</description>
      <pubDate>Tue, 24 Nov 2009 16:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/starting-point-in-the-PROC-GENMOD/m-p/13050#M218</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2009-11-24T16:01:33Z</dc:date>
    </item>
  </channel>
</rss>

