Skip to main content

models.vuong()

Vuong’s test of model a against model b, as pscl::vuong:

Usage

models.vuong(
    a,
    b,
    k_a,
    k_b,
)

from each row’s log-likelihood under each and their parameter counts (pscl counts the coefficients only, not theta). Returns a dict with "raw", "aic" and "bic", each (statistic, p_value): a positive statistic favours a, the p-value is one-sided.