Skip to contents

Fit and inspect models

vcmoe_fit()
Fit a varying-coefficient mixture-of-experts model
coef(<vcmoe>)
Extract VCMoE coefficients
predict(<vcmoe>)
Predict from a VCMoE fit
vcmoe_diagnostics()
Summarize VCMoE fit diagnostics
vcmoe_parameterization()
Inspect VCMoE Parameterization Metadata
vcmoe_gating_contrasts()
Report Identifiable VCMoE Gating Contrasts
vcmoe_scaled_slopes()
Inspect VCMoE Local-Linear Slopes On The Scaled Basis

Simulation

simulate_vcmoe_gaussian()
Simulate Gaussian VCMoE data
simulate_vcmoe_binomial()
Simulate Binomial VCMoE data
simulate_vcmoe_negbin()
Simulate Negative-Binomial VCMoE count data

Tuning and inference

vcmoe_select_bandwidth()
Select a VCMoE bandwidth by K-fold cross-validation
vcmoe_bootstrap()
Parametric bootstrap inference for a VCMoE fit
confint(<vcmoe_bootstrap>)
Bootstrap confidence intervals for VCMoE coefficients
plot_inference()
Plot bootstrap inference intervals
vcmoe_confband()
Analytic-style confidence bands for a VCMoE fit
vcmoe_glrt()
Coefficient-specific GLRT for VCMoE coefficient variation

Plots

plot_coefficients()
Plot fitted coefficient functions
plot_posterior()
Plot fitted posterior summaries
plot_diagnostics()
Plot VCMoE fit diagnostics