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

st: syntax error

From   "Marie Godquin" <>
To   <>
Subject   st: syntax error
Date   Tue, 15 Feb 2005 18:09:21 +0100

Dear all,

I'm writing my first likelihood maximizer but I'm stuck at the very first
command of my program when I run my ado file.
It looks like stata won't allow me to generate a variable based on my
This mimics however exactly an example given in the stata manual "maximum
likelihood estimation with stata"...
Really don't see what the problem is... Any suggestion?
Sorry for the simplicity of the question...

. cap program drop mgweibull_lf

.         version 8.0

.         args lnf lgam lalpha

.         tempvar p S1 S2 S3 f

. qui gen double `p'=exp(2*`lgam')
2* invalid name

Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.

*   For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index