MSSR.statistic: MSSR statistic

View source: R/OverdispersionTest.R

MSSR.statisticR Documentation

MSSR statistic

Description

Mean of the squared within-group Poisson-standardised residuals, T = 1/N * sum_i sum_j ((y_ij - mu_i) / sqrt(mu_i))^2. Internal helper of Overdispersion.test.

Usage

MSSR.statistic(group.counts, zero.group.mean = 0.5)

Arguments

group.counts

List with one vector of counts per treatment group

zero.group.mean

Value that replaces a group mean of zero in the denominator

Value

Numeric value of the test statistic


qountstat documentation built on Oct. 16, 2026, 5:09 p.m.