SEN1221TUD / Q2_2023

3 stars 4 forks source link

Calculations slide 24 week 2 about ML model #13

Open c1820-coding opened 7 months ago

c1820-coding commented 7 months ago

image When i try to calculate the choice probabilities on slide 24 of week 2, i get different results than the results mentioned on the slide.

for example: [Pnbus | v = -3] = (e^-4+-3)/(e^-4+-3 + e^-3.5+-3 + e^-3) = 0.017 while on the slide it says 0.05. Am i doing something wrong or are the answers on the slide wrong?

sandervancranenburgh commented 7 months ago

Sorry for the late reply. I must have missed it due to the exam preparations. What goes wrong is the calculation of the utility. In this example, the TC for bus gets 0. Hence, V_bus is not equal to -4. You would need the beta to compute V (they are on the slide before). I hope this helps! Sander