Description Usage Arguments Details Value Author(s) See Also
bmaPredict
Performs prediction using a single model and estimator
1 2 |
model |
BAS.LM object |
estimator |
String indicating which estimator to use. Options are 'BMA', 'BPM', 'HPM', & 'MPM' |
yX |
Optional data frame containing test data |
trial |
Numeric indicator of the trial number when repeated trials are being conducted. |
prediction |
Logical value to indicate whether the observed design matrix used in fitting or the newdata will be used for estimating the mean or for making predictions. The default is FALSE for estimation of the mean. |
rvp |
Logical indicating whether to return residuals vs predicted (fitted) data frame |
pe |
Logical indicating whether to return paramater estimates |
predObj |
Logical. If TRUE, the object from the predict function is returned. |
Performs predictions on a single model and estimator and returns MSE and optionally, residual vs fitted, parameter estimates and prediction distributions on existing training data or new test data.
mse frame containing MSE measures for each model
John James, jjames@yXsciencesalon.org
Other BMA functions: bestPredictions
,
bmaAnalysis
, bmaComplexity
,
bmaEvaluation
, bmaPDC
,
bmaPIPPlots
, bmaPIP
,
bmaPerformanceReport
,
bmaPerformance
,
bmaPredictModels
, bma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.