sigma_ref: Reference standard deviation

View source: R/sigma_ref.R

sigma_refR Documentation

Reference standard deviation

Description

Computes the reference standard deviation of the given meta-analysis data set. The reference standard deviation is defined as the geometric mean of the standard deviations of the individual studies (Sorbye & Rue 2014, equation (7)).

Usage

sigma_ref(df)

Arguments

df

data frame with one column "sigma" containing the standard errors of the estimates for the individual studies.

Value

The reference standard deviation of the data set. Non-negative real number.

References

Sorbye, S., Rue, H. (2014). Scaling intrinsic Gaussian Markov random field priors in spatial modelling. Spatial Statistics 8, 39–51. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.spasta.2013.06.004")}

Examples

# reference sd for resporiratory tract infections (RTI) data
data(rti)
sigma_ref(df=rti)

ra4bayesmeta documentation built on Oct. 7, 2023, 1:07 a.m.