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

RE: st: Keeping values in multiple variables


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Keeping values in multiple variables
Date   Thu, 9 Jun 2005 21:30:52 +0100

In at least some languages the left-leaning 
` is called grave, not acute. 

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

Rafal Raciborski
 
> It is not 'k' but `k'.  Note that the opening quote is an 
> acute quotation mark
> (usually found under the escape key together with the tilde).
> rafal
 
djason@email.unc.edu

> > Thank you for the tip, but it's stating that 'k' is an 
> invalid name, although
> > it is defined.  If you have any more ideas I would love to see them.

Felipe Salazar <felipe.salazar@uai.cl>:

> > > If I understand correctly, you have 204 variables named 
> mon1 mon2 mon3
> > > ... mon204. I would type:
> > >
> > > local k=1
> > > while `k'<=204 {
> > >    keep if mon`k'=="3"
> > >    local ++k

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