Shiny App

ols_launch_app()

Launch shiny app

Regression

ols_regress()

Ordinary least squares regression

Variable Selection Procedures

ols_step_all_possible() plot(<ols_step_all_possible>)

All possible regression

ols_step_all_possible_betas()

All possible regression variable coefficients

ols_step_best_subset() plot(<ols_step_best_subset>)

Best subsets regression

ols_step_backward_p() plot(<ols_step_backward_p>)

Stepwise backward regression

ols_step_forward_p() plot(<ols_step_forward_p>)

Stepwise forward regression

ols_step_both_p() plot(<ols_step_both_p>)

Stepwise regression

ols_step_backward_aic() plot(<ols_step_backward_aic>)

Stepwise AIC backward regression

ols_step_forward_aic() plot(<ols_step_forward_aic>)

Stepwise AIC forward regression

ols_step_both_aic() plot(<ols_step_both_aic>)

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

Plot Data

ols_prep_avplot_data()

Added variable plot data

ols_prep_regress_x()

Regress predictor on other predictors

ols_prep_regress_y()

Regress y on other predictors

ols_prep_cdplot_data()

Cooks' D plot data

ols_prep_outlier_obs()

Cooks' D outlier observations

ols_prep_cdplot_outliers()

Cooks' d outlier data

ols_prep_dfbeta_data()

DFBETAs plot data

ols_prep_dfbeta_outliers()

DFBETAs plot outliers

ols_prep_dsrvf_data()

Deleted studentized residual plot data

ols_prep_rfsplot_fmdata() ols_prep_rfsplot_rsdata()

Residual fit spread plot data

ols_prep_rvsrplot_data()

Residual vs regressor plot data

ols_prep_rstudlev_data()

Studentized residual vs leverage plot data

ols_prep_srplot_data()

Studentized residual plot data

ols_prep_srchart_data()

Standardized residual chart data

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