g.test.2: Log-likelihood test of independence.

g.test.2R Documentation

Log-likelihood test of independence.

Description

For two sets of observations.

Usage

g.test.2(obsx, obsy)

Arguments

obsx

a numeric vector of positive counts, with at least one non-zero value.

obsy

a numeric vector of positive counts of same length as obsx, with at least one non-zero value.

The order of values in the two vectors should be the same. No corrections are applied. No input checks are applied, as RATs needs to run this millions of times.

Details

General utility function.


bartongroup/RATS documentation built on June 8, 2022, 12:40 a.m.