Package: olsrr 0.6.1.9000

Aravind Hebbali

olsrr: Tools for Building OLS Regression Models

Tools designed to make it easier for users, particularly beginner/intermediate R users to build ordinary least squares regression models. Includes comprehensive regression output, heteroskedasticity tests, collinearity diagnostics, residual diagnostics, measures of influence, model fit assessment and variable selection procedures.

Authors:Aravind Hebbali [aut, cre]

olsrr_0.6.1.9000.tar.gz
olsrr_0.6.1.9000.zip(r-4.5)olsrr_0.6.1.9000.zip(r-4.4)olsrr_0.6.1.9000.zip(r-4.3)
olsrr_0.6.1.9000.tgz(r-4.4-any)olsrr_0.6.1.9000.tgz(r-4.3-any)
olsrr_0.6.1.9000.tar.gz(r-4.5-noble)olsrr_0.6.1.9000.tar.gz(r-4.4-noble)
olsrr_0.6.1.9000.tgz(r-4.4-emscripten)olsrr_0.6.1.9000.tgz(r-4.3-emscripten)
olsrr.pdf |olsrr.html
olsrr/json (API)
NEWS

# Install 'olsrr' in R:
install.packages('olsrr', repos = c('https://rsquaredacademy.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rsquaredacademy/olsrr/issues

Datasets:

On CRAN:

collinearity-diagnosticslinear-modelsregressionstepwise-regression

12.40 score 102 stars 3 packages 1.3k scripts 15k downloads 15 mentions 87 exports 86 dependencies

Last updated 13 days agofrom:242d56d484. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-winOKNov 06 2024
R-4.5-linuxOKNov 06 2024
R-4.4-winOKNov 06 2024
R-4.4-macOKNov 06 2024
R-4.3-winOKNov 06 2024
R-4.3-macOKNov 06 2024

Exports:ols_aicols_apcols_coll_diagols_correlationsols_eigen_cindexols_fpeols_hadiols_hspols_launch_appols_leverageols_mallows_cpols_msepols_plot_added_variableols_plot_comp_plus_residols_plot_cooksd_barols_plot_cooksd_chartols_plot_dfbetasols_plot_dffitsols_plot_diagnosticsols_plot_fmols_plot_hadiols_plot_obs_fitols_plot_reg_lineols_plot_resid_boxols_plot_resid_fitols_plot_resid_fit_spreadols_plot_resid_histols_plot_resid_levols_plot_resid_potols_plot_resid_qqols_plot_resid_regressorols_plot_resid_spreadols_plot_resid_standols_plot_resid_studols_plot_resid_stud_fitols_plot_responseols_pred_rsqols_prep_avplot_dataols_prep_cdplot_dataols_prep_cdplot_outliersols_prep_dfbeta_dataols_prep_dfbeta_outliersols_prep_dsrvf_dataols_prep_outlier_obsols_prep_regress_xols_prep_regress_yols_prep_rfsplot_fmdataols_prep_rfsplot_rsdataols_prep_rstudlev_dataols_prep_rvsrplot_dataols_prep_srchart_dataols_prep_srplot_dataols_pressols_pure_error_anovaols_regressols_sbcols_sbicols_step_all_possibleols_step_all_possible_betasols_step_backward_adj_r2ols_step_backward_aicols_step_backward_pols_step_backward_r2ols_step_backward_sbcols_step_backward_sbicols_step_best_subsetols_step_both_adj_r2ols_step_both_aicols_step_both_pols_step_both_r2ols_step_both_sbcols_step_both_sbicols_step_forward_adj_r2ols_step_forward_aicols_step_forward_pols_step_forward_r2ols_step_forward_sbcols_step_forward_sbicols_test_bartlettols_test_breusch_paganols_test_correlationols_test_fols_test_normalityols_test_outlierols_test_scoreols_vif_tolrvsr_plot_shiny

Dependencies:abindbackportsbase64encbootbroombslibcachemcarcarDataclicolorspacecommonmarkcowplotcpp11crayonDerivdigestdoBydplyrfansifarverfastmapfontawesomeFormulafsgenericsggplot2gluegoftestgridExtragtablehtmltoolshttpuvisobandjquerylibjsonlitelabelinglaterlatticelifecyclelme4magrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellnlmenloptrnnetnortestnumDerivpbkrtestpillarpkgconfigpromisespurrrquantregR6rappdirsRColorBrewerRcppRcppEigenrlangsassscalesshinysourcetoolsSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrxplorerrxtable

Collinearity Diagnostics, Model Fit & Variable Contribution

Rendered fromregression_diagnostics.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2020-02-08
Started: 2017-02-13

Heteroscedasticity

Rendered fromheteroskedasticity.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2020-02-08
Started: 2017-04-21

Introduction to olsrr

Rendered fromintro.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2020-02-08
Started: 2017-02-09

Measures of Influence

Rendered frominfluence_measures.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2023-02-15
Started: 2017-04-21

Media

Rendered fromreference-media.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2019-01-26
Started: 2017-11-08

Residual Diagnostics

Rendered fromresidual_diagnostics.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2020-02-08
Started: 2017-04-21

Variable Selection Methods

Rendered fromvariable_selection.Rmdusingknitr::rmarkdownon Nov 06 2024.

Last update: 2024-02-12
Started: 2017-02-13

Readme and manuals

Help Manual

Help pageTopics
Akaike information criterionols_aic
Amemiya's prediction criterionols_apc
Collinearity diagnosticsols_coll_diag ols_eigen_cindex ols_vif_tol
Part and partial correlationsols_correlations
Final prediction errorols_fpe
Hadi's influence measureols_hadi
Hocking's Spols_hsp
Launch shiny appols_launch_app
Leverageols_leverage
Mallow's Cpols_mallows_cp
MSEPols_msep
Added variable plotsols_plot_added_variable
Residual plus component plotols_plot_comp_plus_resid
Cooks' D bar plotols_plot_cooksd_bar
Cooks' D chartols_plot_cooksd_chart
DFBETAs panelols_plot_dfbetas
DFFITS plotols_plot_dffits
Diagnostics panelols_plot_diagnostics
Hadi plotols_plot_hadi
Observed vs fitted values plotols_plot_obs_fit
Simple linear regression lineols_plot_reg_line
Residual box plotols_plot_resid_box
Residual vs fitted plotols_plot_resid_fit
Residual fit spread plotols_plot_fm ols_plot_resid_fit_spread ols_plot_resid_spread
Residual histogramols_plot_resid_hist
Studentized residuals vs leverage plotols_plot_resid_lev
Potential residual plotols_plot_resid_pot
Residual QQ plotols_plot_resid_qq
Residual vs regressor plotols_plot_resid_regressor
Standardized residual chartols_plot_resid_stand
Studentized residual plotols_plot_resid_stud
Deleted studentized residual vs fitted values plotols_plot_resid_stud_fit
Response variable profileols_plot_response
Predicted rsquareols_pred_rsq
Added variable plot dataols_prep_avplot_data
Cooks' D plot dataols_prep_cdplot_data
Cooks' d outlier dataols_prep_cdplot_outliers
DFBETAs plot dataols_prep_dfbeta_data
DFBETAs plot outliersols_prep_dfbeta_outliers
Deleted studentized residual plot dataols_prep_dsrvf_data
Cooks' D outlier observationsols_prep_outlier_obs
Regress predictor on other predictorsols_prep_regress_x
Regress y on other predictorsols_prep_regress_y
Residual fit spread plot dataols_prep_rfsplot_fmdata ols_prep_rfsplot_rsdata
Studentized residual vs leverage plot dataols_prep_rstudlev_data
Residual vs regressor plot dataols_prep_rvsrplot_data
Standardized residual chart dataols_prep_srchart_data
Studentized residual plot dataols_prep_srplot_data
PRESSols_press
Lack of fit F testols_pure_error_anova
Ordinary least squares regressionols_regress ols_regress.lm
Bayesian information criterionols_sbc
Sawa's bayesian information criterionols_sbic
All possible regressionols_step_all_possible ols_step_all_possible.default plot.ols_step_all_possible
All possible regression variable coefficientsols_step_all_possible_betas
Stepwise Adjusted R-Squared backward regressionols_step_backward_adj_r2 ols_step_backward_adj_r2.default plot.ols_step_backward_adj_r2
Stepwise AIC backward regressionols_step_backward_aic ols_step_backward_aic.default plot.ols_step_backward_aic
Stepwise backward regressionols_step_backward_p ols_step_backward_p.default plot.ols_step_backward_p
Stepwise R-Squared backward regressionols_step_backward_r2 ols_step_backward_r2.default plot.ols_step_backward_r2
Stepwise SBC backward regressionols_step_backward_sbc ols_step_backward_sbc.default plot.ols_step_backward_sbc
Stepwise SBIC backward regressionols_step_backward_sbic ols_step_backward_sbic.default plot.ols_step_backward_sbic
Best subsets regressionols_step_best_subset ols_step_best_subset.default plot.ols_step_best_subset
Stepwise Adjusted R-Squared regressionols_step_both_adj_r2 ols_step_both_adj_r2.default plot.ols_step_both_adj_r2
Stepwise AIC regressionols_step_both_aic ols_step_both_aic.default plot.ols_step_both_aic
Stepwise regressionols_step_both_p ols_step_both_p.default plot.ols_step_both_p
Stepwise R-Squared regressionols_step_both_r2 ols_step_both_r2.default plot.ols_step_both_r2
Stepwise SBC regressionols_step_both_sbc ols_step_both_sbc.default plot.ols_step_both_sbc
Stepwise SBIC regressionols_step_both_sbic ols_step_both_sbic.default plot.ols_step_both_sbic
Stepwise Adjusted R-Squared forward regressionols_step_forward_adj_r2 ols_step_forward_adj_r2.default plot.ols_step_forward_adj_r2
Stepwise AIC forward regressionols_step_forward_aic ols_step_forward_aic.default plot.ols_step_forward_aic
Stepwise forward regressionols_step_forward_p ols_step_forward_p.default plot.ols_step_forward_p
Stepwise R-Squared forward regressionols_step_forward_r2 ols_step_forward_r2.default plot.ols_step_forward_r2
Stepwise SBC forward regressionols_step_forward_sbc ols_step_forward_sbc.default plot.ols_step_forward_sbc
Stepwise SBIC forward regressionols_step_forward_sbic ols_step_forward_sbic.default plot.ols_step_forward_sbic
Bartlett testols_test_bartlett ols_test_bartlett.default
Breusch pagan testols_test_breusch_pagan
Correlation test for normalityols_test_correlation
F testols_test_f
Test for normalityols_test_normality ols_test_normality.lm
Bonferroni Outlier Testols_test_outlier
Score testols_test_score
Residual vs regressors plot for shiny apprvsr_plot_shiny
Test Data Setstepdata
Surgical Unit Data Setsurgical