[Limdep Nlogit List] Re: CREATING AN UNDEFINED VARIABLE?
Gail Pacheco
gail.pacheco at aut.ac.nz
Thu Jun 7 11:47:25 EST 2007
Hi
i am wanting to create a variable that is only defined for a subgroup of
the total sample, at the moment my coding is:
create; if (empl=1) min=mwcatsum;
if (empl=0) min=???$
i am not sure what to put in place of the question marks? When empl=1, i
want the variable min to equal mwcatsum. But when empl is 0, i want the
variable min to be undefined.
I am using these variables in a sample selection model.
Any help would be much appreciated
thanks
******************************************************************************
This email contains confidential and proprietary information and is not
to be used
or disclosed to anyone other than the named recipient of this email,
and is to be used only for the intended purpose of this communication.
******************************************************************************
_______________________________________________
Limdep site list
Limdep at limdep.itls.usyd.edu.au
http://limdep.itls.usyd.edu.au
Gail Pacheco
Senior Lecturer - Economics
Faculty of Business
AUT University
gail.pacheco at aut.ac.nz
64-9-9219999 ext 5708
More information about the Limdep
mailing list