Learn R Programming

psychmeta (version 2.7.0)

credibility: Construct a credibility interval

Description

Function to construct a credibility interval around a mean effect size.

Usage

credibility(mean, sd, k = NULL, cred_level = 0.8, cred_method = c("t", "norm"))

Value

A matrix of credibility intervals of the specified width.

Arguments

mean

Mean effect size.

sd

Residual/true standard deviation of effect sizes, after accounting for variance from artifacts.

k

Number of studies in the meta-analysis.

cred_level

Credibility level that defines the width of the credibility interval (default = .80).

cred_method

Distribution to be used to compute the width of credibility intervals. Available options are "t" for t distribution or "norm" for normal distribution.

Details

$$CR=mean_{es}\pm quantile\times SD_{es}$$

Examples

Run this code
credibility(mean = .3, sd = .15, cred_level = .8, cred_method = "norm")
credibility(mean = .3, sd = .15, cred_level = .8, k = 10)
credibility(mean = c(.3, .5), sd = c(.15, .2), cred_level = .8, k = 10)

Run the code above in your browser using DataLab