On 30 May 2019, at 05:24, Ishant Sharma <reachish...@gmail.com> wrote:Dear Prof. Bierlaire,I have been trying to estimate elasticities for an ordinal logit and followed the pdf document (a guide to calculate indicators with pandasbiogeme) and I have calculated the direct elasticities.However, I am not sure if I have coded it right as I took the weight as simple (1/n) where n is the total number of observations.
Also, I am a bit confused about interpretation. Should we divide by 100 to infer the magnitude in percentages?
I have attached the script for your reference in which I have calculated elasticities for two variables ( both are dummy-categorical variables).
Also, will there be a change in the formula if the variables are categorical instead of continuous? I didn't' find anything in the document about it.
thank youIshant--
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 post to this group, send email to bio...@googlegroups.com.
Visit this group at https://groups.google.com/group/biogeme.
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/9d980d6b-4bff-408e-b21f-71a095ee8ff5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<OL_marginal.ipynb><OL_marginal.py>
Best,
Ishant Sharma
Graduate Research Assistant
PhD scholar |
Civil Engineering
On 5 Jun 2019, at 01:18, Ishant Sharma <reachish...@gmail.com> wrote:Thank you for your response, Sir.I have about 20 dummy variables in the final model (ordinal logit). Is there any other way to calculate arc elasticities for each variable other than creating after_utility (after) for each variable 20 times?