[Limdep Nlogit List] maximize and skip

William Greene wgreene at stern.nyu.edu
Tue Jul 10 04:17:34 EST 2007


Phil.  MAXIMIZE does not respect SKIP.  The reason is the following:
SKIP is enacted with each model command by inspecting the various
lists of variables it contains (LHS, RHS, RH2, etc.) and collecting
the variable names in a very large internally generated (temporary)
REJECT command.  MAXIMIZE does not contain variable lists, so it
is not possible, short of precompiling the expression, to determine
what variables it contains.  Thus, you have to generate the appropriate
REJECT command yourself before the execution of the MAXIMIZE 
instruction.
/Bill Greene

************************************************
Professor William Greene
Department of Economics
Stern School of Business
New York University
44 West 4th St., Rm. 7-78
New York, NY   10012
Ph. 212.998.0876
Fax. 212.995.4218
URL. http://www.stern.nyu.edu/~wgreene
Email. wgreene at stern.nyu.edu
************************************************

----- Original Message -----
From: "Philip A. Viton" <viton.1 at osu.edu>
Date: Monday, July 9, 2007 1:03 pm
Subject: [Limdep Nlogit List] maximize and skip

> 
> Is it correct that the user-defined MAXIMIZE setup does not honor 
> the 
> SKIP setting, to delete missing data from the current sample? If 
> so, 
> is there some easy way to force this, short of doing a long REJECT 
> command, with one or-condition for each variable involved in the 
> optimization - it looks to me as if you can't do it using a 
> namelist 
> in a REJECT command.
> 
> ------------------------
> Philip A. Viton
> City Planning, Ohio State University
> 275 West Woodruff Avenue, Columbus OH 43210
> viton.1 at osu.edu
> 
> _______________________________________________
> Limdep site list
> Limdep at limdep.itls.usyd.edu.au
> http://limdep.itls.usyd.edu.au
> 




More information about the Limdep mailing list