Dear developers of Apollo, I’m trying to estimate an ordinal logit using a second-order measurement component for the latent variables (LVs).
I attached de path diagram of the model to explain me better. However, when I run apollo_estimate I got the following error:
Error in apollo_validate ...
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. 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 7 matches
- 30 Mar 2021, 03:34
- Forum: Model specification
- Topic: ordinal logit using second-order measurement component
- Replies: 6
- Views: 45324
- 30 Mar 2021, 03:00
- Forum: Model specification
- Topic: ordinal logit using second-order latent variables
- Replies: 6
- Views: 19268
Re: ordinal logit using second-order latent variables
Thanks, prof very useful your suggestion
Bests
Bests
- 27 Mar 2021, 00:03
- Forum: Model specification
- Topic: ordinal logit using second-order latent variables
- Replies: 6
- Views: 19268
Re: ordinal logit using second-order latent variables
Prof Hess, I solved the problem in my code. It was that I specified the second-order latent variable in the wrong form:
randcoeff[["gov"]] = gamma_nat_gov * nat_gov + gamma_loc_gov * loc_gov
And the correct form is:
randcoeff[["gov"]] = gamma_nat_gov * randcoeff[["nat_gov"]] + gamma_loc_gov ...
randcoeff[["gov"]] = gamma_nat_gov * nat_gov + gamma_loc_gov * loc_gov
And the correct form is:
randcoeff[["gov"]] = gamma_nat_gov * randcoeff[["nat_gov"]] + gamma_loc_gov ...
- 22 Mar 2021, 21:04
- Forum: Model specification
- Topic: ordinal logit using second-order latent variables
- Replies: 6
- Views: 19268
Re: ordinal logit using second-order latent variables
Thanks for the reply prof Hess, I created the randCoeff nat_gov this:
apollo_draws = list(
interDrawsType="mlhs",
interNDraws=1000,
interUnifDraws=c(),
interNormDraws=c("eta_nat_gov"),
intraDrawsType='',
intraNDraws=0,
intraUnifDraws=c(),
intraNormDraws=c()
)
randcoeff[["nat_gov ...
apollo_draws = list(
interDrawsType="mlhs",
interNDraws=1000,
interUnifDraws=c(),
interNormDraws=c("eta_nat_gov"),
intraDrawsType='',
intraNDraws=0,
intraUnifDraws=c(),
intraNormDraws=c()
)
randcoeff[["nat_gov ...
- 21 Mar 2021, 18:24
- Forum: Model specification
- Topic: ordinal logit using second-order latent variables
- Replies: 6
- Views: 19268
ordinal logit using second-order latent variables
Dear developers of Apollo, first, thanks for this powerful and flexible package. It’s amazing!
I’m trying to estimate an ordinal logit using second-order latent variables (LVs). I attached de path diagram of the model to explain me better. The idea is to describe how specific groups can change the ...
I’m trying to estimate an ordinal logit using second-order latent variables (LVs). I attached de path diagram of the model to explain me better. The idea is to describe how specific groups can change the ...
- 29 May 2020, 16:54
- Forum: Errors during model validation and/or estimation.
- Topic: ICVL Model Identification issues
- Replies: 3
- Views: 12391
Re: ICVL Model Identification issues
Thanks for your answer prof. Hess.
I would like to ask you another question: Can I use different ordinal indicator with different Likert scale in the measurement model? I mean, I want to explain de LV "confidence" with "ol_settingsIP6" which is a variable with a Likert scale 1 to 5; and "ol ...
I would like to ask you another question: Can I use different ordinal indicator with different Likert scale in the measurement model? I mean, I want to explain de LV "confidence" with "ol_settingsIP6" which is a variable with a Likert scale 1 to 5; and "ol ...
- 24 May 2020, 20:16
- Forum: Errors during model validation and/or estimation.
- Topic: ICVL Model Identification issues
- Replies: 3
- Views: 12391
ICVL Model Identification issues
Hi for all members.
Thanks for this amazing package Apollo.
I'm trying to run a ICVL model with 3 LV. First, I ran the ICVL only with 1 LV in order to get good initial values for the full model.
The problem is that the estimated paramaters related to "IP7" indicator are to big when I include the 3 ...
Thanks for this amazing package Apollo.
I'm trying to run a ICVL model with 3 LV. First, I ran the ICVL only with 1 LV in order to get good initial values for the full model.
The problem is that the estimated paramaters related to "IP7" indicator are to big when I include the 3 ...