Basic Logit Model

79 views
Skip to first unread message

Carolina

unread,
Mar 28, 2022, 3:45:24 AM3/28/22
to Biogeme
Dear Prof. Bierlaire,

I have some basic questions about the multinomial logit model (I'm just a begginer on using Biogeme) and I would appreciate if you could help me:

1. Is possible to use qualitative variables on my model? Or should I convert every one in numerical variable/dummy? For exemple, what should I do with answers in likert scale. How does Biogeme know if I'm using a qualitative or a quantitative variable (or even a dummy)?
2. Is possible to generate a model if I had NaN values on my database?

Thanks,
best regards, 
Carol.

Bierlaire Michel

unread,
Mar 28, 2022, 3:56:18 AM3/28/22
to yumi...@gmail.com, Bierlaire Michel, Biogeme

On 28 Mar 2022, at 03:00, Carolina <yumi...@gmail.com> wrote:

Dear Prof. Bierlaire,

I have some basic questions about the multinomial logit model (I'm just a begginer on using Biogeme) and I would appreciate if you could help me:

1. Is possible to use qualitative variables on my model? Or should I convert every one in numerical variable/dummy? For exemple, what should I do with answers in likert scale. How does Biogeme know if I'm using a qualitative or a quantitative variable (or even a dummy)?

All variables must be numeric in terms of format. Qualitative variables must be coded numerically in one way or the other.
You will find examples of usage of Likeert scale indicator in this document. https://transp-or.epfl.ch/documents/technicalReports/Bier18b.pdf

2. Is possible to generate a model if I had NaN values on my database?

You need to replace all NaN by “99999”, which is the default code for missing values. 



Thanks,
best regards, 
Carol.

--
You received this message because you are subscribed to the Google Groups "Biogeme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/e267a904-bc34-4e86-a95e-9f40aaa4b5edn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages