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.8.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

nostocalean-0.0.8-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nostocalean-0.0.8.tar.gz
  • Upload date:
  • Size: 4.9 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.8.tar.gz
Algorithm Hash digest
SHA256 0db7bbf0b6088699a482bb188617de4aac4fd8924f5bfb6799c88badec55e243
MD5 2d997934f9bba57172dfba3fefb2d9d2
BLAKE2b-256 6c2185484fbb657544b8ca1cd84b00a4aa51bf3011434f3f3b14be0eefac7d62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nostocalean-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 17bf79152f97a6abefb82ece4669514abb04df65aa912e6e338ab2854ba213eb
MD5 dbfd7c894e50b2c0a71d52cae2f574cd
BLAKE2b-256 da6bb09f344a382acddb61cfa527be4f0a7cba54ec96040e11bcda92007dd3cc

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