Analytic-style confidence bands for a VCMoE fit
vcmoe_confband.RdComputes HC0 analytic-style Epanechnikov path confidence bands for
VCMoE fits with k = 2:10 using the fitted Epanechnikov/scaled
parameterization. High-k intervals are diagnostic-gated and should be
interpreted with the returned block and Hessian diagnostics.
Arguments
- fit
A
vcmoefit.- data
Optional original data frame. The implementation uses
fit$fitted; refit withcontrol = list(keep_data = TRUE)if needed.- level
Confidence level.
- type
Whether the convenience
loweranduppercolumns use pointwise intervals or simultaneous bands.- coefficient_set
Coefficient blocks to return.
- strict
Whether weak local fits should return blocked intervals.
- control
Optional inference controls. HC0 is the only active covariance adjustment.
Details
The returned interval table includes pointwise and simultaneous columns,
diagnostic status, block reasons, Hessian condition, effective local sample
size, and SCB metadata. Binomial expert intervals are on the logit coefficient
scale, Negative-Binomial expert intervals are on the log mean scale, and
Negative-Binomial theta intervals are nuisance diagnostics.