Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: invalid name problem when coding my own ml problem


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: invalid name problem when coding my own ml problem
Date   Mon, 27 Jul 2009 17:30:18 +0100

You're in good company. Many Stata programmers who now wonder now why
they ever failed to notice this detail wasted some time before they did.


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

rdmacleod@mta.ca

That was the problem. It's hard not to feel silly when it was something
that
simple. Thank you very much.

Ryan

Quoting Maarten buis <maartenbuis@yahoo.co.uk>:

>
> --- On Mon, 27/7/09, rdmacleod@mta.ca wrote:
> > I'm writing my own maximum likelihood program to run in
> > stata 10 for windows and whenever I run -ml check- on
> > the code it returns " ' invalid name" after parsing the
> > first line of the actual likelihood function.
>
> In Stata local macros and temprorary variable names are
> referred to as `what_ever' rather than 'what_ever', notice
> the distinction between "`" and "'".
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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