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

Nmixture #41

Closed nicholasjclark closed 5 months ago

nicholasjclark commented 5 months ago

This PR brings the new nmix() family, together with a series of tests and examples. It also brings improved efficiency of residual calculations and some other minor improvements

codecov-commenter commented 5 months ago

Codecov Report

Attention: 529 lines in your changes are missing coverage. Please review.

Comparison is base (bb3291f) 41.23% compared to head (42cfe3b) 41.22%.

:exclamation: Current head 42cfe3b differs from pull request most recent head c025407. Consider uploading reports for the commit c025407 to get more accurate results

Files Patch % Lines
R/forecast.mvgam.R 24.22% 172 Missing :warning:
R/families.R 29.95% 145 Missing :warning:
R/add_nmixture.R 74.56% 59 Missing :warning:
R/hindcast.mvgam.R 29.62% 57 Missing :warning:
R/logLik.mvgam.R 24.13% 22 Missing :warning:
R/plot_mvgam_fc.R 0.00% 16 Missing :warning:
R/predict.mvgam.R 55.88% 15 Missing :warning:
R/get_linear_predictors.R 0.00% 10 Missing :warning:
R/summary.mvgam.R 0.00% 10 Missing :warning:
R/marginaleffects.mvgam.R 25.00% 6 Missing :warning:
... and 5 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #41 +/- ## ========================================== - Coverage 41.23% 41.22% -0.02% ========================================== Files 66 67 +1 Lines 17180 18017 +837 ========================================== + Hits 7085 7427 +342 - Misses 10095 10590 +495 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.