Package: offsetreg 1.1.0
Matt Heaphy
offsetreg: An Extension of 'Tidymodels' Supporting Offset Terms
Extend the 'tidymodels' ecosystem <https://www.tidymodels.org/> to enable the creation of predictive models with offset terms. Models with offsets are most useful when working with count data or when fitting an adjustment model on top of an existing model with a prior expectation. The former situation is common in insurance where data is often weighted by exposures. The latter is common in life insurance where industry mortality tables are often used as a starting point for setting assumptions.
Authors:
offsetreg_1.1.0.tar.gz
offsetreg_1.1.0.zip(r-4.5)offsetreg_1.1.0.zip(r-4.4)offsetreg_1.1.0.zip(r-4.3)
offsetreg_1.1.0.tgz(r-4.4-any)offsetreg_1.1.0.tgz(r-4.3-any)
offsetreg_1.1.0.tar.gz(r-4.5-noble)offsetreg_1.1.0.tar.gz(r-4.4-noble)
offsetreg_1.1.0.tgz(r-4.4-emscripten)offsetreg_1.1.0.tgz(r-4.3-emscripten)
offsetreg.pdf |offsetreg.html✨
offsetreg/json (API)
NEWS
# Install 'offsetreg' in R: |
install.packages('offsetreg', repos = c('https://mattheaphy.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mattheaphy/offsetreg/issues
- us_deaths - United States Deaths 2011-2020
Last updated 8 months agofrom:9ab4aee501. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | OK | Nov 21 2024 |
R-4.5-linux | OK | Nov 21 2024 |
R-4.4-win | OK | Nov 21 2024 |
R-4.4-mac | OK | Nov 21 2024 |
R-4.3-win | OK | Nov 21 2024 |
R-4.3-mac | OK | Nov 21 2024 |
Exports:boost_tree_offsetcheck_argsdecision_tree_exposureglm_offsetglmnet_offsetmin_gridpoisson_reg_offsetrpart_exposuretranslatexgb_predict_offsetxgb_train_offset
Dependencies:clicodetoolscolorspacecpp11dplyrfansifarvergenericsggplot2globalsgluegtablehardhatisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeparsnippillarpkgconfigpoissonregprettyunitspurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Boosted Poisson Trees with Offsets | boost_tree_offset |
Poisson Decision Trees with Exposures | decision_tree_exposure |
Fit Generalized Linear Models with an Offset | glm_offset |
Fit Penalized Generalized Linear Models with an Offset | glmnet_offset |
Poisson regression models with offsets | poisson_reg_offset |
Poisson Recursive Partitioning and Regression Trees with Exposures | rpart_exposure |
United States Deaths 2011-2020 | us_deaths |
Boosted Poisson Trees with Offsets via 'xgboost' | xgb_predict_offset xgb_train_offset |