Log-likelihood / G-test (lambda = 0) discrete CI test.

log_likelihood(data, yates = TRUE)

Arguments

data

A dataset() result or a data.frame.

yates

Whether to apply Yates' continuity correction on 2x2 sub-tables (default TRUE, the scipy/pgmpy convention).

Value

A fastcit_test bound to data.