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

st: RE: -collapse-


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: -collapse-
Date   Tue, 2 Mar 2004 14:29:48 -0000

Half correct. 

See http://www.stata.com/support/faqs/data/variables.html

Why half-correct? Because it is possible to automate
keeping the labels and putting them back ago, by using
a wrapper program. That is, the "manual" solution is 
not the only one. 

Nick 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Sascha O.
> Becker
> Sent: 02 March 2004 14:24
> To: statalist@hsphsun2.harvard.edu
> Subject: st: -collapse-
> 
> 
> Dear statalisters,
> 
> another labeling question:
> -collapse- automatically changes variable labels of collapsed 
> variables 
> to "report" what has been done in the -collapse-.
> While this is probably a good default option to keep you from messing 
> things up and "warning" you that the collapsed data set is different 
> from the original one, it might be useful in some other cases to keep 
> the original variable label.
> As I understand it, there is no option to do this and one has to 
> "manually" relabel the collapsed variable if one wants to "keep" the 
> original variable label, right?
> 
> Cheers, Sascha
> 
> *
> *   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/
> 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index