Determines whether dispersion should be estimated per-row, per-column, or globally by examining the coefficient of variation of per-row and per-column dispersion estimates.
Value
A list with:
- mode
Recommended DispersionMode: "global", "per_row", or "per_col"
- global_phi
Global dispersion estimate
- row_cv
CV of per-row dispersion estimates
- col_cv
CV of per-col dispersion estimates
Details
Computes moment-based dispersion estimates \(\hat{\phi} = r^2 / \mu^p\)
(where \(p\) is determined by the distribution) per row and per column.
If the coefficient of variation (CV) of per-row estimates exceeds
cv_threshold, per-row dispersion is recommended; similarly for
per-column. If both CVs are low, global dispersion suffices.