Statalist


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

Re: st: How to interpret and summarize adjusted medians


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: How to interpret and summarize adjusted medians
Date   Wed, 14 Jan 2009 18:43:19 +0000 (GMT)

The easiest way to do what you want to do is to use -adjust-, see -help
adjust- and http://www.stata.com/support/faqs/stat/adjust.html . So in
your case you would type -adjust predictor1, by(predictor2)- to get the
predicted medians of outcome for each category of predictor2 for
someone who has a value on predictor1 equal to the overal mean. 

--- I M <[email protected]> wrote:

> Hello,
> 
> I have a multivariate model (quantile regression, qreg) with a set of
> covariates.
> 
> I have run the quantile regression model, then generated predicted
> values (values adjusted according to the covariates in my model).
> 
> Essentially, these predicted values are the predicted medians.
> 
> How do I summarize these predicted medians?  i.e. if I want to report
> the predicted median by gender, how would I do this?
> 
> 
> 
> ---begin example---
> /*quantile regression model*/
> qreg [outcome] [predictor variable 1] [predictor variable 2, i.e.
> gender]
> 
> /*generate predicted medians based on estimates*/
> predict [predicted medians], xb
> 
> /*summarize the predicted values*/
> sum [predicted medians], detail
> 
> ---end example---
> 
> 
> 
> The sum, detail command would give me the percentiles and the mean
> (and some other statistics).
> 
> If I want to summarize the predicted medians, would I state the mean
> from the "sum" command, or would I state the median from the "sum"
> command?
> 
> In other words, do I want to report the mean of the 'predicted
> median', or the median of the 'predicted median'?
> 
> Thank you immensely!
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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