Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Dropping variables in USE statement

From   daniel klein <>
Subject   Re: st: Dropping variables in USE statement
Date   Thu, 28 Mar 2013 15:07:51 +0100


have a look at -usesome- (SSC).

As I understand your query, the syntax should be

usesome D4* D5* D6* using DATASET ,not


Hi Statalist,

Is there a way to drop variables on the use statement? I am bringing
in Stata dataset with too many variables (transferred over from SAS
which is a pain to drop variables because I don't think I can drop
variables with a *).

Ideally I would like to process use DATASET, drop D4* D5* D6* etc

Anyway to approach this besides going back to the original dataset in SAS?
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index