U_fi_lmd: U_fi_lmd

View source: R/zimfrv.R

U_fi_lmdR Documentation

U_fi_lmd

Description

Compute Score statistics for ZIP model

This function takes the estimations of phi and lambda produced by the phi_lambda_hat and computes the score statistics under the null hypothesis.

Usage

U_fi_lmd(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.