You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
You'll increase your chances of a useful answer by following the FAQ on asking questions - provide Stata code in code delimiters, readable Stata output, and sample data using dataex. Your problem is one that someone might program for you but they'd need the data.
You need to read the documentation - User's Guide is a good place to start. Not knowing about regress and xtreg suggests you haven't done the basics. Also, note that most folks on this list would see using OLS on a pooled time-series cross-sectional data as not a good idea. Look at xtreg.
Comment