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

RE: st: variables copy


From   "b. water" <[email protected]>
To   [email protected]
Subject   RE: st: variables copy
Date   Thu, 01 Dec 2005 09:50:39 +0000

dear yang li,

my suggestion might be frown upon by others but could get the job done till such time you become comfortable with stata.

put your original data in excel (if it's in stata .dta, copy paste to excel from the editor), highlights those unwanted columns, cut and paste them to another sheet (in case you need them in the future) then copy and paste the columns that you want into stata.

another approach, which i would encourage you if you think you would be stataing for a while is to invest time in understanding joseph's do-file. it can be re-applied ad-infinitum with minor jiggling to another similar problems.

best wishes,
bw

ps: assuming you have excel that is



From: Yang Li <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: st: variables copy
Date: Thu, 01 Jul 2004 17:44:11 +1000

Dear Statalists,

I have a huge list of variables in the form of
var1 par1 var2 par2 ... varN parN
I am intend to only copy var1, var 2.. var N to another stata file.
How can I realize this?

Thanks



--
UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information. If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments. If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
*
* 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/
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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