Skip to content

Instantly share code, notes, and snippets.

@nicebread
Created May 21, 2015 09:29
Show Gist options
  • Save nicebread/90fc3403ec1014e09bdf to your computer and use it in GitHub Desktop.
Save nicebread/90fc3403ec1014e09bdf to your computer and use it in GitHub Desktop.
BF <- ttestBF(...)
BF.post <- posterior(BF, iterations=10000)
HPD <- HPDinterval(BF.post)
HPD["delta", "lower"]
HPD["delta", "upper"]
median(BF.post[, "delta"])
# delta gives posterior on effect size (Cohen's d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment