Econometrics library: manual OLS + diagnostics (DW, BP, White, JB, BG), VIF, correlation, ADF
Project description
econometrics_olsandmore
Librería de econometría en Python con implementación manual:
- OLS por API
- Diagnósticos: Durbin–Watson, Breusch–Pagan, White, Jarque–Bera, Breusch–Godfrey
- Multicolinealidad: VIF
- Correlación: Pearson/Spearman
- Raíz unitaria: ADF
- Tests automatizados con unittest
Instalación (dev)
pip install -e .
Ejemplo rápido
import pandas as pd
from econometrics_olsandmore.regression import OLSModel
from econometrics_olsandmore.diagnostics import jarque_bera
X = pd.DataFrame({"x1":[1,2,3,4,5], "x2":[2,1,0,1,2]})
y = pd.Series([1,2,1.3,3.75,2.25])
model = OLSModel().fit(X, y)
print(model.result.summary())
jb = jarque_bera(model.result.residuals)
print(jb)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file econometrics_olsandmore-0.1.0.tar.gz.
File metadata
- Download URL: econometrics_olsandmore-0.1.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2874ff99d9dc9810aa905d8476b015b16f397bb2ade0730ab3aaf4791e4d1230
|
|
| MD5 |
506fceb06eaed80f3b92cd5efa32c280
|
|
| BLAKE2b-256 |
041fddcd8a4e14e85f1be8107e2af7294a983956c964d0bf8039953d12780c44
|
File details
Details for the file econometrics_olsandmore-0.1.0-py3-none-any.whl.
File metadata
- Download URL: econometrics_olsandmore-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ffed8252541fcaff0cbc2a7914514155424f104dcda6d1dd4d9dc6d8607657c
|
|
| MD5 |
051bffcc39890081c5334efe21ae141e
|
|
| BLAKE2b-256 |
6f44370287257141346293ef0fff3038b52fa26bf5454b8ffb96632644a03992
|