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 0.0.7

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 0.0.7
File Size Uploaded Provenance Actions
olr-0.0.7.tar.gz 2.3 kB Without provenance Details for olr-0.0.7.tar.gz

Built distribution (wheel)

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

Total release size: 17.6 kB

Release files / olr-0.0.7.tar.gz

Download URL olr-0.0.7.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
87978993b512acc6984c4dcde37b8e05b33250d61a1201eca1902723795d6577
BLAKE2b-256 checksum
How to use checksums
eabae75d45ab025015fedb01fce38c4b3f7a12519561ef4bd48fe7dd04e6889d
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-0.0.7-py3-none-any.whl

Download URL olr-0.0.7-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee5deb36d895636580cfeee55e4f47c5bb346169bf47af1cf8280a620ff9a15b
BLAKE2b-256 checksum
How to use checksums
ecb44044749e7aeb92b2f6d3b096ecd03c8aee9487a8fa3d1d1e62a1bfd327f4
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 0.0.7

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

0.0.7 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