Releases: rsquaredacademy/olsrr
olsrr 0.6.1
This is a patch release for urgent bug fixes.
Bug Fixes
- Limit maximum subset order in
ols_step_all_possible()
(#202) - Check model type (#204)
- Mismatch in column names in
ols_step_all_possible()
(#211) - RMSE is not square root of MSE in
ols_regress()
(#213) geom_segment()
warning inols_plot_obs_fit()
(#217)- New snapshot added every time tests are run (#218)
olsrr 0.6.0
This is a minor release for bug fixes and other enhancements.
Enhancements
- force variables to be included or excluded from the model at all stages of variable selection
- variable selection methods allow use of the following metrics:
- p value
- akaike information criterion (aic)
- schwarz bayesian criterion (sbc)
- sawa bayesian criterion (sbic)
- r-square
- adjusted r-square
- hierarchical selection can be enabled when using
p
values as variable selection metric - choose threshold for determining influential observations in
ols_plot_dffits()
Bug Fixes
- allow users to specify threshold for detecting outliers (#178)
- if
ols_test_outlier()
does not find any outliers, it returns largest positive residual instead of largest absolute residual (#177) - using
ols_step_all_possible()
with Model created from dynamic function leads to"Error in eval(model$call$data) . . . not found"
(#176) ols_step_both_p(): Error in if (pvals[minp] <= pent) {: argument is of length zero
(#175)- handle extremely significant variables (#173)
ols_correlations()
returns error for models with 2 predictors (#168)ols_step_both_aic()
doesn't return model (#167)ols_regress()
returned residual standard error instead of RMSE (@jens-daniel-mueller, #165)- extracting model data (#159)
- ols_plot_resid_stud() fails to plot outliers due to y-axis range (#155)
- ols_correlations error (#191)
- mallow's Cp behaves inconsistently depending on model specification (#196)
- ols_step_forward_p(...) problem using the funtion ols_step_forward_p (#200)
- output of the command "ols_step_both_aic" doesn't contain final model (#201)
olsrr 0.5.3
olsrr 0.5.3
This is a patch release to reduce the number of packages imported and
fix other CRAN errors.
New Features
- Bonferroni outlier test (#129)
Breaking Changes
The following functions will now require the variable names to be enclosed within quotes
ols_test_bartlett()
ols_plot_resid_regressor()
olsrr 0.5.2
This is a minor release to fix a bug resulting from breaking changes in recipes package
and other enhancements.
Enhancements
v0.5.1
This is a patch release to fix minor bugs and improve error messages.
Enhancements
olsrr now throws better error messages keeping in mind beginner and intermediate R users. It is
a work in progress and should get better in future releases.
Bug Fixes
Variable selection procedures based on p values now handle categorical variables in the
same way as the procedures based on AIC values.
olsrr 0.5.0
This is a minor release for bug fixes and API changes.
API Changes
We have made some changes to the API to make it more user friendly:
- all the variable selection procedures start with
ols_step_*
- all the test start with
ols_test_*
- all the plots start with
ols_plot_*
Bug Fixes
olsrr 0.4.2
This is a patch release for an urgent bug fix.
Bug Fixes
- ols_regress returns error in the presence of interaction terms in the formula (#49)
olsrr 0.4.1
This is a patch release for an urgent bug fix.
Bug Fixes
- ols_regress returns error in the presence of interaction terms in the formula (#47)
olsrr 0.4.0
Enhancements
- use
ols_launch_app()
to launch a shiny app for building models - save beta coefficients for each independent variable in
ols_all_subset()
(#41)
Bug Fixes
- mismatch in sign of partial and semi partial correlations (#44)
- error in diagnostic panel (#45)
- standardized betas in the presence of interaction terms (#46)
A big thanks goes to (Dr. Kimberly Henry) for
identifying bugs and other valuable feedback that helped improve the package.
olsrr 0.3.0
This is a minor release containing bug fixes.
Bug Fixes
- output from reg_compute rounded up to 3 decimal points (#24)
- added variable plot fails when model includes categorical variables (#25)
- all possible regression fails when model includes categorical predictors (#26)
- output from bartlett test rounded to 3 decimal points (#27)
- best subsets regression fails when model includes categorical predictors (#28)
- output from breusch pagan test rounded to 4 decimal points (#29)
- output from collinearity diagnostics rounded to 3 decimal points (#30)
- cook's d bar plot threshold rounded to 3 decimal points (#31)
- cook's d chart threshold rounded to 3 decimal points (#32)
- output from f test rounded to 3 decimal points (#33)
- output from measures of influence rounded to 4 decimal points (#34)
- output from information criteria rounded to 4 decimal points (#35)
- studentized residuals vs leverage plot threshold rounded to 3 decimal points (#36)
- output from score test rounded to 3 decimal points (#37)
- step AIC backward method AIC value rounded to 3 decimal points (#38)
- step AIC backward method AIC value rounded to 3 decimal points (#39)
- step AIC both direction method AIC value rounded to 3 decimal points (#40)