test.chisq: Computing the chi-square test statistic

Description Usage Arguments Details Author(s) References See Also

View source: R/test.chisq.R

Description

Calculates the Chi-Square test statistic between a lower-triangular matrix of genotypic counts and associated Hardy-Weinberg equilibrium model counts

Usage

1
test.chisq(observed, expected)

Arguments

observed

Matrix of observed genotypic counts

expected

Matrix of model genotypic counts

Details

Called on by HW.pval(), HW.plain(), and HW.cond().

Author(s)

Shubhodeep Mukherji <deep.mukherji@utexas.edu>

References

"Testing Hardy-Weinberg equilibrium with a simple root-mean-square statistic," by Rachel Ward

See Also

HW.pval, HW.plain, and HW.cond.


HW.pval documentation built on May 2, 2019, 1:44 p.m.