pcurve: Fixed and mixed effects meta-analysis under selection for...

Description Usage Arguments Value

View source: R/selection_models.R

Description

Fixed and mixed effects meta-analysis under selection for significance

Usage

1
pcurve(d, n, c = rep(stats::qnorm(0.975), length(n)), type = "mixed")

Arguments

d

Vector of nbserved effect sizes.

n

Integer vector of sample sizes.

c

Vector of lower cut-off values.

type

String specifying the type of analysis.

Value

A vector of estimates and an estimate of its asymptotic covariance matrix. For the fixed effects model, the estimate is the estimated mean. For the mixed effects model, the estimates are the mean and the variance of the normal effect size distribution.


JonasMoss/straussR documentation built on May 17, 2019, 7:02 p.m.