A one-function package containing 'prediction()', a type-safe alternative to 'predict()' that always returns a data frame. The 'summary()' method provides a data frame with average predictions, possibly over counterfactual versions of the data (a la the 'margins' command in 'Stata'). Marginal effect estimation is provided by the related package, 'margins' <https://cran.r-project.org/package=margins>. The package currently supports common model types (e.g., "lm", "glm") from the 'stats' package, as well as numerous other model classes from other add-on packages. See the README or main package documentation page for a complete listing.
Version: |
0.3.14 |
Depends: |
R (≥ 3.5.0) |
Imports: |
utils, stats, data.table |
Suggests: |
datasets, methods, testthat |
Enhances: |
AER, aod, betareg, biglm, brglm, caret, crch, e1071, earth, ff, ffbase, gam (≥ 1.15), gee, glmnet, glmx, kernlab, lme4, MASS, mclogit, mda, mlogit, MNP, nlme, nnet, ordinal, plm, pscl, quantreg, rpart, sampleSelection, speedglm, survey (≥
3.31-5), survival, truncreg, VGAM |
Published: |
2019-06-17 |
Author: |
Thomas J. Leeper
[aut, cre],
Carl Ganz [ctb],
Vincent Arel-Bundock
[ctb] |
Maintainer: |
Thomas J. Leeper <thosjleeper at gmail.com> |
BugReports: |
https://github.com/leeper/prediction/issues |
License: |
MIT + file LICENSE |
URL: |
https://github.com/leeper/prediction |
NeedsCompilation: |
no |
Citation: |
prediction citation info |
Materials: |
README NEWS |
CRAN checks: |
prediction results |