View source: R/incomplete_loglik.R
incomplete_loglik | R Documentation |
Function for calculating incomplete log likelihood
incomplete_loglik(
xbeta,
ff,
firth = TRUE,
outcome = outcome,
epsilon = epsilon,
covariate
)
xbeta |
my fitted betas matrix multiplied by covariate |
ff |
my estimated f's |
firth |
use Firth penalty? default: TRUE |
outcome |
length-n vector; this is the vector of a target gene's presence/absence; should be coded as 0 or 1 |
epsilon |
probability of observing a gene when it should be absent; probability between 0 and 1 |
covariate |
n x p matrix; this is the matrix for the primary predictor/covariate of interest |
incomplete log-likelihood value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.