Projects mean squared out-of-sample error for a linear regression based upon the methodology developed in Rohlfs (2022) <doi:10.48550/arXiv.2209.01493>. It consumes as inputs the lm object from an estimated OLS regression (based on the "training sample") and a data.frame of out-of-sample cases (the "test sample") that have non-missing values for the same predictors. The test sample may or may not include data on the outcome variable; if it does, that variable is not used. The aim of the exercise is to project what what mean squared out-of-sample error can be expected given the predictor values supplied in the test sample. Output consists of a list of three elements: the projected mean squared out-of-sample error, the projected out-of-sample R-squared, and a vector of out-of-sample "hat" or "leverage" values, as defined in the paper.
| Version: | 0.0.1 |
| Published: | 2022-09-09 |
| DOI: | 10.32614/CRAN.package.moose |
| Author: | Chris Rohlfs |
| Maintainer: | Chris Rohlfs <car2228 at columbia.edu> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| CRAN checks: | moose results |
| Reference manual: | moose.html , moose.pdf |
| Package source: | moose_0.0.1.tar.gz |
| Windows binaries: | r-devel: moose_0.0.1.zip, r-release: moose_0.0.1.zip, r-oldrel: moose_0.0.1.zip |
| macOS binaries: | r-release (arm64): moose_0.0.1.tgz, r-oldrel (arm64): moose_0.0.1.tgz, r-release (x86_64): moose_0.0.1.tgz, r-oldrel (x86_64): moose_0.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=moose to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.