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

st: RE: RE: Question on Removing Superfluous Data

From   "Nick Cox" <>
To   <>
Subject   st: RE: RE: Question on Removing Superfluous Data
Date   Thu, 20 Oct 2005 13:17:29 +0100

The question asked for an _automatic_ way 
of doing this. I think you are right 
in your implication that there isn't one, 
as I argued at some length earlier, 
but this isn't what I understood to be


Michele Favre M.
> I think that maybe this can help...
> you have to use the command "keep (varname1) (varname2)..." 
> and Stata keeps
> only the columns (or variables) that you want to work with

Adrian Yung Hwei Ow
> I'm new to the list, and I had a short question about STATA commands.
> I'm working for a professor who's trying to clean up her dataset; she
> told me that there was a command in STATA that automatically kept only
> the data columns used to produce result (more precisely, a 
> command that
> allows one to automatically drop columns not used for a given do file)
> -- do you know what this might be?

*   For searches and help try:

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