Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
Jason Hecht <jhecht58@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

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/

**Follow-Ups**:**Re: st: Importing a variable from another STATA file and an "xtregar" question***From:*Joerg Luedicke <joerg.luedicke@gmail.com>

**Re: st: Importing a variable from another STATA file and an "xtregar" question***From:*Jorge Eduardo Pérez Pérez <perez.jorge@ur.edu.co>

**Re: st: Importing a variable from another STATA file and an "xtregar" question***From:*Maarten Buis <maartenlbuis@gmail.com>

- Prev by Date:
**Re: st: Local Linear Regression for Regression Discontinuity Designs** - Next by Date:
**Re: st: Local Linear Regression for Regression Discontinuity Designs** - Previous by thread:
**Re: st: Local Linear Regression for Regression Discontinuity Designs** - Next by thread:
**Re: st: Importing a variable from another STATA file and an "xtregar" question** - Index(es):