Skip to main content

The olr function runs all the possible combinations of linear regressions with all of the dependent variables against the independent variable and returns the statistical summary of either the greatest adjusted R-squared or R-squared term.

datasetname = pd.read_csv('C:\Rstuff\olr\inst\extdata\oildata.csv') resvarname = datasetname[['OilPrices']] expvarnames = datasetname[['SP500', 'RigCount', 'API', 'Field_Production', 'RefinerNetInput', 'OperableCapacity', 'Imports', 'StocksExcludingSPR']]

The TRUE or FALSE in the olr function, specifies either the adjusted R-squared or the R-squared regression summary, respectfully.

Adjusted R-squared
olr(datasetname, resvarname, expvarnames, adjr2 = "True")

R-squared
olr(datasetname, resvarname, expvarnames, adjr2 = "False")

list of summaries
olrmodels(datasetname, resvarname, expvarnames)

list of formulas
olrformulas(datasetname, resvarname, expvarnames)

list of forumlas with the dependant variables in ascending order
olrformulasorder(datasetname, resvarname, expvarnames)

the list of adjusted R-squared terms
adjr2list(datasetname, resvarname, expvarnames)

the list of R-squared terms
r2list(datasetname, resvarname, expvarnames)

There is an R version of this package.

Metadata

Release files for olr 1.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for olr 1.1.9
File Size Uploaded Provenance Actions
olr-1.1.9.tar.gz 2.4 kB Without provenance Details for olr-1.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for olr 1.1.9
File Interpreter ABI Platform Actions
olr-1.1.9-py3-none-any.whl Python 3 none any Details for olr-1.1.9-py3-none-any.whl

Total release size: 20.1 kB

Release files / olr-1.1.9.tar.gz

Download URL olr-1.1.9.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1fea051055ca989657fd1bbf703cd3b341d6ed1964b94f1b987e14019ab836be
BLAKE2b-256 checksum
How to use checksums
84255db1b052af04cb16cc22a610f4cd436866cb2b7d0ddb27c325247f66c1a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Release files / olr-1.1.9-py3-none-any.whl

Download URL olr-1.1.9-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4380c05630cd5b304508e5f96ad6052e8bb28c41a11831b3ac94427745b01121
BLAKE2b-256 checksum
How to use checksums
9bf7e20ff657a46efe410eae93c9f03a64d713b97a1f357747334e7540654304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

Security for olr 1.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page