Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Lars Folkestad <lfolkestad@health.sdu.dk> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Age-adjust |
Date | Tue, 10 Jan 2012 16:38:48 +0100 |
Not that there is much Info to go on here. One Way to go would be a linier regression model (if you data is suited for this) . regress the-variable-you-want-adjusted the-age-variable Followed by model testing. Remember that this will put age at zero and that this may not be suitable for your data. You can either subtract the lowest age in your data from your age variabe: . Gen newage1: age-{lowest age} or you could centrelize your age around mean age. . Gen newage2: age-{mean age} Mvh Lars Folkestad