Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: sqreg -test- at each quantile
From
Samantha Batchelor <[email protected]>
To
[email protected]
Subject
st: sqreg -test- at each quantile
Date
Mon, 21 Mar 2011 14:59:28 +1000
Hi,
I'm running a quantile regression including ethnicity with 5 levels as below.
xi: sqreg vocab i.gender i.mothered i.children i.ethnicity standards, q(.2 .4 .6 .8) reps(500)
When I use:
test _Iethnicity_2 _Iethnicity_3 _Iethnicity_4 _Iethnicity_5
to test the effect of ethnicity, Stata tests it across all the quantiles whereas I want it separately for each quantile.
Ditto if I want to test an interaction at each quantile.
Is there a command to get the test for each quantile or do I need to run bsqreg for each quantile separately?
Thanks very much,
Samantha Batchelor
*
* 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/