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

by stephanehess
16 May 2020, 21:50
Forum: Post-estimation analysis/use of results
Topic: conditionals for random parameters when an individual has lots of observations
Replies: 5
Views: 7803

Re: conditionals for random parameters when an individual has lots of observations

Hi Wenjian so in effect you're treating each state as an "individual" in the model, with random heterogeneity across states. This is of course final methodologically, but you should be aware that with only 51 states, you only have a low number of "individuals" to which to fit a c...
by stephanehess
15 May 2020, 16:09
Forum: Examples (existing and requests for new ones)
Topic: LC model with covariate
Replies: 2
Views: 9850

Re: LC model with covariate

Hi Suzana

this is the likelihood equivalent of Equation 11.5. I have clarified this in the manual for v.0.1.1. Please also consult Eqn 14 in https://www.caee.utexas.edu/prof/bhat/A ... egment.pdf

Best wishes

Stephane
by stephanehess
15 May 2020, 14:29
Forum: Post-estimation analysis/use of results
Topic: conditionals for random parameters when an individual has lots of observations
Replies: 5
Views: 7803

Re: conditionals for random parameters when an individual has lots of observations

Hi Wenjian the error message you received was not very intuitive, apologies fort that. We have improved this error message in version 0.1.1. However, the computation of conditionals is not possible when using workInLogs. To compute conditionals, we need the probability of an individual's entire sequ...
by stephanehess
14 May 2020, 20:30
Forum: Model specification
Topic: How to choose random parameters for MMNL model
Replies: 3
Views: 5969

Re: How to choose random parameters for MMNL model

Dear Shan it is always impossible to know a priori which parameters are the right ones in terms of allowing for random heterogeneity. It is quite possible that random heterogeneity exists for most or all your coefficients. If you only allow for random heterogeneity in some of them, you will of cours...
by stephanehess
14 May 2020, 14:53
Forum: Post-estimation analysis/use of results
Topic: ICLV model scenario (simulation) analysis
Replies: 4
Views: 22845

Re: ICLV model scenario (simulation) analysis

Hi Junghwan as discussed by Chorus & Kroesen, it is not advisable to make a change to the latent attitude in forecasting as the scale of this arbitrary. So e.g. a 10% increase is not a meaningful concept. What we did in the 2018 paper is to look at a situation where everyone adopted the attitude...
by stephanehess
14 May 2020, 14:45
Forum: Model specification
Topic: Between subject design
Replies: 3
Views: 5893

Re: Between subject design

Hi Dominik so what you are doing here is to allow for differencesin the value for the ASCs and the marginal utility coefficients as a function of the condition. That's the right thing to do. When you allow for differences in all terms, then this is equivalent to estimating two separate models, but y...
by stephanehess
12 May 2020, 16:13
Forum: Installation and updating
Topic: Installing Apollo from zip file
Replies: 3
Views: 12032

Re: install a package from zip file

Hi Sara

you need to install from the binaries rather than the soruce file

Best wishes

Stephane
by stephanehess
12 May 2020, 13:40
Forum: Installation and updating
Topic: Installing Apollo from zip file
Replies: 3
Views: 12032

Re: install a package from zip file

Hi Sara

you need to use / instead of \

It is also possible to do this via the menu in RStudio (tools-install packages) which will make it easier for you

Stephane
by stephanehess
12 May 2020, 13:39
Forum: Post-estimation analysis/use of results
Topic: Integration of covariates into HB estimation
Replies: 3
Views: 5710

Re: Integration of covariates into HB estimation

Hi apollo_prediction uses only the posterior means, so I would be very careful in using it in the situation where some of your marginal utility parameters are actually given by sums of multiple model parameters. Even if that wasn't the case, you should be very careful with using posterior means as t...
by stephanehess
12 May 2020, 13:31
Forum: Errors during model validation and/or estimation.
Topic: Identification problem
Replies: 1
Views: 4439

Re: Identification problem

Hi Eduardo

you have included the same terms in both utilities, so the model is not identified. Apollo is telling you that b_female (the first parameter it tries) cannot change the log-likelihood as it influences both utilities in the same way.

Best wishes

Stephane