Pyfixest

Latest version: v0.22.0

Safety actively analyzes 640535 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 9

0.5

**IV Support**

- Includes very basic support for IV estimation with *one* endogenous variable and *one* instrument.
- Inference: iid, HC1-3, CRV1.

Syntax for IV:

python
import pyfixest as pf
import numpy as np
from pyfixest.utils import get_data

data = get_data()

fixest = pf.Fixest(data = data)
fixest.feols("Y~X1 | csw0(X2, X3) | X1 ~ Z1", vcov = {'CRV1':'group_id'})
fixest.summary()



Model: IV
Dep. var.: Y
Inference: {'CRV1': 'group_id'}
Observations: 1998

Estimate Std. Error t value Pr(>|t|)
Intercept -3.941293 0.221354 -17.805377 2.442491e-15
X1 -0.265817 0.261940 -1.014803 3.203217e-01
---

...


What's Changed
* add codecov support by s3alfisc in https://github.com/s3alfisc/pyfixest/pull/69
* update docs + explicitly drop Intercept based on column name by s3alfisc in https://github.com/s3alfisc/pyfixest/pull/71
* update inference log in vcov method closing 61 by s3alfisc in https://github.com/s3alfisc/pyfixest/pull/73
* IV Functionality by s3alfisc in https://github.com/s3alfisc/pyfixest/pull/74


**Full Changelog**: https://github.com/s3alfisc/pyfixest/compare/v0.4.0...v0.5

0.4.0

- introduces a `ssc()` function to control small sample corrections
- by default, the small sample correction defaults for iid, HC1 and CRV1 inference now match `fixest` defaults
- defaults for inference when the `vcov` argument is not specified now matches `fixest` as well. Prior, the `vcov` argument was required
- multiple smaller bug fixes
- implements CRV3 inference with and without fixed effects
- implements wild (cluster) bootstrap inference via `wildboottest`

0.3.0

Supported Features:

- Basic support for OLS.
- HC and CRV inference
- Multiple estimations via `sw` and `csw` syntax.
- Regression interaction via `i()`.
- on-the-fly SEs
- tidy, summary, iplot methods

Overview of Features: [link](https://s3alfisc.github.io/pyfixest/tutorial/)

Page 9 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.