Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Adjusting for age in logistic regression


From   "maartenbuis" <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Adjusting for age in logistic regression
Date   Thu, 11 Nov 2004 10:15:33 -0000

Peter:

There are two issues here: First, should age be added as a single 
linear variables. Lets say you are interested in whether or not a 
women gets a child, and the variable age has a range of 0-100 years. 
Adding it as a linear term would clearly be nonsense. In this case I 
would start with creating a series of dummies: say 0-12, 12-18, 18-
30, >30. So how you want to include a variable depends on how you 
think the variable effects the probability of experiencing the event 
(= your theory). 

Second, some recent posts have suggested that there are still 
problems after you correctly entered the controll variable: see 
http://www.stata.com/statalist/archive/2004-10/msg00694.html

Maarten

> I am doing a logistic regression to determine the effect of risk 
> factors to the outcome. What I want to do is adjust for age and I 
> am including the age variable (continuous) into the model. What I 
> am not sure of is if this is the right approach.




*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index