Statalist


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

st: RE: RE: RE: Having multiple data files open in Stata 9


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: Having multiple data files open in Stata 9
Date   Fri, 25 Sep 2009 18:17:49 +0100

As others have pointed out, that doesn't follow at all. In addition to
other points, 

1. It is perfectly possible to have some variables in the dataset that
are not aligned with other variables. Stata doesn't know what variables
mean and doesn't care. So, for example, people often have time series
for times (... 1952, 1953, ..., 2008, whatever) and also work with lags
1, 2, 3, whatever. Variables for times are not aligned with variables
for lags. It's true that (a) you need to work out how to get the
different subsets to talk to each other (b) this may not be very
efficient (c) you need to take care not to produce nonsense. 

2. Mata. 

3. In similar problems I tend to have (my analogue of) the person data
in memory and use something like -postfile- or -file- to store
simulation results. 

Nick 
[email protected] 

Barth Riley

Thanks for your replyMartin. Between the fact that Stata only allows one
datafile open at a time and the fact that it doesn't support arrays
makes
certain tasks very difficult to do. I will most likely have to do part
of
the work in another application.

Martin Weiss

It is pretty much the same issue for all Stata versions. There is only
one
dataset open at any time, even though you can of course -merge- and
-append-
as much as you like. You can also have multiple instances open, but they
would not be able to communicate with each other...


Barth Riley

Is there a way to have multiple datasets open at one time in Stata
version
9? I want to simulate item responses based on IRT item parameters stored
in
one dataset and person parameters stored in a second dataset.


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index