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.0.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.0.9
File Size Uploaded Provenance Actions
olr-1.0.9.tar.gz 4.8 kB Without provenance Details for olr-1.0.9.tar.gz

Built distribution (wheel)

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

Total release size: 22.5 kB

Release files / olr-1.0.9.tar.gz

Download URL olr-1.0.9.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1039e96850dc5c303c91daf6fa60de9a56a9be1c65932be2334e0fa4f6ffe316
BLAKE2b-256 checksum
How to use checksums
c579a38d135139c7bd43f6c92fc34b3249dd455f0b18d4c83419dd3f0a205fa7
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.0.9-py3-none-any.whl

Download URL olr-1.0.9-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01e9a6e9710213a2d75af6dcb12659df1ff6adf882d356ceed7ccbce0031da29
BLAKE2b-256 checksum
How to use checksums
be9c3a6b234862a31a6c93d935fdd469c7ff3f7b2e748449f6b5e72aae2233e2
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.0.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.0.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