Description Usage Arguments Details Author(s) References See Also

Calculates the Log Likelihood-Ratio test statistic between a lower-triangular matrix of genotypic counts and associated Hardy-Weinberg equilibrium model counts

1 | ```
test.gsq(observed, expected)
``` |

`observed` |
Matrix of observed genotypic counts |

`expected` |
Matrix of model genotypic counts |

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

Shubhodeep Mukherji <[email protected]>

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

`HW.pval`

, `HW.plain`

, and `HW.cond`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.