Shiny App

ols_launch_app

Launch shiny app

Regression

ols_regress

Ordinary least squares regression

Variable Selection Procedures

ols_step_all_possible plot

All possible regression

ols_step_all_possible_betas

All possible regression variable coefficients

ols_step_best_subset plot

Best subsets regression

ols_step_backward_p plot

Stepwise backward regression

ols_step_forward_p plot

Stepwise forward regression

ols_step_both_p plot

Stepwise regression

ols_step_backward_aic plot

Stepwise AIC backward regression

ols_step_forward_aic plot

Stepwise AIC forward regression

ols_step_both_aic plot

Stepwise AIC regression

Residual Diagnostics

ols_plot_resid_qq

Residual QQ plot

ols_plot_resid_hist

Residual histogram

ols_plot_resid_box

Residual box plot

ols_test_normality

Test for normality

ols_test_correlation

Correlation test for normality

ols_plot_resid_fit

Residual vs fitted plot

Heteroskedasticity

ols_test_bartlett

Bartlett test

ols_test_breusch_pagan

Breusch pagan test

ols_test_score

Score test

ols_test_f

F test

Collinearity Diagnostics

ols_coll_diag ols_vif_tol ols_eigen_cindex

Collinearity diagnostics

Measures of Influence

ols_plot_cooksd_bar

Cooks' D bar plot

ols_plot_cooksd_chart

Cooks' D chart

ols_plot_dfbetas

DFBETAs panel

ols_plot_dffits

DFFITS plot

ols_plot_resid_stud

Studentized residual plot

ols_plot_resid_stand

Standardized residual chart

ols_plot_resid_lev

Studentized residuals vs leverage plot

ols_plot_resid_stud_fit

Deleted studentized residual vs fitted values plot

ols_plot_hadi

Hadi plot

ols_plot_resid_pot

Potential residual plot

ols_leverage

Leverage

ols_hadi

Hadi's influence measure

ols_press

PRESS

ols_pred_rsq

Predicted rsquare

Information Criteria

ols_aic

Akaike information criterion

ols_sbc

Bayesian information criterion

ols_sbic

Sawa's bayesian information criterion

ols_mallows_cp

Mallow's Cp

ols_msep

MSEP

ols_fpe

Final prediction error

ols_apc

Amemiya's prediction criterion

ols_hsp

Hocking's Sp

Model Fit Assessment

ols_plot_resid_fit_spread ols_plot_fm ols_plot_resid_spread

Residual fit spread plot

ols_correlations

Part and partial correlations

ols_plot_obs_fit

Observed vs fitted values plot

ols_pure_error_anova

Lack of fit F test

ols_plot_diagnostics

Diagnostics panel

Variable Contribution

ols_plot_resid_regressor

Residual vs regressor plot

ols_plot_added_variable

Added variable plots

ols_plot_comp_plus_resid

Residual plus component plot

Miscellaneous

ols_plot_response

Response variable profile

ols_plot_reg_line

Simple linear regression line

ols_update

Update olsrr package

ols_deps

Check olsrr Version

Data

olsrr comes with a built-in datasets which are used to illustrate the functions as well as for running tests.

surgical

Surgical Unit Data Set

stepdata

Test Data Set