Thanks Chris. I've tried this and it seems to work, but the p-values are only to one significant figure (they display as '0'). Could you please advise how I might alter the ado so that I can get the p value to a few more significant figures e.g. 0.001?
Thank you!
Amanda
Search found 6 matches
- Mon Feb 14, 2022 6:13 am
- Forum: runmlwin user forum
- Topic: MCMC: calculating estimates, CrIs for combinations of terms/interactions
- Replies: 5
- Views: 14996
- Fri Feb 11, 2022 5:41 am
- Forum: runmlwin user forum
- Topic: MCMC: calculating estimates, CrIs for combinations of terms/interactions
- Replies: 5
- Views: 14996
Re: MCMC: calculating estimates, CrIs for combinations of terms/interactions
Hi Chris,
Thanks so much - that makes perfect sense! I've tried this out using generate and mcmcsum and have got the combinations of terms and their credible intervals.
Is there a way to get the p-value as an r-class result too?
Thank you!
Amanda
Thanks so much - that makes perfect sense! I've tried this out using generate and mcmcsum and have got the combinations of terms and their credible intervals.
Is there a way to get the p-value as an r-class result too?
Thank you!
Amanda
- Mon Feb 07, 2022 12:47 am
- Forum: runmlwin user forum
- Topic: MCMC: calculating estimates, CrIs for combinations of terms/interactions
- Replies: 5
- Views: 14996
MCMC: calculating estimates, CrIs for combinations of terms/interactions
Hello,
I'm wondering if there is a way to calculate estimates and credible intervals for different combinations of terms (including interaction terms) if the model was run using runmlwin and MCMC?
I'm looking to create a table like the one in this article (Table 1): https://doi.org/10.1093/ije ...
I'm wondering if there is a way to calculate estimates and credible intervals for different combinations of terms (including interaction terms) if the model was run using runmlwin and MCMC?
I'm looking to create a table like the one in this article (Table 1): https://doi.org/10.1093/ije ...
- Mon Feb 07, 2022 12:21 am
- Forum: runmlwin user forum
- Topic: Saving estimates from models (using MCMC) executed using runmlwin
- Replies: 4
- Views: 15923
Re: Saving estimates from models (using MCMC) executed using runmlwin
Hi Chris, thanks so much for these ideas!
I ended up exponentiating the variables one-by-one, using "quietly mcmcsum, variables" to obtain the r-class results (estimate, p2.5 and p97.5) and adding them into a table using putdocx table. I've added some example code for one of the coefficients below ...
I ended up exponentiating the variables one-by-one, using "quietly mcmcsum, variables" to obtain the r-class results (estimate, p2.5 and p97.5) and adding them into a table using putdocx table. I've added some example code for one of the coefficients below ...
- Fri Nov 26, 2021 12:35 am
- Forum: runmlwin user forum
- Topic: Saving estimates from models (using MCMC) executed using runmlwin
- Replies: 4
- Views: 15923
Re: Saving estimates from models (using MCMC) executed using runmlwin
Hi Chris,
Thanks so much for looking into this - really appreciate your help!
I've re-run the runmlwin command with the savechains option specified, and then loaded in the chains data file. For each coefficient/chain, I created a new variable containing the exponentiated variable chains and I can ...
Thanks so much for looking into this - really appreciate your help!
I've re-run the runmlwin command with the savechains option specified, and then loaded in the chains data file. For each coefficient/chain, I created a new variable containing the exponentiated variable chains and I can ...
- Wed Nov 24, 2021 4:16 am
- Forum: runmlwin user forum
- Topic: Saving estimates from models (using MCMC) executed using runmlwin
- Replies: 4
- Views: 15923
Saving estimates from models (using MCMC) executed using runmlwin
Hello, and apologies in advance if my query is not properly explained as this is my first time posting here. I have a query relating to the proper way to save/store results (ideally in Stata) from a model run using MCMC estimation, executed by the runmlwin command, so that I can use the results in a ...