[Limdep Nlogit List] Krinsky-Robb Query plus

Peter Edwards pedwards at UDel.Edu
Sat Mar 8 11:06:50 EST 2008


Hello Limdep listers

Again I need some help with what for most should be quite simple.

I would like to run a Krinsky-Robb procedure on a for a set of discrete data (DC CV data). (See below).  With some help I managed to run the K&R for the basic model.

However I am not sure how to input the correct "start" values for the Wald command.
Basic Model (This works fine)

Skip$ 

BLOGIT; LHS=WTP;RHS=ONE,BID$

WALD;Start=b;Var=varb;Labels=b1,b2

;Fn1=(-b1/b2)

;K&R;Pts=5000$



Expanded Model
Skip$

BLOGIT;LHS=WTP;RHS=ONE,BID,TRIPSJ,NIGHTSJ,TRIPSAT,BCHQUAL,REEFQUAL,AGE,GENDER$

CALC; list; 

;welfare=-((b(1)+b(3)(2.16455696)+b(4)(8.56962025)+b(5)(4.67088608)+b(6)(4.44725738)+b(7)(3.47468354)

+b(8)(40.4177215)+b(9)(.49367089))/b(2))$ (function for my welfare calculation)



So  I am not sure how to se up the code for the Wald expression. Particularly with respect to the number of "Start" values.

I have tried a number of options but basically keep getting the following error message.

Error 242: NLSQ:Wrong number of start values - need one for each label

I am also wondering if there is an easier  way to set up the welfare calculation function. 
Right now I have to manually input the Mean values for the RHS coefficients. (other things did not work).

(I still can't figure out how to plot the CDF and PDF but I'll keep poring thru the manual)

Sorry for seeming so helpless



PETER

++++++++++++++++++++++++++++++++
Peter E.T. Edwards
PhD. Candidate (Marine Policy)
University of Delaware
Graduate College of Marine Studies
Room 312 Robinson Hall
Newark, DE 19716
http://www.ocean.udel.edu/





More information about the Limdep mailing list