Home » R » Coloc 1.10

Coloc 1.10

Coloc version 1.10 on CRAN. This version adds the option to calculate a credible interval for eta from its posterior distribution.

It uses a rather crude search to find the highest posterior density region, based on a numerical approximation of the posterior. The search proceeds outwards from the mode in largish steps until the desired level of the interval is exceeded, then inwards in small steps. It could certainly be optimized, but this way was quick to program and runs in a few seconds, so appeared reasonable. The calculation can be turned off by setting bayes.ci=FALSE to speed things up when time really matters in simulations.

This entry was posted in R. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s