phi_mu_hat4zinb: phi_mu_hat4zinb

View source: R/zimfrv.R

phi_mu_hat4zinbR Documentation

phi_mu_hat4zinb

Description

Estimation of phi_hat, mu_hat and alpha_hat for ZINB model

This function gives the estimation of three parameters phi, mu and alpha in ZINB model for each subject under the null hypothesis.

Usage

phi_mu_hat4zinb(simud)

Arguments

simud

a data frame containing a phenotype named y and covariates

Details

This function first fits zero‐inflated negative binomial regression of phenotype y on the covariates only to obtain the estimates of regression coefficients and inverse dispersion and then compute the estimations of phi, mu and alpha.

Value

a list of 3 estimations of parameters for each subject

See Also

zeroinfl


ZIM4rv documentation built on April 3, 2025, 7:39 p.m.