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

by stephanehess
06 May 2024, 07:47
Forum: Errors during model validation and/or estimation.
Topic: Error while estimating a Hybrid latent class choice model
Replies: 3
Views: 95

Re: Error while estimating a Hybrid latent class choice model

Hi

yes, please send me the data and code outside the forum and I'll have a look

Stephane
by stephanehess
06 May 2024, 07:46
Forum: Estimation results
Topic: Positive price coefficient in RPL model estimation
Replies: 10
Views: 381

Re: Positive price coefficient in RPL model estimation

David to get standard errors, you would likely need to do sampling from the asymptotic parameter distribution. We've not implemented any code for that. But with lognormals, you can also calculate the moments for the ratio analytically (a ratio of two lognormals is a lognormal) and then you can use t...
by stephanehess
05 May 2024, 18:39
Forum: Post-estimation analysis/use of results
Topic: WTP distribution in preference space
Replies: 3
Views: 2258

Re: WTP distribution in preference space

Hi

apologies for the slow reply. What you're seeing is caused by using limits in plotting. You're computing the overall density, but then you're plotting it for only a small part of the overall domain, and that's reflected in the shape you're seeing

Stephane
by stephanehess
05 May 2024, 12:10
Forum: Model specification
Topic: Include independent variables with missing values
Replies: 4
Views: 2469

Re: Include independent variables with missing values

Hi

in that case, you would have missing data for a dependent variable (indicator in hybrid choice), and you would skip those rows for that dependent variable only. See the 'rows' setting

Stephane
by stephanehess
05 May 2024, 12:07
Forum: Model estimation
Topic: Estimation of MNL and MMNL in WTP space issues
Replies: 7
Views: 3706

Re: Estimation of MNL and MMNL in WTP space issues

Apologies for the slow reply. it would be randcoeff[["b_price"]] = price_mu + price_mu * (unif_draws_a+unif_draws_b)/2 but I would advise against that distribution as the moments of WTP then do not exist. See Daly, A.J., Hess, S. & Train, K.E. (2012), Assuring finite moments for willin...
by stephanehess
05 May 2024, 12:02
Forum: Model specification
Topic: Latent variables without demographic predictors?
Replies: 1
Views: 67

Re: Latent variables without demographic predictors?

Hi

yes, this is no problem.

It's not likely to be the cause for your issue. Can you show us the estimates?

Stephane
by stephanehess
05 May 2024, 12:00
Forum: Model specification
Topic: Latent Class Analysis with Nested Logit Model
Replies: 8
Views: 8817

Re: Latent Class Analysis with Nested Logit Model

Hi

apologies for the slow reply

yes, you could possibly do that

Stephane
by stephanehess
05 May 2024, 11:51
Forum: Errors during model validation and/or estimation.
Topic: Unconditionals
Replies: 13
Views: 121444

Re: Unconditionals

apologies for the slow reply. This is very code specific, can you provide your code and data outside the forum and we can investigate
by stephanehess
05 May 2024, 11:44
Forum: Post-estimation analysis/use of results
Topic: Difference in Marginal rate of substitution between MNL and Mixed logit models
Replies: 1
Views: 83

Re: Difference in Marginal rate of substitution between MNL and Mixed logit models

Hi

apologies for the slow reply

yes, this difference looks a bit too large to explain. Did you also look at the medians to see if they are reasonable (though we would want the means of course).

You might want to consider other distributions too with shorter tails

Stephane
by stephanehess
05 May 2024, 11:38
Forum: Model estimation
Topic: Covairance cannot be estimated in HCM
Replies: 1
Views: 65

Re: Covairance cannot be estimated in HCM

Hi

apologies for the slow reply.

Can you be more specific? Did you wait until the process has finished?

Stephane