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

by tue_qiang
25 Apr 2024, 21:38
Forum: Model specification
Topic: latent class model
Replies: 4
Views: 2792

Re: latent class model

Hi, sure, this is possible. What you need to do is to only have the call to apollo_panelProd after the averaging across classes, i.e. apollo_lc. So essentially, this is an intra-individual version of LC. The call to apollo_panelProd at the end will mean that you still recognise the repeated choice ...
by tue_qiang
09 Apr 2024, 11:22
Forum: Model estimation
Topic: estimating a latent class model allowing for heterogeneous decision rules by EM algorithm
Replies: 1
Views: 438

estimating a latent class model allowing for heterogeneous decision rules by EM algorithm

Hi, I tried to estimate a model descripted topic. in my model, there are two classes with different decision rules, which means that there are different parameters to estimate across classes. but, according to the examples of EM algorithm in Apollo, all parameters need to vary across classes and as ...
by tue_qiang
05 Apr 2024, 16:24
Forum: Models and estimation
Topic: EM algorithms used in latent class including model combination
Replies: 1
Views: 431

EM algorithms used in latent class including model combination

Hi, I tried to use EM algorithm to estimated a latent class model, and in a class of my model, I set a joint estimation by aplollo_combineModels function. but when I start to estimate it, "This function is only suitable for single component models, i.e. no use of apollo_combineModels or manual ...
by tue_qiang
12 Feb 2024, 13:56
Forum: Model specification
Topic: adding context variables in class allocation model in latent class logit model
Replies: 4
Views: 1688

Re: adding context variables in class allocation model in latent class logit model

Hi Qiang, We believe there may be a problem with the value of your explanatory variables associated to the coefficients that become zero. Could you tabulate (or summarise) the values of explanatory variables diredist1, diredist2, ..., purpose1, purpose2, etc.? Best David Hi David, I guess I know th...
by tue_qiang
07 Feb 2024, 10:44
Forum: Model specification
Topic: adding context variables in class allocation model in latent class logit model
Replies: 4
Views: 1688

Re: adding context variables in class allocation model in latent class logit model

Hi David, Thanks for your reply. in fact, to these category variables, I used the effect coding, shown as below. Each of the attributes of purpose and accompany have four levels. purpose1 purpose2 purpose3 accom1 accom2 accom3 0 1 0 0 1 0 0 1 0 -1 -1 -1 1 0 0 1 0 0 1 0 0 0 0 1 -1 -1 -1 0 1 0 -1 -1 -...
by tue_qiang
04 Feb 2024, 18:53
Forum: Model specification
Topic: adding context variables in class allocation model in latent class logit model
Replies: 4
Views: 1688

adding context variables in class allocation model in latent class logit model

Hi, I try to estimate a latent class model, but the results show that the coefficients of context variables used in class allocation model are zero, therefore, I want to ask how I can solve the problem? or only the socio-demographic variables can be used in class allocation model? Besides, the resul...
by tue_qiang
30 Jan 2024, 17:40
Forum: Model specification
Topic: Latent Class Analysis with Nested Logit Model
Replies: 8
Views: 8566

Re: Latent Class Analysis with Nested Logit Model

Hi we don't have ready built examples or models for sequential choice. There are many factors to consider, such as inter-dependencies, including of availabilities Stephane Hi Stephane, Thanks for your reply. I want to estimate a model similar with Esad, establishing a latent class model and setting...
by tue_qiang
29 Jan 2024, 16:44
Forum: Model specification
Topic: Latent Class Analysis with Nested Logit Model
Replies: 8
Views: 8566

Re: Latent Class Analysis with Nested Logit Model

Esad there are a few different questions in your post, and I'll reply to these in turn. 1. It remains a common misunderstanding to see nested logit as being a model for sequential choices. This is not the case. The model explains the choice between mutually exclusive alternatives. In a model where ...
by tue_qiang
30 Oct 2023, 10:12
Forum: Models and estimation
Topic: speedTest function in multiple cores
Replies: 3
Views: 7048

Re: speedTest function in multiple cores

Hi Stephane,

the running time is so long now, if i want to speed up it, what method could help it? i can apply for using supercomputer of my university, but I do not know if it will work.

Best,
Qiang
by tue_qiang
27 Oct 2023, 21:04
Forum: Models and estimation
Topic: speedTest function in multiple cores
Replies: 3
Views: 7048

speedTest function in multiple cores

I established a mixed logit model and about 20 random parameters are set. when I use 1000 MLHS draws for these parameter, the model runs a very long time, about several days. therefore, I use the speedTest function to explore the most suitable number of cores and the seconds used in likelihood calcu...