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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| olr-1.0.2.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| olr-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / olr-1.0.2.tar.gz
| Download URL | olr-1.0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0d830d15ab40845dc1b5617c1f7c8a130429f5f383889841e5fbce6bfa64927
|
|
BLAKE2b-256 checksum How to use checksums |
a7c172ffd3417a24f5b3cfed8f0c1d06f974047bc143447d7b968c584894726d
|
| 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.2-py3-none-any.whl
| Download URL | olr-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ba36a7af75e682493a4627782e7f54fd13b7d20f9db0324d27d6f166d13d325
|
|
BLAKE2b-256 checksum How to use checksums |
6a7cc6009aba7399776a56341ddd15f09483f1f768375241d12aa80848f7e340
|
| 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
|