Hebe B. Quinton wrote:
> In our section we frequently run multivariate models (usually simply
> regressions), and then wish to calculate adjusted values. The model is
> often
> something like:
>
> lung function = age sex infection center_2 center_3 center_4
>
> To calculate the adjusted value for each center we substitute the mean for
> age,
> sex, infection, then simply sum:
[...]
> where the centers are coded as 0,1 indicators, center 1 is left out as the
> referent. The idea is that each center is dealing with the same "average"
> set
> of patients, and the center effect is captured by its coefficient.
>
> First, does anyone else do things this way? Do you have a reference? I
> have
> spent some time on line and in my stats books and can't come up with
> anything
> useful.
If I understand you right, you're looking for a quicker way to mean-center
your independent variables.
If I am, then try Ben Jann's -center- routine, downloadable from SSC:
. findit center
and take it from there. Hope that helps.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: [email protected]
Newcastle University |http://www.ncl.ac.uk/geps
Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
conditions.
*
* 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/