Skip to main content

Custom utility functions.

Project description

Custom utility functions.

This package contains a collection of utility functions for empirical work in Python. It’s in progress and the API may change often.

Nostocalean includes wrappers for fixest::feglm and fixest::feols, which are accessible by running est.feglm and est.feols.

There are additional utility methods for OLS: est.reg, which returns a string regression summary, and est.treg, which returns a coefficient table.

Example: Given a dataframe df with columns x, y, group_a, group_b run a regression of y on x with group fixed effects, and double cluster:

from nostocalean import est

summary = est.reg("y ~ x | group_a + group_b", data=df, se="twoway")
print(summary)

Nostocalean also includes several utility functions, including CES and HARA

Example: To sample a utility function, run:

from nostocalean.utility_functions import get_utility_function
get_utility_function()

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

nostocalean-0.0.9.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

nostocalean-0.0.9-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file nostocalean-0.0.9.tar.gz.

File metadata

  • Download URL: nostocalean-0.0.9.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.6

File hashes

Hashes for nostocalean-0.0.9.tar.gz
Algorithm Hash digest
SHA256 02940d388389b1414cac256a8dd22da8c761d9832b2799070a37d6e63a315877
MD5 46c3a7362bb74382b1297f441c7144d5
BLAKE2b-256 f41ec8ec253dd6928580a644b95b310423467ca69f79e5f57d7eb3aee784e344

See more details on using hashes here.

File details

Details for the file nostocalean-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: nostocalean-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.6

File hashes

Hashes for nostocalean-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2e42d1874ceb709bf76f6f865351c91ad7bc490a6b2a6f0edef624e49797da2e
MD5 54d89419d0351c6ded1e024f1790a360
BLAKE2b-256 39d7fad5d2f411f2f7524a72633f3518e318fb5b83fd7476d90a7479cfe3cf41

See more details on using hashes here.

Supported by

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