Hi
you can make predictions from a model in Apollo. This will produce a prediction for each row in the data, and then you can of course use standard R functions to product plots
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 1002 matches
- 24 Apr 2024, 15:26
- Forum: Post-estimation analysis/use of results
- Topic: how to make probability plot in E MDCEV MODEL
- Replies: 1
- Views: 108
- 24 Apr 2024, 15:19
- Forum: Model specification
- Topic: Accounting for stochastic variables in discrete choice models
- Replies: 1
- Views: 121
Re: Accounting for stochastic variables in discrete choice models
Julia
this should only be needed in situations where you have uncertainty about the attributes
Stephane
this should only be needed in situations where you have uncertainty about the attributes
Stephane
- 24 Apr 2024, 09:49
- Forum: Estimation results
- Topic: Missing model-fit parameters
- Replies: 3
- Views: 415
Re: Missing model-fit parameters
Hi
if you share your code and data with me outside the forum, I'll have a look
Stephane
if you share your code and data with me outside the forum, I'll have a look
Stephane
- 22 Apr 2024, 13:40
- Forum: Examples (existing and requests for new ones)
- Topic: Heterogeneous alternative choice set
- Replies: 1
- Views: 151
Re: Heterogeneous alternative choice set
hi
the closest we have to this would be http://apollochoicemodelling.com/files/ ... e_coding.r where you could easily add availabilities too
Stephane
the closest we have to this would be http://apollochoicemodelling.com/files/ ... e_coding.r where you could easily add availabilities too
Stephane
- 22 Apr 2024, 13:38
- Forum: Errors during model validation and/or estimation.
- Topic: Error when estimating a ICLV model with two sources of information
- Replies: 11
- Views: 11553
Re: Error when estimating a ICLV model with two sources of information
Hi
can you share your code and data with me outside the forum and I'll look into it
Stephane
can you share your code and data with me outside the forum and I'll look into it
Stephane
- 22 Apr 2024, 13:36
- Forum: Post-estimation analysis/use of results
- Topic: standard errors of average marginal effects
- Replies: 1
- Views: 143
Re: standard errors of average marginal effects
Marie
have a look at the help file for apollo_prediction. If you run it with the runs setting, it will produce an array for you with the runs at different draws from the asymptotic parameter distribution and you can then use those to calculate standard errors for your marginal effects
Stephane
have a look at the help file for apollo_prediction. If you run it with the runs setting, it will produce an array for you with the runs at different draws from the asymptotic parameter distribution and you can then use those to calculate standard errors for your marginal effects
Stephane
- 22 Apr 2024, 13:33
- Forum: Errors during model validation and/or estimation.
- Topic: error in getiing Standarad error of e mdcev model
- Replies: 3
- Views: 167
Re: error in getiing Standarad error of e mdcev model
Hi
your parameter dWorkScho is tending towards -inf (-104.659589), so that is causing the issue here. You'll have to investigate what is causing this
Stephane
your parameter dWorkScho is tending towards -inf (-104.659589), so that is causing the issue here. You'll have to investigate what is causing this
Stephane
- 22 Apr 2024, 13:31
- Forum: Errors during model validation and/or estimation.
- Topic: "Paramter does not influence the log-likelihood of your model" after included LV
- Replies: 12
- Views: 17221
Re: "Paramter does not influence the log-likelihood of your model" after included LV
Hi you could have easily resolved this issue by looking at other posts and the manual. You have: V[["ALT1"]] = b_Waitingtimem * Waitingtimem1 + b_Waitingtimeh * Waitingtimeh1 + b_effm * effm1 + b_effh * effh1 + b_peer_support_Yes * peer_support_Yes1 + b_working_hours_extra * working_hours_...
- 22 Apr 2024, 13:28
- Forum: Errors during model validation and/or estimation.
- Topic: No covariance matrix
- Replies: 5
- Views: 483
Re: No covariance matrix
Hi
it is not clear what you mean by linear and non-linear here, unless you have made non-linear transforms in the data.
Can you show the results?
In terms of rm(list = ls()), this clears the memory, which you should do before every model estimation
Stephane
it is not clear what you mean by linear and non-linear here, unless you have made non-linear transforms in the data.
Can you show the results?
In terms of rm(list = ls()), this clears the memory, which you should do before every model estimation
Stephane
- 22 Apr 2024, 13:23
- Forum: Models and estimation
- Topic: EM algorithms used in latent class including model combination
- Replies: 1
- Views: 173
Re: EM algorithms used in latent class including model combination
Hi
can you please show us your code - otherwise, it's near impossible to help
Stephane
can you please show us your code - otherwise, it's near impossible to help
Stephane