[Limdep Nlogit List] Weighting exogenous variables error
Robak, Anna Michelle - robam013
anna.robak at mymail.unisa.edu.au
Sat Jun 30 21:59:06 AEST 2018
Hello All,
I’m attempting to use exogenous weighting for a latent class model, but I’m getting an error that says, « variable not in table or nonpositive weight found ». The variable is showing in the data table, and there are no negative values. Is there another reason I could be getting this error?
My script is:
nlogit
;lhs=choice, cset, alt
;choices=invest,none
;wts=wtage
;prob=pr1
;descriptives
;crosstab
;lcm=age, income,protecti, male, caucasia,restri_d , badtaste
;maxit=200
;rst=i1,i2,i3,i4,i11,0,0,0,0,i10
;pts=2
;model:
u(invest)=inc*inc+NPVE*NPVEgain+big*secondbi+small*secondsm/
u(none)=inc*inc+NPVE*NPVEgain+big*secondbi+small*secondsm+isdup$
Thanks,
Anna
More information about the Limdep
mailing list