From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: Basic Q on Logistic Regression |
Date | Mon, 22 Dec 2003 08:44:41 -0500 |
At 03:43 AM 12/22/2003 -0800, [email protected] wrote:
Hello,Azadeh, in general, whatever is legitimate for IVs in an OLS regression is legitimate in a logistic regression. That includes interaction terms. In your example, you are basically allowing the effect of age to differ by gender, which should be fine. (Which is not to say that your model is correctly specified, but there is no inherent reason you can't do things like this; incidentally I would code gender 0-1 if it isn't coded that way already).
When using logit and logistic commands, can I have non-binary values for
my independent variable and controls? For example, for each
observation in my data set, I have the variable "age" and their ages (14,
15, 16...). If so, is there a limit on what the numbers can be or what form they can
take?
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |