CMD + K

r-prediction

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-prediction

Usage Tracking

0.3.18
0.3.17
0.3.14
0.3.6.2
0.3.6.1
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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.

Last Updated

Jun 11, 2024 at 19:14

License

MIT

Total Downloads

134.0K

Supported Platforms

noarch

Unsupported Platforms

linux-64 Last supported version: 0.3.6
win-64 Last supported version: 0.3.6
macOS-64 Last supported version: 0.3.6