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 1068 matches

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: 10959

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: 5148

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: 6175

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...
by stephanehess
12 Jun 2020, 11:33
Forum: Model estimation
Topic: Parallel computing MXL
Replies: 9
Views: 30263

Re: Parallel computing MXL

Sven

we've had problems with R4.0 though it works on our machines now with parallel too. Can I suggest that you try to reinstall Apollo as well as updating libraries that Apollo uses (Rcpp, maxLik, mnormt, mvtnorm, graphics, coda, sandwich, randtoolbox, numDeriv, RSGHB, parallel, Deriv)

Stephane
by stephanehess
11 Jun 2020, 17:07
Forum: Model estimation
Topic: Parallel computing MXL
Replies: 9
Views: 30263

Re: Parallel computing MXL

Hi Sven

to try and diagnose whether this is an issue with your model or with your installation of R/your machine, can you please try running this example from the website, which uses multi-core too: http://apollochoicemodelling.com/files/ ... ample_14.r

Thanks

Stephane
by stephanehess
06 Jun 2020, 16:43
Forum: Model specification
Topic: Mixed Multinomial Logit with heterogeneity in means and variances
Replies: 2
Views: 5158

Re: Mixed Multinomial Logit with heterogeneity in means and variances

Hi yes, this is very straightforward to do. Let's use a simple example where you have that beta_cost follows a negative lognormal distribution, where we then estimate the parameters (mean and sd) of the Normal distribution of log(-beta_cost). Let's call these mu and sig and assume that mu is differe...
by stephanehess
05 Jun 2020, 20:56
Forum: Feature requests
Topic: Output conditionals after LC model
Replies: 1
Views: 10232

Re: Output conditionals after LC model

Hi Juergen

sure. We will add this as an output in time for the official release of v0.1.1

And yes, the order is the same as in the database

Stephane
by stephanehess
29 May 2020, 21:34
Forum: Errors during model validation and/or estimation.
Topic: ICVL Model Identification issues
Replies: 3
Views: 6449

Re: ICVL Model Identification issues

Sure,

but for the binary one, it would be easier for you to use apollo_mnl than apollo_ol

Best wishes

Stephane
by stephanehess
28 May 2020, 08:48
Forum: Examples (existing and requests for new ones)
Topic: Models with reaction time
Replies: 4
Views: 11746

Re: Models with reaction time

Hi Silvia

if an attribute is stochastic, whether as a function of reaction time or some other phenomenon, then you can code it in apollo_randCoeff - it makes no difference whether the components included in that list are random coefficients or random variables

Best wishes

Stephane
by stephanehess
27 May 2020, 23:18
Forum: Examples (existing and requests for new ones)
Topic: Models with reaction time
Replies: 4
Views: 11746

Re: Models with reaction time

Hi Silvia

this is a very specific application of a model. You could definitely code the model in Apollo but this would involve some manual coding of the model components and then using Apollo for the estimation

Best wishes

Stephane