Bookmark and Share

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: Qreg on Multiple Iterations of Data


From   cerulean 74 <[email protected]>
To   [email protected]
Subject   st: Qreg on Multiple Iterations of Data
Date   Sun, 27 Oct 2013 17:03:54 -0400

I'd like to use quantile regression for 1000 iterations on 100
observations: my data consists of values for three variables: Y, X1,
and X0(just a column vector of 1's). Each variable has 1000 columns of
values (each column is an iteration) and 100 rows(each row is an
observation). The goal is to use qreg to obtain 1000 coefficients of
X1, and 1000 coefficients of X0, output to Excel as two column vectors
of coefficients. That is, I would like to regress each column of Y on
the corresponding column of X and X0, a thousand times. I've tried
both STATA and MATA: my version of STATA has a maximum matrix size of
800, whereas my overall dataset size is 100 by 2001, and MATA does not
have a qreg option. Any advice/tips on how to achieve this? Thanks!
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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