Validate test-specific sample size requirements¶
Source: R/validation.R ยท Help: ?rvalidateSampleSize
Evaluates whether the supplied data meet the minimum observation counts required by individual heteroscedasticity diagnostics.
Usage¶
Arguments¶
test_name- Name of the heteroscedasticity test whose requirements are being validated.
model- A fitted stats::lm object representing the mean specification to be diagnosed.
data- A base::data.frame (or object coercible to one) containing the
variables referenced by
model. It must include the observations used to fitmodeland will be checked for missing values. groups- Optional grouping vector used for per-group requirements. If
omitted, the function attempts to derive the grouping variable from
...whengroup_varis supplied. ...- Additional arguments forwarded to dynamic requirement functions
(for example the number of
lagsin an ARCH LM test). Unused entries are ignored when computing static requirements.
Value¶
A validation result describing whether the sample-size checks passed.