nicholasjclark / mvgam

{mvgam} R 📦 to fit Dynamic Bayesian Generalized Additive Models for time series analysis and forecasting
https://nicholasjclark.github.io/mvgam/
Other
91 stars 11 forks source link

Include options for term-specific predictions #24

Open nicholasjclark opened 10 months ago

nicholasjclark commented 10 months ago

In mgcv, the predict function allows certain terms to be omitted. Should be able to include this in mvgam by finding the coefficients associated with excluded terms and setting their values to zero in the linear predictor matrix