Skip to main content

A package to preprocess data, fit models, and calculate VIF for Panel Data Regression

Project description

OLS_pipeline

A Python package to preprocess data, fit models, and calculate VIF.

Installation

You can install the package using pip:

Usage

import OLS_pipeline.pipeline as OLS_pipe

data_path = "path/to/your/data.csv"

dependent_var = 'Green Bond Issuance'
independent_vars = ['COVID_Impact_Measure', 'GDP Growth', 'Financial Development', 'Conventional Bond Issuance']
normalize_cols = ['Stringency Index', 'Covid Cases', 'Covid Death']
weight_dict = {'Stringency Index': 0.3, 'Covid Cases': 0.3, 'Covid Death': 0.4}
interaction_pairs = [('COVID_Impact_Measure', 'Financial Development')]

results = OLS_pipe.pipeline(data_path, dependent_var, independent_vars, normalize_cols, weight_dict, interaction_pairs)
fixed_effects_results, random_effects_model, vif_data = results 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panelolspipeline-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PanelOLSPipeline-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file panelolspipeline-0.1.0.tar.gz.

File metadata

  • Download URL: panelolspipeline-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for panelolspipeline-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d46edaf360ae31b0192bef6070c363562b38cd05ea2071808be4beca972b5273
MD5 76520cc34e00e5f92e866516b19ac08a
BLAKE2b-256 446257652e519daadc997d398c5746bf392137e11bd15d2844c005eb5b577069

See more details on using hashes here.

File details

Details for the file PanelOLSPipeline-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for PanelOLSPipeline-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c55857522ee24ca2b9e7079a3ee6cbfe519b1477eb3cda5cb476780c6e7f3752
MD5 d2350a48d5ed5013bf348061b77316e3
BLAKE2b-256 436e6f0755a9562e7e913da90206264fcb28479cd12ec600adbbe744b881d65d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page