Package: olsrr 0.6.1
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:
olsrr_0.6.1.tar.gz
olsrr_0.6.1.tar.gz(r-4.5-noble)olsrr_0.6.1.tar.gz(r-4.4-noble)
olsrr_0.6.1.tgz(r-4.4-emscripten)olsrr_0.6.1.tgz(r-4.3-emscripten)
olsrr.pdf |olsrr.html✨
olsrr/json (API)
NEWS
# Install 'olsrr' in R: |
install.packages('olsrr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rsquaredacademy/olsrr/issues
Last updated 15 days agofrom:11b00a7edd. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-linux | OK | Nov 07 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.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2020-02-10
Started: 2017-05-11
Heteroscedasticity
Rendered fromheteroskedasticity.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2020-02-10
Started: 2017-05-11
Introduction to olsrr
Rendered fromintro.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2020-02-10
Started: 2017-05-11
Measures of Influence
Rendered frominfluence_measures.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2024-02-13
Started: 2017-05-11
Media
Rendered fromreference-media.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2020-02-10
Started: 2017-12-05
Residual Diagnostics
Rendered fromresidual_diagnostics.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2020-02-10
Started: 2017-05-11
Variable Selection Methods
Rendered fromvariable_selection.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2024-02-13
Started: 2017-05-11
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Akaike information criterion | ols_aic |
Amemiya's prediction criterion | ols_apc |
Collinearity diagnostics | ols_coll_diag ols_eigen_cindex ols_vif_tol |
Part and partial correlations | ols_correlations |
Final prediction error | ols_fpe |
Hadi's influence measure | ols_hadi |
Hocking's Sp | ols_hsp |
Launch shiny app | ols_launch_app |
Leverage | ols_leverage |
Mallow's Cp | ols_mallows_cp |
MSEP | ols_msep |
Added variable plots | ols_plot_added_variable |
Residual plus component plot | ols_plot_comp_plus_resid |
Cooks' D bar plot | ols_plot_cooksd_bar |
Cooks' D chart | ols_plot_cooksd_chart |
DFBETAs panel | ols_plot_dfbetas |
DFFITS plot | ols_plot_dffits |
Diagnostics panel | ols_plot_diagnostics |
Hadi plot | ols_plot_hadi |
Observed vs fitted values plot | ols_plot_obs_fit |
Simple linear regression line | ols_plot_reg_line |
Residual box plot | ols_plot_resid_box |
Residual vs fitted plot | ols_plot_resid_fit |
Residual fit spread plot | ols_plot_fm ols_plot_resid_fit_spread ols_plot_resid_spread |
Residual histogram | ols_plot_resid_hist |
Studentized residuals vs leverage plot | ols_plot_resid_lev |
Potential residual plot | ols_plot_resid_pot |
Residual QQ plot | ols_plot_resid_qq |
Residual vs regressor plot | ols_plot_resid_regressor |
Standardized residual chart | ols_plot_resid_stand |
Studentized residual plot | ols_plot_resid_stud |
Deleted studentized residual vs fitted values plot | ols_plot_resid_stud_fit |
Response variable profile | ols_plot_response |
Predicted rsquare | ols_pred_rsq |
Added variable plot data | ols_prep_avplot_data |
Cooks' D plot data | ols_prep_cdplot_data |
Cooks' d outlier data | ols_prep_cdplot_outliers |
DFBETAs plot data | ols_prep_dfbeta_data |
DFBETAs plot outliers | ols_prep_dfbeta_outliers |
Deleted studentized residual plot data | ols_prep_dsrvf_data |
Cooks' D outlier observations | ols_prep_outlier_obs |
Regress predictor on other predictors | ols_prep_regress_x |
Regress y on other predictors | ols_prep_regress_y |
Residual fit spread plot data | ols_prep_rfsplot_fmdata ols_prep_rfsplot_rsdata |
Studentized residual vs leverage plot data | ols_prep_rstudlev_data |
Residual vs regressor plot data | ols_prep_rvsrplot_data |
Standardized residual chart data | ols_prep_srchart_data |
Studentized residual plot data | ols_prep_srplot_data |
PRESS | ols_press |
Lack of fit F test | ols_pure_error_anova |
Ordinary least squares regression | ols_regress ols_regress.lm |
Bayesian information criterion | ols_sbc |
Sawa's bayesian information criterion | ols_sbic |
All possible regression | ols_step_all_possible ols_step_all_possible.default plot.ols_step_all_possible |
All possible regression variable coefficients | ols_step_all_possible_betas |
Stepwise Adjusted R-Squared backward regression | ols_step_backward_adj_r2 ols_step_backward_adj_r2.default plot.ols_step_backward_adj_r2 |
Stepwise AIC backward regression | ols_step_backward_aic ols_step_backward_aic.default plot.ols_step_backward_aic |
Stepwise backward regression | ols_step_backward_p ols_step_backward_p.default plot.ols_step_backward_p |
Stepwise R-Squared backward regression | ols_step_backward_r2 ols_step_backward_r2.default plot.ols_step_backward_r2 |
Stepwise SBC backward regression | ols_step_backward_sbc ols_step_backward_sbc.default plot.ols_step_backward_sbc |
Stepwise SBIC backward regression | ols_step_backward_sbic ols_step_backward_sbic.default plot.ols_step_backward_sbic |
Best subsets regression | ols_step_best_subset ols_step_best_subset.default plot.ols_step_best_subset |
Stepwise Adjusted R-Squared regression | ols_step_both_adj_r2 ols_step_both_adj_r2.default plot.ols_step_both_adj_r2 |
Stepwise AIC regression | ols_step_both_aic ols_step_both_aic.default plot.ols_step_both_aic |
Stepwise regression | ols_step_both_p ols_step_both_p.default plot.ols_step_both_p |
Stepwise R-Squared regression | ols_step_both_r2 ols_step_both_r2.default plot.ols_step_both_r2 |
Stepwise SBC regression | ols_step_both_sbc ols_step_both_sbc.default plot.ols_step_both_sbc |
Stepwise SBIC regression | ols_step_both_sbic ols_step_both_sbic.default plot.ols_step_both_sbic |
Stepwise Adjusted R-Squared forward regression | ols_step_forward_adj_r2 ols_step_forward_adj_r2.default plot.ols_step_forward_adj_r2 |
Stepwise AIC forward regression | ols_step_forward_aic ols_step_forward_aic.default plot.ols_step_forward_aic |
Stepwise forward regression | ols_step_forward_p ols_step_forward_p.default plot.ols_step_forward_p |
Stepwise R-Squared forward regression | ols_step_forward_r2 ols_step_forward_r2.default plot.ols_step_forward_r2 |
Stepwise SBC forward regression | ols_step_forward_sbc ols_step_forward_sbc.default plot.ols_step_forward_sbc |
Stepwise SBIC forward regression | ols_step_forward_sbic ols_step_forward_sbic.default plot.ols_step_forward_sbic |
Bartlett test | ols_test_bartlett ols_test_bartlett.default |
Breusch pagan test | ols_test_breusch_pagan |
Correlation test for normality | ols_test_correlation |
F test | ols_test_f |
Test for normality | ols_test_normality ols_test_normality.lm |
Bonferroni Outlier Test | ols_test_outlier |
Score test | ols_test_score |
Residual vs regressors plot for shiny app | rvsr_plot_shiny |
Test Data Set | stepdata |
Surgical Unit Data Set | surgical |