--
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/8277a744-2d77-4611-b436-58606899a713n%40googlegroups.com.
On 17 Mar 2022, at 21:45, Atefeh Fakourrad <a.fak...@gmail.com> wrote:
Thanks for your reply. I have fully read the document and I think my question goes beyond it.
I just want to compare the model fitness of a Mixed Logit model and an ICLV model to check which model statistically outperforms. Since the ICLV model includes both the choice model and the structural model, we cannot simply compare the reported log-likelihood of the ICLV model with the ML model.
That is why I need to extract the LL of the choice model estimated in the ICLV, then I can use it to make a comparison, right?
Now, my question is about the possible way(s) that I can use to obtain the LL of the choice model inside the ICLV model. To do so, you suggested using simulation with the estimated parameters. I was wondering what elements are needed in the simulation syntax to ensure I can get the LL of the choice (sub)model? Is there any example that I can follow in this regard?
Best,Ati.
On Thursday, March 17, 2022 at 5:54:25 PM UTC+1 michel.b...@epfl.ch wrote:
I am not sure to understand your question.On 17 Mar 2022, at 11:45, Atefeh Fakourrad <a.fak...@gmail.com> wrote:
Dear Prof. Bierlaire,
I am in great need of estimating the Log-Likelihood of the choice submodel in an ICLV model. I have searched the forum and found that you suggested using simulation with the estimated parameters. This is still not fully clear to me. Should I follow the general instructions (of course the adapted version) of this simulation example or another one?In the simulation syntax, should I just specify the utility functions of the choice submodel using the estimated parameters without LVs? As far as I know, the simulation output in Biogeme will be a Pandas data frame, right? How can I find the LL then?
I would highly appreciate your guidance in this case in advance.
Best regards,Ati.
--
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/8277a744-2d77-4611-b436-58606899a713n%40googlegroups.com.
--
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/bc9bb033-9375-41ae-a872-480f5194c78cn%40googlegroups.com.
On 18 Mar 2022, at 12:33, Atefeh Fakourrad <a.fak...@gmail.com> wrote:
Thanks for your guidance. I have run the simulation and here is the output:
Simulation results Prob. acc Prob. dec count 3456.000000 3456.000000 mean 0.701389 0.298611 std 0.096380 0.096380 min 0.380567 0.158056 25% 0.647859 0.214164 50% 0.705857 0.294143 75% 0.785836 0.352141 max 0.841944 0.619433Is there a piece of code that I can use for calculating the LL? I found this: biogeme.calculateLikelihood(x, scaled, batch=None). If it is the case, what is 'x' exactly? In the Swissmetro example, which variable should be considered as 'X' in this function?Best,Ati.
On 25 Mar 2022, at 13:19, Atefeh Fakourrad <a.fak...@gmail.com> wrote:
Dear Prof. Bierlaire,
Thanks to your guide, I was able to calculate the loglikelihood of the choice model estimated within an ICLV model. Then, I compared it with the loglikelihood of an estimated Mixed-logit model. It turns out that in my study, the log-likelihood of the Mixed-logit model is better than the loglikelihood of the choice submodel of the ICLV model.
Does this mean that the Mixed-logit can better fit the data and the ICLV model is not needed despite the additional complexity?
Are there other criteria than the model fit that can justify the use of ICLV models?
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/abf7baeb-b742-4acf-99ab-8c1d0e36cf36n%40googlegroups.com.
On 29 Mar 2022, at 10:54, Atefeh Fakourrad <a.fak...@gmail.com> wrote:
Dear Prof. Bierlaire,
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/56b3ac92-391e-431b-a5ff-986c6474f314n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/f375c824-6df3-4076-9851-223f9a945032n%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/3d787258-c4dd-4514-bee3-b9258225333an%40googlegroups.com.
<WechatIMG22.jpeg>