Important: Read this before posting to this forum

  1. This forum is for questions related to the use of Apollo. We will answer some general choice modelling questions too, where appropriate, and time permitting. We cannot answer questions about how to estimate choice models with other software packages.
  2. There is a very detailed manual for Apollo available at http://www.ApolloChoiceModelling.com/manual.html. This contains detailed descriptions of the various Apollo functions, and numerous examples are available at http://www.ApolloChoiceModelling.com/examples.html. In addition, help files are available for all functions, using e.g. ?apollo_mnl
  3. Before asking a question on the forum, users are kindly requested to follow these steps:
    1. Check that the same issue has not already been addressed in the forum - there is a search tool.
    2. Ensure that the correct syntax has been used. For any function, detailed instructions are available directly in Apollo, e.g. by using ?apollo_mnl for apollo_mnl
    3. Check the frequently asked questions section on the Apollo website, which discusses some common issues/failures. Please see http://www.apollochoicemodelling.com/faq.html
    4. Make sure that R is using the latest official release of Apollo.
  4. If the above steps do not resolve the issue, then users should follow these steps when posting a question:
    1. provide full details on the issue, including the entire code and output, including any error messages
    2. posts will not immediately appear on the forum, but will be checked by a moderator first. This may take a day or two at busy times. There is no need to submit the post multiple times.

Search found 1035 matches

by stephanehess
01 Jul 2020, 22:19
Forum: Estimation results
Topic: Could the LL of a full model worse than that for the reduced model?
Replies: 12
Views: 18458

Re: Could the LL of a full model worse than that for the reduced model?

Hi Tim let us assume you have the following situation: model 1: V = beta_x * x + ... model 2: V = beta_xinc * x_inc + beta_xdec * x_dec + ... where x_inc = (x>x0)*(x-x0) and x_dec = (x<x0)*(x-x0) not that in this notation, x_dec will be negative, which will help us with the comparison As only differ...
by stephanehess
28 Jun 2020, 16:36
Forum: Errors during model validation and/or estimation.
Topic: Errors when using sobol draws in RPL
Replies: 3
Views: 6260

Re: Errors when using sobol draws in RPL

Hi Tim

Could you please share your code and the full output you see so we can investigate?

Thanks

Stephane
by stephanehess
27 Jun 2020, 22:22
Forum: Models and estimation
Topic: Alternative specific contants in unlabelled form
Replies: 4
Views: 8351

Re: Alternative specific contants in unlabelled form

Peter whether the second is correct depends on what happens in your data. In theory, and this is a point that is misunderstood by many, you should always have a full set of ASCs. This is where the distinction that people make between "labelled" and "unlabelled" is not helpful. Ra...
by stephanehess
27 Jun 2020, 12:30
Forum: Models and estimation
Topic: Alternative specific contants in unlabelled form
Replies: 4
Views: 8351

Re: Alternative specific contants in unlabelled form

Peter

only differences in utility matter. If the ASCs are not random, then it makes no difference which ASC you normalise. The differences between them will remain the same

Stephane
by stephanehess
23 Jun 2020, 18:09
Forum: Model specification
Topic: Are latent variables in Hybrid choice model correlated?
Replies: 7
Views: 6309

Re: Are latent variables in Hybrid choice model correlated?

Hi Rafael in Apollo, latent variables are just random components in the same way as random coefficients in a mixed logit model. Whether or not they are correlated depends entirely on you and the specification you use. So if you have: apollo_draws = list( ... interNormDraws = c("eta1","...
by stephanehess
23 Jun 2020, 17:37
Forum: Post-estimation analysis/use of results
Topic: Conditionals from a latent class mixed logit
Replies: 4
Views: 10810

Re: Conditionals from a latent class mixed logit

Hi Jose one initial comment. You have 15 continuous random parameters in your model, but you're using Halton draws. Please try to use some other type of draws. Beyond say 5 dimensions, Halton draws are so highly colinear that they should not be used. In terms of what you need, I've writen the below ...
by stephanehess
22 Jun 2020, 21:06
Forum: Post-estimation analysis/use of results
Topic: Conditionals from a latent class mixed logit
Replies: 4
Views: 10810

Re: Conditionals from a latent class mixed logit

Hi Jose when combining latent class with continuous mixtures, there are several different ways of doing so, especially a distinction between mixing inside the classes and mixing of the class allocation probabilities. A generic function like the apollo_conditionals or apollo_lcConditionals would then...
by stephanehess
21 Jun 2020, 18:49
Forum: Post-estimation analysis/use of results
Topic: Estimation of predictions for a joint RP-SP MNL model
Replies: 2
Views: 5060

Re: Estimation of predictions for a joint RP-SP MNL model

Hi in estimation, you maximise the log-likelihood of the joint model, i.e. the object P[["model"]] which is given as the product of the RP and SP choices. But in prediction, you obviously predict individual choices, not products of RP and SP choices. That's why in prediction, if your model...
by stephanehess
13 Jun 2020, 11:11
Forum: Model estimation
Topic: How to cluster standard errors at individual level
Replies: 2
Views: 6077

Re: How to cluster standard errors at individual level

Hi this happens automatically. Please note this is explained on the website and in the manual. Here is the text from the website: How can I capture the panel structure of my data in Apollo? The treatment of panel data depends completely on the model being used. Whenever the data contains multiple ch...