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 16 matches
- 02 Dec 2024, 13:07
- Forum: Model specification
- Topic: Fixed effects of Latent Variables in Latent Class Model
- Replies: 1
- Views: 57
Fixed effects of Latent Variables in Latent Class Model
Hii, I am estimating ICLV model with two Latent Classes. My model is quite complex and computationally burdensome (extremely time consuming). The model has 7 latent variables. With original specifications, where I kept all 7 LVs as random parameters in apollo_randCoeff. But it could not finished est...
- 14 Nov 2024, 12:56
- Forum: Models and estimation
- Topic: speedTest function in multiple cores
- Replies: 5
- Views: 9744
Re: speedTest function in multiple cores
Hi Prof. Hess, I am facing a similar issue. I am computing latent-class latent-variable model. It has 7 random parameters (all LVs) and a total of 24 OL models for LVs. It is running since last 20 days on my 8 core PC (I am using 7 cores for computation). I have around 7200 observations for 702 IDs....
- 22 Oct 2024, 06:35
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 9
- Views: 12592
Re: n sqrt(diag(varcov)) : NaNs produced
Hi David, Thank you for the reply. Yes, I started with the MNL model only. I got the results, used those estimates for MMNL model with IVTT as random where I got this error. I will update the apollo and play with increasing draws again to check with both these errors. I will try to estimate and come...
- 18 Oct 2024, 13:29
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 9
- Views: 12592
Re: n sqrt(diag(varcov)) : NaNs produced
Hi, Yes, I have tried with simpler model where only IVTT was taken as random, however the issue was coming. Keeping that apart, should I try with more than 500 draws? When I used sole IVTT as random with classical estimation, I get an another error- Error in if (sum(inClassProb[[cc]]) == 0) stop(&qu...
- 16 Oct 2024, 10:40
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 9
- Views: 12592
Re: n sqrt(diag(varcov)) : NaNs produced
Hi Prof. Stephane, I am facing a similar issue with my study. I am estimating 2-class LC model. I have tried several specifications and also modified initial coefficients values based on MNL model. The code is: ## Clear memory rm(list = ls()) ## Load apollo library library(apollo) ## Initialise code...
- 20 Sep 2024, 09:19
- Forum: Estimation results
- Topic: Errors in Hybrid Choice Model with Bayesian Estimator
- Replies: 7
- Views: 7560
Re: Errors in Hybrid Choice Model with Bayesian Estimator
Hi Stephane,
Thank you for the reply. Yes, I followed that it's a warning.
I have tried HB model several times. I am getting NaN everytime. Can you suggest how to avoid getting extreme values?
Thank you for the reply. Yes, I followed that it's a warning.
I have tried HB model several times. I am getting NaN everytime. Can you suggest how to avoid getting extreme values?
- 14 Sep 2024, 09:29
- Forum: Estimation results
- Topic: Errors in Hybrid Choice Model with Bayesian Estimator
- Replies: 7
- Views: 7560
Re: Errors in Hybrid Choice Model with Bayesian Estimator
Hi, I am facing a similar issue with another set of data. I am starting with the simpler MNL model on SP data. In my data, I have two-level choice sets: when an individual choose to travel with public transport in upper level SCEs, he/she will get another set of SCEs for access/egress to the public ...
- 09 Jul 2024, 16:19
- Forum: Errors during model validation and/or estimation.
- Topic: Error in ICLV estimation: "Estimation Failed. No covariance matrix to compute."
- Replies: 5
- Views: 2435
Re: Error in ICLV estimation: "Estimation Failed. No covariance matrix to compute."
Hi, Stephane Thank you for addressing the issue. However, the error still persist: Error in apollo_estimate(apollo_beta, apollo_fixed, apollo_probabilities, : SPECIFICATION ISSUE - Parameter lambda_comfort does not influence the log-likelihood of your model! When I remove related specification, the ...
- 05 Jul 2024, 06:12
- Forum: Errors during model validation and/or estimation.
- Topic: Error in ICLV estimation: "Estimation Failed. No covariance matrix to compute."
- Replies: 5
- Views: 2435
Re: Error in ICLV estimation: "Estimation Failed. No covariance matrix to compute."
Hi Stephen, Thank you for the reply. Sorry for posting different code. Please review this code. I could handle previous one. But the error seems to be different now. Error in apollo_checkArguments(apollo_probabilities, apollo_randCoeff, : SYNTAX ISSUE - The arguments for apollo_randCoeff need to be ...
- 25 Jun 2024, 07:44
- Forum: Errors during model validation and/or estimation.
- Topic: Error in ICLV estimation: "Estimation Failed. No covariance matrix to compute."
- Replies: 5
- Views: 2435
Error in ICLV estimation: "Estimation Failed. No covariance matrix to compute."
I am trying to develop an ICLV model with binary logit. I get the results for parameter estimates but could not compute the covariance matrix and subsequently SE. Please note that I have tried several specifications with trail & error looking to the large coefficients, changing priors (started w...