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

st: RE: subset (using by ...)


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: subset (using by ...)
Date   Thu, 17 Jul 2003 14:57:25 +0100

Nemo Johnson

>   I note that in another package, data can be completely
> subset into separate
> temporary datasets without having any effect on the
> original.  I know, of
> course, that stata can do the same thing using "by" or
> "drop/keep", but the
> logic seems different (in Stata, the "by" statements clearly need to
> continually recur, and using "keep" requires great caution).
>
>   Yes of course I know this is just a taste issue, but
> perhaps there is a
> command I'm unaware of.  Any suggestions?
>
>   Please include this email address in replies.

This question is rather general: I don't get a clear
sense of what specific flexibility you're missing.

However, Stata doesn't offer a way of doing this
as such. You can -save- parts of the data
as separate data sets, you can do things to
subsets, as you indicate, etc.

I think the return question is: what do you
want to do that you think you can't do in Stata?

Nick
[email protected]

*
*   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