Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: use of *OR* | in 'replace'


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: use of *OR* | in 'replace'
Date   Fri, 3 Mar 2006 10:37:51 -0000

I guess this means "in the user's head". 

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

Neil Shephard
 
> On 3/3/06, Steffen Hokland <hokland@mr.au.dk> wrote:
> > > replace Include=1 if Temp==42.5 | Dose_Group<3
> > > returns:
> > > Dose_Group invalid name
> > > r(198)
> > > ----------------------------------------------------
> > >
> > > Are you absolutely certain that you have a variable with the name
> > > Dose_Group (with uppercase and lowercase characters as shown)?
> > Yes - it's probably an error 40 (the error is 40 cm from the
> > display), but not that one.
> >
> The return code is r(198) and that is clearly stated.
> 
> What does "40cm from the display" mean?
> 
> Is there something near the monitor/computer that is causing the error
> (in no way meant to be facetious, but perhaps the user), or are you
> using -trace- to findout where the error is occuring and its 40 lines
> prior to exiting all code and returning to the prompt?
> 

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