U_phi_mu4zinb: U_phi_mu4zinb

View source: R/zimfrv.R

U_phi_mu4zinbR Documentation

U_phi_mu4zinb

Description

Compute score statistics for ZINB model

This function takes the estimations of phi and lambda produced by the phi_lambda_hat4negbin and computes the score statistics for ZINB model under the null hypothesis.

Usage

U_phi_mu4zinb(simudata, G_rare)

Arguments

simudata

a data frame containing a phenotype named y and covariates

G_rare

a data frame containing data of rare variants with the same subject order as in simudata

Value

a list of 2 matrice of the score statistics for each variant from each subject


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