normalizing_constant: Normalizing Constants for the Publication Selection...

normalizing_constantR Documentation

Normalizing Constants for the Publication Selection Meta-Analysis Model

Description

Normalizing constants for the publication selection meta-Analysis model. These are used in several other functions. The underlying effect size distribution is normal and the selection is one-sided.

Usage

I(sigma, theta, alpha, eta)

J(sigma, theta0, tau, alpha, eta)

Arguments

sigma

Numeric; The standard deviation of the study, due to sampling error.

theta

Numeric; The mean of the underlying effect size.

alpha

Numeric vector; Specifies the thresholds for publication bias.

eta

Numeric vector; Containing the probabilities of being a study with the given p-value from being published. This is normalized so that the maximal element is 1.

theta0

Numeric; The mean of the underlying effect size distribution.

tau

Numeric; The standard deviation of the underlying effect size distribution.

Details

The function I calculates the normalizing constant for the density of the observed effect sizes. The function J calculates the normalizing constant for the density of the effect size distribution.

Value

The normalizing constant.


publipha documentation built on April 4, 2023, 5:19 p.m.