gen_exp_family {adaptMT} | R Documentation |
Generate exp_family Objects for Exponential Families
Description
exp_family
objects contain all required information in an exponential family to perform the E-step. The exponential function is encoded by
where is an arbitrary transformation,
is the
mean parameter,
is the natural parameter,
and
is the partition function. The extra redundant
parameter
is to guarantee that
belongs to the class.
Usage
gen_exp_family(g, ginv, eta, mustar, A, name = NULL, family = NULL)
beta_family()
inv_gaussian_family()
Arguments
g |
a function. An transformation of p-values |
ginv |
a function. The inverse function of |
eta |
a function. The natural parameter as a function of the mean parameter |
mustar |
a scalar. The mean parameter that gives |
A |
a function. The partition function |
name |
a string. A name for the family. NULL by default |
family |
an object of class " |
Details
Beta family (beta_family()
): modeling p-values as Beta-distributed random variables, i.e. ,
,
,
, name = "beta" and family = Gamma(). Beta-family is highly recommended for general problems and used as default.
Inverse-gaussian family (inv_gaussian_family()
): modeling p-values as transformed z-scores, i.e. ,
,
,
, name = "inv_gaussian" and family = gaussian().
Value
an object of class "exp_family". This includes all inputs and h
, the density function.