Skip to main content

This package implements bias correction methods for models estimated using synthetic data

Project description

ValidMLInference

ValidMLInference is a Python package for estimating linear models which use synthetically generated regressors. The bias-correction methods are described in Battaglia, Christensen, Hansen & Sacher (2024).

Requirements and installation

ValidMLInference runs on Python 3.8 and requires a couple of standard numerical packages: numpy, scipy, jax, jaxopt, and numdifftools.You can install ValidMLInference by typing > pip install ValidMLInference into the terminal.

Using ValidMLInference

To get started with using the package, we recommend looking at the following examples and resources: - remote_work.ipynb this notebook contains an example of estimating the association between working from home and salaries in job postings using real-world data - synthetic_example.ipynb this notebook contains an example showing the performance of the different estimators on synthetic data - functionality.md this file contains descriptions of the functions, optional arguments, etc.

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

validmlinference-1.0.7.tar.gz (601.7 kB view details)

Uploaded Source

Built Distribution

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

validmlinference-1.0.7-py3-none-any.whl (605.8 kB view details)

Uploaded Python 3

File details

Details for the file validmlinference-1.0.7.tar.gz.

File metadata

  • Download URL: validmlinference-1.0.7.tar.gz
  • Upload date:
  • Size: 601.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for validmlinference-1.0.7.tar.gz
Algorithm Hash digest
SHA256 d83ec9f6ddfb09bc14be653e1d8dbe301e70fecd11ba7fa47e934ac1ff6ab95d
MD5 6e0af67ffe1deb3b339c8ee113db496b
BLAKE2b-256 b52a2cd7e52e32caa800bd23cf86618267f6e07061791a04ab3ffc39cc6601aa

See more details on using hashes here.

File details

Details for the file validmlinference-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for validmlinference-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 74837a3de944b274332d249e586b3768a5a59a3b006cd24a22ed22dee66ed177
MD5 9e0427d05c3252cd47d3946850c43d34
BLAKE2b-256 69b351eb57e282a2dfc3502a5a2b73613996511ff6106f3c6be6ddb8fcb857fd

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