Important: Read this before posting to this forum
- 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.
- 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
- Before asking a question on the forum, users are kindly requested to follow these steps:
- Check that the same issue has not already been addressed in the forum - there is a search tool.
- 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
- Check the frequently asked questions section on the Apollo website, which discusses some common issues/failures. Please see http://www.apollochoicemodelling.com/faq.html
- Make sure that R is using the latest official release of Apollo.
- Users can check which version they are running by entering packageVersion("apollo").
- Then check what is the latest full release (not development version) at http://www.ApolloChoiceModelling.com/code.html.
- To update to the latest official version, just enter install.packages("apollo"). To update to a development version, download the appropriate binary file from http://www.ApolloChoiceModelling.com/code.html, and install the package from file
- If the above steps do not resolve the issue, then users should follow these steps when posting a question:
- provide full details on the issue, including the entire code and output, including any error messages
- 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
- 25 Apr 2024, 21:38
- Forum: Model specification
- Topic: latent class model
- Replies: 4
- Views: 2815
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 ...
- 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: 666
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 ...
- 05 Apr 2024, 16:24
- Forum: Models and estimation
- Topic: EM algorithms used in latent class including model combination
- Replies: 1
- Views: 618
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 ...
- 12 Feb 2024, 13:56
- Forum: Model specification
- Topic: adding context variables in class allocation model in latent class logit model
- Replies: 4
- Views: 1820
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...
- 07 Feb 2024, 10:44
- Forum: Model specification
- Topic: adding context variables in class allocation model in latent class logit model
- Replies: 4
- Views: 1820
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 -...
- 04 Feb 2024, 18:53
- Forum: Model specification
- Topic: adding context variables in class allocation model in latent class logit model
- Replies: 4
- Views: 1820
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...
- 30 Jan 2024, 17:40
- Forum: Model specification
- Topic: Latent Class Analysis with Nested Logit Model
- Replies: 8
- Views: 8712
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...
- 29 Jan 2024, 16:44
- Forum: Model specification
- Topic: Latent Class Analysis with Nested Logit Model
- Replies: 8
- Views: 8712
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 ...
- 30 Oct 2023, 10:12
- Forum: Models and estimation
- Topic: speedTest function in multiple cores
- Replies: 3
- Views: 7131
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
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
- 27 Oct 2023, 21:04
- Forum: Models and estimation
- Topic: speedTest function in multiple cores
- Replies: 3
- Views: 7131
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...