Good morning Stephane,
I have sent you an email with the code + data. By the way, the latent class model works fine if I don't estimate a joint model, i.e. omit the dual response part. However, I am still a little lost on what is causing the problem with the joint model.
Nico
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 60 matches
- 23 Apr 2021, 08:29
- Forum: Model specification
- Topic: Latent Class Joint Model
- Replies: 14
- Views: 17809
- 21 Apr 2021, 16:05
- Forum: Errors during model validation and/or estimation.
- Topic: NaNs for the standard errors - Are the results always unacceptable?
- Replies: 4
- Views: 7241
Re: NaNs for the standard errors - Are the results always unacceptable?
Thank you very much.
I just realised that I didn't respond to your suggestion to use bootstrapping to estimate the standard errors. I have read the Apollo manual, but this is probably computationally too burdensome.
Best
Nico
I just realised that I didn't respond to your suggestion to use bootstrapping to estimate the standard errors. I have read the Apollo manual, but this is probably computationally too burdensome.
Best
Nico
- 21 Apr 2021, 07:14
- Forum: Errors during model validation and/or estimation.
- Topic: NaNs for the standard errors - Are the results always unacceptable?
- Replies: 4
- Views: 7241
Re: NaNs for the standard errors - Are the results always unacceptable?
Hi Stephane, Thank you very much for your answer. I suspect that the estimation problems may have something to do with the complexity of the models: HCM in WTP space and/or a high number of latent variables (three or four with several indicators each) and/or several model components (e.g. using LV t...
- 06 Apr 2021, 07:57
- Forum: Errors during model validation and/or estimation.
- Topic: NaNs for the standard errors - Are the results always unacceptable?
- Replies: 4
- Views: 7241
NaNs for the standard errors - Are the results always unacceptable?
Hello everyone, I have a rather general question regarding model identification. Following the discussions in the forum, I learned that NaNs for the standard errors in the output point to problems in model specification/identification. However, most forum posts are devoted to models where NaNs appea...
- 06 Apr 2021, 06:24
- Forum: Model specification
- Topic: ICLV model questions
- Replies: 14
- Views: 38353
Re: ICLV model questions
Perfect, thanks a lot!
- 30 Mar 2021, 14:54
- Forum: Model specification
- Topic: Latent Class Joint Model
- Replies: 14
- Views: 17809
Re: Latent Class Joint Model
Hi Stephane, thank you very much for your quick reply. Unfortunately I have to consult you again, because I get an error message when estimating the model (classical estimation). With Apollo v0.2.4: Pre-processing likelihood function... Preparing workers for multithreading... Error in checkForRemote...
- 19 Mar 2021, 07:02
- Forum: Models and estimation
- Topic: Autocorrelation in Markov Chain Monte Carlo Simulation
- Replies: 8
- Views: 14567
Re: Autocorrelation in Markov Chain Monte Carlo Simulation
Hi Stephane, ok, I'm on it and will write to the developers of the package 'RSGHB' and keep you posted. The problem with this two step approach and Apollo I encountered is the following: Settings modelname, gVarNamesFixed , gVarNamesNormal , gDIST , svN and FC should not be included in apollo_HB , a...
- 16 Mar 2021, 10:38
- Forum: Model specification
- Topic: ICLV model questions
- Replies: 14
- Views: 38353
Re: ICLV model questions
Hi Stephane, thanks for the fast reply! I saw this approach for the first time in your paper, but nowhere else. In other papers, different socio-demographic characteristics are usually used as explanatory variables for the latent variables and as covariates. But just to get this straight: Something ...
- 15 Mar 2021, 15:33
- Forum: Models and estimation
- Topic: Autocorrelation in Markov Chain Monte Carlo Simulation
- Replies: 8
- Views: 14567
Re: Autocorrelation in Markov Chain Monte Carlo Simulation
Hello Stephane, thanks for the answer. If I understand it correctly, then the output from the first step can simply be integrated in the second step. Example: After step 1: ### Save priors for step 2 saveRDS(model$F_convergence, file = "./priors_step2/FC_step1.rds") # A vector of starting ...
- 15 Mar 2021, 15:27
- Forum: Model specification
- Topic: ICLV model questions
- Replies: 14
- Views: 38353
Re: ICLV model questions
I would like to ask another question about ICLV model specifications: Is it appropriate to use the same socio-demographic characteristics as explanatory variables for both the latent variable and as covariates for the utility coefficients? For example, let us assume I would like to test whether gend...