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. We check the forum at least twice a week. It may thus take a couple of days for your post to appear and before we reply. There is no need to submit the post multiple times.

Search found 9 matches

by ifurqanbhat
15 Sep 2025, 13:14
Forum: Model estimation
Topic: Latent class choice model
Replies: 5
Views: 69460

Re: Latent class choice model

Hello Prof. Hess,

Thank you for your response.

I checked the data. I do not think that there are any extreme. Except for average age, all other covariates enter the class allocation model as dummy variables.

Regards,
Furqan
by ifurqanbhat
08 Sep 2025, 13:33
Forum: Model estimation
Topic: Latent class choice model
Replies: 5
Views: 69460

Re: Latent class choice model

Hello Prof. Hess,

Please find below my output.




WARNING: Your model did not converge properly, and some of your parameter values are tending to +/- infinity. This could point to an
identification issue. If you want to retain these parameters in the model, you may wish to set their value(s) in ...
by ifurqanbhat
07 Sep 2025, 21:00
Forum: Model estimation
Topic: Latent class choice model
Replies: 5
Views: 69460

Latent class choice model

Hello Prof. Hess,

I am trying to estimate a latent class choice model on my data where I have two alternatives in my stated choice experiment – electric vehicle and conventional vehicle. However, I am not able to estimate a three or a four class model. I am able to estimate a two class model. I ...
by ifurqanbhat
09 Aug 2025, 20:51
Forum: Model specification
Topic: Multivariate ordered probit model
Replies: 1
Views: 111176

Multivariate ordered probit model

Hello Prof. Hess,

I am trying to estimate a multivariate ordered profit model with three ordered dependent variables - "mail", "collection", and "return". I have set up the problem. I am able to estimate the model and the results (although not final) are reasonable. Please let me know if it is ...
by ifurqanbhat
21 Mar 2025, 11:26
Forum: Models and estimation
Topic: Correlations across alternatives
Replies: 9
Views: 153308

Re: Correlations across alternatives

Thank you Prof. Hess for your response.

Is this approach correct?


V[['EV']] = .......... + sigma_EV_Work_1*draws_EV_Work + sigma_EV_Leis_1*draws_EV_Leis + sigma_EV_High_1*draws_EV_High
V[['CV']] = .......... + sigma_CV_Work_1*draws_CV_Work + sigma_CV_Leis_1*draws_CV_Leis + sigma_CV_High_1*draws ...
by ifurqanbhat
03 Mar 2025, 06:37
Forum: Models and estimation
Topic: Correlations across alternatives
Replies: 9
Views: 153308

Re: Correlations across alternatives

Thank you Prof. Hess for your help.
I have incorporated the shared draws to introduce correlated across alternatives. Can you please confirm if it is correct now?


### Clear memory
rm(list = ls())
# install.packages("apollo")
library(apollo)
database = read.csv(file.choose(),header=TRUE)
apollo ...
by ifurqanbhat
29 Jan 2025, 04:12
Forum: Models and estimation
Topic: Correlations across alternatives
Replies: 9
Views: 153308

Re: Correlations across alternatives

Dear Prof. Hess,

Thank you for your help. Below is how I have setup the problem. Please check if it is correct.
### Clear memory
rm(list = ls())
# install.packages("apollo")
library(apollo)
database = read.csv(file.choose(),header=TRUE)
apollo_initialise()

### Set core controls
apollo_control ...
by ifurqanbhat
26 Jan 2025, 08:35
Forum: Models and estimation
Topic: Correlations across alternatives
Replies: 9
Views: 153308

Re: Correlations across alternatives

Thank you for your reply. I have set up the problem as a joint model for the two SP surveys. I have added error components to take care of panel effects first.

### Clear memory
rm(list = ls())
# install.packages("apollo")
library(apollo)
database = read.csv(file.choose(),header=TRUE)
apollo ...
by ifurqanbhat
21 Jan 2025, 08:57
Forum: Models and estimation
Topic: Correlations across alternatives
Replies: 9
Views: 153308

Correlations across alternatives

Hello Prof. Stephane,

I am trying to estimate a joint model with the data from two stated preference choice surveys. In my data collection, the respondents were first asked choose their preferred vehicle (between electric and conventional). Further in the same questionnaire, the same respondents ...