Skip to main content

A Python package for empirical asset pricing analysis.

Project description

AnomalyLab

Authors

Chen Haiwei, Deng Haotian

Overview

This Python package implements various empirical methods from the book Empirical Asset Pricing: The Cross Section of Stock Returns by Turan G. Bali, Robert F. Engle, and Scott Murray. The package includes functionality for:

  • Summary statistics
  • Correlation analysis
  • Persistence analysis
  • Portfolio analysis
  • Fama-MacBeth regression (FM regression)

Additionally, we have added several extra features, such as:

  • Missing value imputation
  • Data normalization
  • Leading and lagging variables
  • Winsorization/truncation
  • Transition matrix calculation

Installation

The package can be installed via:

pip install anomalylab

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

anomalylab-0.3.5.tar.gz (16.0 MB view details)

Uploaded Source

File details

Details for the file anomalylab-0.3.5.tar.gz.

File metadata

  • Download URL: anomalylab-0.3.5.tar.gz
  • Upload date:
  • Size: 16.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.15

File hashes

Hashes for anomalylab-0.3.5.tar.gz
Algorithm Hash digest
SHA256 4ca34906aa713fd35e8d22edd680bc1c30eb7a4f918481b1396672a24f766dfc
MD5 0401a0f8c9eb14b6eb7763d9e3e077ad
BLAKE2b-256 f3cce9678a596b1fea7f8610817b1f0271b90e3ea4ff9d6f9fc5deec31cfcf32

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