ols_model_performance: Model Performance

View source: R/ols-model-performance.R

ols_model_performanceR Documentation

Model Performance

Description

Evaluate performance of regression models.

Usage

ols_model_performance(model, ...)

Arguments

model

An object of class lm.

...

Other arguments.

Value

ols_model_performance returns an object of class "ols_model_performance". An object of class "ols_regress" is a list containing the following components:

r

square root of rsquare, correlation between observed and predicted values of dependent variable

rsq

coefficient of determination or r-square

adjr

adjusted rsquare

prsq

predicted rsquare

aic

akaike information criteria

sbc

bayesian information criteria

sbic

sawa bayesian information criteria

rmse

root mean squared error

References

Kutner, M. H., Nachtsheim, C. J., Neter, J. and Li, W. (2005). Applied Linear Statistical Models, 5th ed. New York: McGraw-Hill/Irwin.

Examples

# model
model <- lm(mpg ~ disp + hp + wt, data = mtcars)

# model performance
ols_model_performance(model)


olsrr documentation built on Nov. 18, 2026, 5:07 p.m.