density_g_model: The l_1 to l_4 derivative from the g-modeling method

Description Usage Arguments Value

View source: R/density_g_model.R View source: R/core.R

Description

The l_1 to l_4 derivative from the g-modeling method

Usage

1
density_g_model(x, k, pi_0, lambda_set, g_prior)

Arguments

x

a sequence of chi-squared test statistics

k

degrees of freedom

pi_0

the proportion of the null

lambda_set

the set of noncentrality values

g_prior

the prior probability for the noncentrality values

Value

a list: the margianl density, and its first-to-fourth derivatives


dulilun/EB documentation built on May 30, 2021, 2:18 a.m.