Thank you
I thought the LL should have improved when I used 1000 draws from 500.
Let men keep on trying with more draws.
Regards
Masimba
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 9 matches
- 17 Jan 2022, 11:17
- Forum: Errors during model validation and/or estimation.
- Topic: estimation in WTP-space
- Replies: 30
- Views: 1588106
- 17 Jan 2022, 09:00
- Forum: Errors during model validation and/or estimation.
- Topic: estimation in WTP-space
- Replies: 30
- Views: 1588106
Re: estimation in WTP-space
I started with 200,500 then 1000 LOGNORMAL LL(note) : -3172.792 LL(200) : -1540.384 LL(500) : -1541.772 LL(1000) : -1542.743 LOGUNIFORM LL(note) : -3172.792 LL(200) : -1541.001 LL(500) : -1544.171
- 16 Jan 2022, 07:46
- Forum: Errors during model validation and/or estimation.
- Topic: estimation in WTP-space
- Replies: 30
- Views: 1588106
Re: estimation in WTP-space
Good day, David and Stephane, I hope you're all doing well. I am estimating a mixed logit for a public transport mode choice study with 3-time components, fare, and seating arrangement as variables. Like you advised the last time regarding how it doesn't make sense to assume Normal distribution for ...
- 31 Dec 2021, 11:55
- Forum: Errors during model validation and/or estimation.
- Topic: estimation in WTP-space
- Replies: 30
- Views: 1588106
Re: estimation in WTP-space
Thanks and happy holidays.
Regards
Masimba
Regards
Masimba
- 24 Dec 2021, 09:09
- Forum: Errors during model validation and/or estimation.
- Topic: estimation in WTP-space
- Replies: 30
- Views: 1588106
Re: estimation in WTP-space
Hi there could be many reasons for this, and it's difficult to diagnose without seeing your outputs, and also how they compare to the model with Normals. A Normal distribution for cost of course makes no sense, so you're right to try negative Lognormals. One thing to consider is whether your starti...
- 16 Dec 2021, 10:35
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 9
- Views: 14431
Re: n sqrt(diag(varcov)) : NaNs produced
Thank you Stephane for your response. Having omitted gamma_incomes for class c, which I assume is equivalent to normalization, I still get the same error: -------------------------------------------------------------------------------------------------------------------------------------------------...
- 16 Dec 2021, 10:14
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 9
- Views: 14431
Re: n sqrt(diag(varcov)) : NaNs produced
Thanks for your response. Having omitted the gamma_Incomes for class c which I suggest is equivalent to normalization as attached, I still get the same error: (Warning message: In sqrt(diag(robvarcov)) : NaNs produced ### Vector of parameters, including any that are kept fixed in estimation apollo_b...
- 16 Dec 2021, 09:30
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 9
- Views: 14431
n sqrt(diag(varcov)) : NaNs produced
Good day, Stephane and David. I hope this finds you well. I’m estimating a latent class model with 3 classes and every time I introduce gamma variables to specify the class allocation utility function, I get NaN standard errors. I have tried to play around with the scaling function (trial and error)...
- 16 Dec 2021, 09:30
- Forum: Errors during model validation and/or estimation.
- Topic: n sqrt(diag(varcov)) : NaNs produced
- Replies: 0
- Views: 48234
n sqrt(diag(varcov)) : NaNs produced
Good day, Stephane and David. I hope this finds you well. I’m estimating a latent class model with 3 classes and every time I introduce gamma variables to specify the class allocation utility function, I get NaN standard errors. I have tried to play around with the scaling function (trial and error)...