Learn R Programming

psycho (version 0.4.91)

interpret_odds_posterior: Odds ratio interpreation for a posterior distribution.

Description

Interpret odds with a set of rules.

Usage

interpret_odds_posterior(posterior, log = FALSE, rules = "chen2010")

Arguments

posterior

Posterior distribution of odds ratio.

log

Are these log odds ratio?

rules

Can be "chen2010" (default), "cohen1988" (through log odds to Cohen's d transformation) or a custom list.

Examples

Run this code
# NOT RUN {
library(psycho)
posterior <- rnorm(1000, 0.6, 0.05)
interpret_odds_posterior(posterior)
interpret_odds_posterior(rnorm(1000, 0.1, 1))
interpret_odds_posterior(rnorm(1000, 3, 1.5))
# }

Run the code above in your browser using DataLab