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: Importing a variable from another STATA file and an "xtregar" question


From   Jason Hecht <[email protected]>
To   [email protected]
Subject   st: Importing a variable from another STATA file and an "xtregar" question
Date   Tue, 7 Jun 2011 10:45:06 -0400

Any help with the following questions would be greatly appreciated:

1.  I created a smaller panel STATA datafile from a larger panel
datafile by discarding unneeded variables.  I now want to bring in a
single variable from the larger datafile into the smaller panel
datafile.  Is there an easy way to do this.


2.  I am running the following model:

xtregar capexppenet salesppenet if totalassets>1000, re rhotype(theil) twostep

However, instead of using "totalassets>1000,"  I now want to run the
model on the upper 5% of the distribution of total assets.

Is there an easy way to do this in the above model estimation code?


Thanks so much.

Jason Hecht
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index