[Limdep Nlogit List] divide by zero error

Stephane Mahuteau smahutea at efs.mq.edu.au
Sat Jan 26 14:45:55 EST 2008


Hi everyone,

I have a rather strange thing happening using Limdep and was wondering if I did anything wrong that I missed.
I run a model involving selection based on a multinomial logit which returns satisfactory results, everything converges nicely.
However, I wanted to keep the probabilities in teh selection equation and the predictions  in the subsequent model. Therefore the model became:

logit;lhs=ar_strlf;rhs=z1;marg;prob=probasel$
logit;lhs=ar_strlf;rhs=z1;hold$
select;lhs=ans_ppi;rhs=x1,x2;choice=0;keep=dur_ch0$
select;lhs=ans_ppi;rhs=x1,x2;choice=1;keep=dur_ch1$
select;lhs=ans_ppi;rhs=x1,x2;choice=2;keep=dur_ch2$
select;hs=ans_ppi;rhs=x1,x2;choice=3;keep=dur_ch3$

(z1, x1 and x2 are namelists by the way) 

When I run that, Limdep shuts off after telling me a division by zero occured and that I should check my data. Since the model works perfectly when I do not require the predictions to be kept as variables I don't think the data have anything to do with the problem. What did I do to deserve this message?


Second, I put my version of Limdep on a new computer running vista. Since then, each time I save a project file I can no longer open it again as the same division by zero message comes up before I can do anything. The project is basically unusable. I lost a couple of projects this way which involved a lot of time wasted. Do I need a special patch to run the program with vista?
Thank you very much for your help.
Best,
Stephane




More information about the Limdep mailing list