[email protected]
>
> I want to perform the Hansen test with version 7 or 8. I
> installed the
> hansen.ado that appears in
> http://ideas.repec.org/c/boc/bocode/s428601.html
> After running a regression, I write the following command:
>
> hansen2 varlist
>
> I receive the message error number 199. Do you know what is
> going on? Did I make
> a mistake or the ado is not right?
>
> [P] error . . . . . . . . . . . . . . . . . . . . . .
> . . Return code 199
> unrecognized command;
> Stata failed to recognize the command, program, or
> ado-file name,
> probably because of a typographical or abbreviation error.
I am listed as the author of -hansen2-,
on the principle that I last touched it. There are three
possibilities at least, not two:
(1) the program is wrong
(2) downloading it via your browser messed it up
(it is _always_ better to install with -ssc- unless
some firewall constraint forbids that)
(3) you typed the wrong thing.
On (3), what I want to know is did you _literally_
type
hansen2 varlist
If not, what did you type?
Nick
[email protected]
*
* 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/