Package: olr 1.1

Mathew Fok

olr: Optimal Linear Regression

The optimal linear regression olr(), runs all the possible combinations of linear regression equations. The olr() returns the equation which has the greatest adjusted R-squared term or the greatest R-squared term based on the user's discretion. Essentially, the olr() returns the best fit equation out of all the possible equations. R-squared increases with the addition of an explanatory variable whether it is 'significant' or not, thus this was developed to eliminate that conundrum. Adjusted R-squared is preferred to overcome this phenomenon, but each combination will still produce different results and this will return the best one. Complimentary functions are included which list all of the equations, all of the equations in ascending order, a function to give the user a specific model's summary, and the list of adjusted R-squared terms & R-squared terms. A 'Python' version is available at: <https://pypi.org/project/olr/>.

Authors:Mathew Fok

olr_1.1.tar.gz
olr_1.1.tar.gz(r-4.5-noble)olr_1.1.tar.gz(r-4.4-noble)
olr_1.1.tgz(r-4.4-emscripten)olr_1.1.tgz(r-4.3-emscripten)
olr.pdf |olr.html
olr/json (API)

# Install 'olr' in R:
install.packages('olr', repos = 'https://cloud.r-project.org')

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 128 downloads 6 exports 2 dependencies

Last updated 5 years agofrom:208b5ea018. Checks:3 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 30 2025
R-4.5-linuxOKMar 30 2025
R-4.4-linuxOKMar 30 2025

Exports:adjr2listolrolrformulaorderolrformulasolrmodelsr2list

Dependencies:plyrRcpp

Citation

To cite package ‘olr’ in publications use:

Fok M (2020). olr: Optimal Linear Regression. R package version 1.1, https://CRAN.R-project.org/package=olr.

ATTENTION: This citation information has been auto-generated from the package DESCRIPTION file and may need manual editing, see ‘help("citation")’.

Corresponding BibTeX entry:

  @Manual{,
    title = {olr: Optimal Linear Regression},
    author = {Mathew Fok},
    year = {2020},
    note = {R package version 1.1},
    url = {https://CRAN.R-project.org/package=olr},
  }

Readme and manuals

Help Manual

Help pageTopics
olr: Optimal Linear Regressionadjr2list olr olrformulaorder olrformulas olrmodels r2list