Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to use multiple datasets?


From   Yang Bonny Lin <[email protected]>
To   [email protected]
Subject   st: how to use multiple datasets?
Date   Sat, 30 Jul 2005 01:08:51 -0400 (EDT)

Dear help list,

I am currently working on project where I need to use multiple datasets (i
do not have access to the original data) on a server.

Each dataset is a country and I am interested in variables X1,X2,X3, Y

How do I run a regression ACROSS the countries with the dependent variable
Y and explanatory variables X1,X2,X3 given that I have multiple datasets
that I cannot merge? do I do a looping function?

But X1,X2 are defined slightly different in each of the country's
datasets, so is there a way to both loop through the countries and
redefine each country's variable when I am at it?

Thanks!
best,
yang



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index