KCheckResult
Result of basis dimension adequacy check for a single smooth.
Usage
KCheckResult(
term_label,
k_prime,
edf,
k_index,
p_value,
)Attributes
term_label: str-
Human-readable label for the smooth term.
k_prime: int-
Basis dimension after identifiability constraints (upper bound on EDF).
edf: float-
Effective degrees of freedom for the smooth.
k_index: float-
Ratio of neighbor-differencing variance estimate to overall residual variance. Values well below 1 suggest
kmay be too small. p_value: float- Simulation-based p-value. Low values indicate the basis dimension may be inadequate.