Hi Stephane,
The code is per the last example I posted.
So here is a simplified version of the data:
database <- data.frame(
race_id = c(1, 1, 1, 2, 2, 2),
athlete_id = c(101, 102, 103, 201, 202, 203),
won = c(TRUE, FALSE, FALSE, TRUE, FALSE, FALSE),
performance_last_race = c(60, 70, 50, 80, 90 ...
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 3 matches
- 03 Oct 2024, 22:06
- Forum: Bug reports
- Topic: Error in Apollo: “object not found” for variables in the database
- Replies: 5
- Views: 54395
- 03 Oct 2024, 10:19
- Forum: Bug reports
- Topic: Error in Apollo: “object not found” for variables in the database
- Replies: 5
- Views: 54395
Re: Error in Apollo: “object not found” for variables in the database
Hi - I did look at the examples, have tried attach and detach and still throwing errors.
Before going any further, perhaps I should ask the more general question, is apollo suited to this problem?
As I understand it, apollo is designed to predict probabilities of an individual choosing from a ...
Before going any further, perhaps I should ask the more general question, is apollo suited to this problem?
As I understand it, apollo is designed to predict probabilities of an individual choosing from a ...
- 02 Oct 2024, 19:15
- Forum: Bug reports
- Topic: Error in Apollo: “object not found” for variables in the database
- Replies: 5
- Views: 54395
Error in Apollo: “object not found” for variables in the database
Hi Apollo Team,
I'm encountering an issue where Apollo fails to recognize variables in the `database` object, despite them being present in the dataset. I consistently get the error:
`"object not found"` when attempting to reference variables inside the `apollo_probabilities` function ...
I'm encountering an issue where Apollo fails to recognize variables in the `database` object, despite them being present in the dataset. I consistently get the error:
`"object not found"` when attempting to reference variables inside the `apollo_probabilities` function ...