calc_score_test1: clac_score_test1 calculates the score test for given expected...

Description Usage Arguments Value

Description

calc_score_test1 is called in regScore_perm

Usage

1

Arguments

M1

- the expected value of genotype for case E(G_ij|D_ij) on one snp (dimension: ncase*1)

M2

- the expected value of genotype for control E(G_ij|D_ij) on one snp (dimension: ncont*1)

Value

- the score test statistic calculated from M1 and M2 and empirical variance estimation seperated for case and controls.


Struglab/RVS documentation built on May 9, 2019, 3:11 p.m.