Basic Logit Model

80 visualizzazioni
Passa al primo messaggio da leggere

Carolina

da leggere,
28 mar 2022, 03:45:2428/03/22
a 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

da leggere,
28 mar 2022, 03:56:1828/03/22
a 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.

Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi