Median Odds Ratio & 95% CrI

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/
Post Reply
kathrynmbarker
Posts: 9
Joined: Fri Sep 22, 2017 10:27 pm

Median Odds Ratio & 95% CrI

Post by kathrynmbarker »

Hello! I was wondering if there is a command in runmlwin for the calculation of MORs and the associated 95% credible intervals? Thanks!
ChrisCharlton
Posts: 1351
Joined: Mon Oct 19, 2009 10:34 am

Re: Median Odds Ratio & 95% CrI

Post by ChrisCharlton »

I am not familiar with the median odds ratio and there is not a -runmlwin- option to calculate this directly, however you should be able to use the formula given at the end of http://fmwww.bc.edu/repec/bocode/x/xtmrho.html to calculate it directly. The paper at https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2566165/ suggests that if you have run your model with MCMC you can calculate the credible intervals by applying this formula to 2.5th and 97.5th centiles of the chain (available via the -mcmcsum- command).
Post Reply