[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Stata programming and the scalar/tempname command
> -----Original Message-----
> From: Anna-Lisa Pierre [mailto:firstname.lastname@example.org]
> Sent: Thursday, June 06, 2002 10:38 AM
> To: email@example.com
> Subject: st: Stata programming and the scalar/tempname command
> Hi this is a bit of a programme that I am writing. Can anyone
> spot why it
> does not work? The scalar commands do not appear to work. I get the
> following error "= invalid name" and "unrecognized command:
> when I run the programme. Any help is greatly appreciated.
> tempname catnum degreef obs
> tempvar scoreqq scor_uqq scor_nqq diffqq1
> noisily oprobit `*' `if' [`weight'`exp']
> scalar `catnum'=e(k_cat)
I note at least that there needs to be a space between the word "scalar"
and the name of the scalar ("`degreef'"). This explains the second
error you mention; where is the first one occurring?
* For searches and help try: