Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Age-adjust

From   Lars Folkestad <>
To   "" <>
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}

Lars Folkestad

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index