From | Roger Newson <[email protected]> |
To | [email protected] |
Subject | Re: st: How to make prediction after a spline regression |
Date | Wed, 14 Apr 2004 09:31:41 +0100 |
At 18:40 13/04/04 -0700, Shige Song wrote:
Dear Roger,The -noconstant- option is mandatory if you want the parameters corresponding to the reference splines to be the odds at the reference point. If you do not have a -noconstant- option, then you should also omit the reference spline corresponding to a reference point inside the completeness range, and the parameters corresponding to the other reference spline will then be odds ratios, comparing the values of the spline at the other reference point to the value of the spline at the ommitted reference point. However, in this case, the value of the spline at the ommitted reference point will be given by the baseline odds parameter _cons, which is usually not printed by Stata.
Thanks for the reply. One more thing, is the "noconstant" option in the logistic regression mandatory or optional? I did not include in my xtlogit model, it did not seem to influence the estimate (none of the spline terms was dropped).
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |