CRAN/E | prediction

prediction

Tidy, Type-Safe 'prediction()' Methods

Installation

About

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' . 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.

Citation prediction citation info
github.com/leeper/prediction
Bug report File report

Key Metrics

Version 0.3.14
R ≥ 3.5.0
Published 2019-06-17 1774 days ago
Needs compilation? no
License MIT
License File
CRAN checks prediction results

Downloads

Yesterday 9 0%
Last 7 days 34 -95%
Last 30 days 6.551 -50%
Last 90 days 31.088 -22%
Last 365 days 140.875 -16%

Maintainer

Maintainer

Thomas J. Leeper

thosjleeper@gmail.com

Authors

Thomas J. Leeper

aut / cre

Carl Ganz

ctb

Vincent Arel-Bundock

ctb

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

prediction archive

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

Reverse Imports

DynNom
iml
margins
mhurdle
predict3d
rdddr

Reverse Suggests

estimatr
ggeffects
marginaleffects