Test-specific sample size requirements¶
Source: R/test_requirements.R ยท Help: ?rTEST_REQUIREMENTS
Central catalogue of the minimum sample sizes required by heteroscedasticity diagnostics supported in the package. Each entry either provides a requirements list with human-readable rationale or a function that computes the minimum number of observations from contextual arguments (e.g. lag lengths for dynamic tests).
Usage¶
Format¶
A named list keyed by lowercase test identifiers.
Details¶
Static entries are named lists with some combination of the following components:
min_obs- Overall minimum observation count.
min_obs_per_group- Minimum number of observations that each group should contribute.
reason- Short explanation describing why the requirement exists.
Dynamic entries are functions that receive additional arguments supplied to
rvalidateSampleSize() and should return either a numeric minimum or a list
containing min_obs and, optionally, reason.