TRICEP_glm_beta_fixed: Compute CEL for a given value of a coefficient.

Description Usage Arguments Value

Description

Compute CEL for a given value of a coefficient.

Usage

1
2
3
TRICEP_glm_beta_fixed(beta_fix_val, fix_index, X, y = NULL,
  family = c("gaussian", "binomial", "poisson", "mean"), mean_init = NULL,
  algorithm = c("TRICEP", "nested"), ...)

Arguments

beta_fix_val

the test values.

fix_index

a vector indicating the indices to be tested.

X

a design matrix with observations in rows and variables in columns.

y

a vector of the responses. Default is NULL in case family = "mean" (test a vector mean).

family

either the GLM family or "mean" for a vector mean.

mean_init

the MLE for the coefficients.

algorithm

a string indicating the algorithm to be used. "nested" is only compatible when family = "gaussian".

...

additional arguments passed to TRICEP_glm.

Value

A list with the output from TRICEP_glm.


hoangtt1989/BICEP documentation built on May 28, 2019, 3:37 p.m.