Hi Sara
you need to use / instead of \
It is also possible to do this via the menu in RStudio (tools-install packages) which will make it easier for you
Stephane
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 1085 matches
- 12 May 2020, 13:40
- Forum: Installation and updating
- Topic: Installing Apollo from zip file
- Replies: 3
- Views: 12769
- 12 May 2020, 13:39
- Forum: Post-estimation analysis/use of results
- Topic: Integration of covariates into HB estimation
- Replies: 3
- Views: 5899
Re: Integration of covariates into HB estimation
Hi apollo_prediction uses only the posterior means, so I would be very careful in using it in the situation where some of your marginal utility parameters are actually given by sums of multiple model parameters. Even if that wasn't the case, you should be very careful with using posterior means as t...
- 12 May 2020, 13:31
- Forum: Errors during model validation and/or estimation.
- Topic: Identification problem
- Replies: 1
- Views: 4806
Re: Identification problem
Hi Eduardo
you have included the same terms in both utilities, so the model is not identified. Apollo is telling you that b_female (the first parameter it tries) cannot change the log-likelihood as it influences both utilities in the same way.
Best wishes
Stephane
you have included the same terms in both utilities, so the model is not identified. Apollo is telling you that b_female (the first parameter it tries) cannot change the log-likelihood as it influences both utilities in the same way.
Best wishes
Stephane
- 11 May 2020, 21:32
- Forum: Model specification
- Topic: Multivariate Ordered Logit Model
- Replies: 12
- Views: 17652
Re: Multivariate Ordered Logit Model
Hi 1. Your model is simply combining a number of different ordered logit models. You are not making any links between these components, so I wouldn't really refer to it as multivariate. If you want to create links between the models, you could incorporate a latent variable, for example. 2. The funct...
- 11 May 2020, 21:27
- Forum: Post-estimation analysis/use of results
- Topic: Integration of covariates into HB estimation
- Replies: 3
- Views: 5899
Re: Integration of covariates into HB estimation
Hi Apollo relies on RSGHB for Bayesian estimation, and the posteriors are for each individual coefficient rather than an addition or other transformation involving multiple coefficients. With Normals, you could add up the posterior means, but would you really want to use a Normal for price anyway? W...
- 10 May 2020, 12:18
- Forum: Errors during model validation and/or estimation.
- Topic: Error in Bayesian estimation
- Replies: 6
- Views: 9896
Re: Problem with Bayesian estimator
Hi Raffaele is this simply a case of you trying to run the whole file in one go? Try running it only to the estimate line, then it will prompt you to confirm whether you want to proceed with estimation - see the Estimate Model? (Y/N) prompt in your output. If you were running the whole file in one g...
- 03 May 2020, 23:38
- Forum: Model specification
- Topic: ICLV model questions
- Replies: 14
- Views: 39742
Re: ICLV model questions
Hi On point 1, what you could do is to use the alternative normalisation where you fix one zeta parameter to 1 per latent variable, but then estimate the standard deviation of the latent variable. So e.g., for the first LV, you could fix CAR_zeta_i6 to 1, but then estimate a standard deviation for P...
- 03 May 2020, 23:29
- Forum: Bug reports
- Topic: Latent class with continuous random parameters: LL0 and rho2
- Replies: 3
- Views: 15078
Re: Latent class with continuous random parameters
Peter
you found a bug - thanks! This was very specifically happening in the case of latent class models with continuous random coefficients in the class allocation component. I've just uploaded a new version of Apollo 0.1.1 on the website (www.ApolloChoiceModelling.com/code.html)
Stephane
you found a bug - thanks! This was very specifically happening in the case of latent class models with continuous random coefficients in the class allocation component. I've just uploaded a new version of Apollo 0.1.1 on the website (www.ApolloChoiceModelling.com/code.html)
Stephane
- 02 May 2020, 22:41
- Forum: Model estimation
- Topic: Rare events / Firth estimates
- Replies: 1
- Views: 7287
Re: Rare events / Firth estimates
Hi Toon
we've looked into this, and the kind of correction would be impractical to code in a general way (so it can be used with all models) and would also only appeal to a limited number of users of Apollo.
Best wishes
Stephane
we've looked into this, and the kind of correction would be impractical to code in a general way (so it can be used with all models) and would also only appeal to a limited number of users of Apollo.
Best wishes
Stephane
- 02 May 2020, 21:34
- Forum: Installation and updating
- Topic: Updating Apollo
- Replies: 2
- Views: 12827
Re: update
Sara 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. The way to do this will depend on your oper...