U_fi_lmd {ZIM4rv}R 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


[Package ZIM4rv version 0.1.1 Index]