Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Dropping variables in USE statement
From
William Sankey <[email protected]>
To
[email protected]
Subject
Re: st: Dropping variables in USE statement
Date
Thu, 28 Mar 2013 10:13:08 -0400
Great, I did not know about this procedure, thank you.
On Thu, Mar 28, 2013 at 10:07 AM, daniel klein
<[email protected]> wrote:
> William,
>
> have a look at -usesome- (SSC).
>
> As I understand your query, the syntax should be
>
> usesome D4* D5* D6* using DATASET ,not
>
> Best
> Daniel
>
> --
> 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:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
--
William J. Sankey
Johns Hopkins University
MA Public Policy '12
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/