On Sat, 14 Mar 2015, Qi Shi wrote:
dear everyone,
when i write in gretl the scripts
"
open greene22_2
discrete Z5
list X=dummify(Z5) --drop-first
"
then I run the program and get the results,
[...]
? list X=dummify(Z5) --drop-first
> list X=dummify(Z5) --drop-
The symbol 'drop' is undefined
Error executing script: halting
> list X=dummify(Z5) --drop-first
"
why did i encounter the error?
Because you're using an option, which goes with the "dummify" command,
together with the _function_ called "dummify". In fact, it is confusing.
If it weren't for backwards compatibility, there would be no reason to
keep the command IMO.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------