Skip to content

Commit

Permalink
change packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardodionisi committed Dec 9, 2023
1 parent 9e429e5 commit 53cac24
Show file tree
Hide file tree
Showing 63 changed files with 3 additions and 8,619 deletions.
11 changes: 0 additions & 11 deletions .readthedocs.yaml

This file was deleted.

19 changes: 3 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@ att_gt.fit(formula='y')
att_gt.aggregate('event')
```

*differences* ATTgt benefitted substantially from the original authors' R packages: Callaway & Sant'Anna's [did](https://github.com/bcallaway11/did) and Sant'Anna and
Zhao's [DRDID](https://github.com/pedrohcgs/DRDID)

> **_NOTE:_** Important note on performance ! Currently, the ATTgt class allows users to pass string entity identifiers, as in the example with `df = simulate_data()` above, where the first index containing the entity identifiers is a string datatype. Note that the performance of the ATT computation (when calling `.fit()`) would improve greatly if you cast the entities to integers before initializing ATTgt. You can easily do that just by using pandas category codes.
### TWFE

```python
from differences import TWFE, simulate_data

df = simulate_data()

twfe = TWFE(data=df, cohort_name='cohort')

twfe.fit(formula='y')
```
*differences* ATTgt benefited from
- Callaway & Sant'Anna's [did](https://github.com/bcallaway11/did)
- Sant'Anna and Zhao's [DRDID](https://github.com/pedrohcgs/DRDID)
45 changes: 0 additions & 45 deletions differences/tests/_attgt.py

This file was deleted.

23 changes: 0 additions & 23 deletions differences/tests/_twfe.py

This file was deleted.

74 changes: 0 additions & 74 deletions differences/tests/_utility.py

This file was deleted.

Binary file removed differences/tests/r_did_results
Binary file not shown.
119 changes: 0 additions & 119 deletions differences/tests/test_attgt.py

This file was deleted.

26 changes: 0 additions & 26 deletions differences/tests/test_twfe.py

This file was deleted.

Empty file.
57 changes: 0 additions & 57 deletions differences/tools/r_install.py

This file was deleted.

5 changes: 0 additions & 5 deletions doc/requirements.txt

This file was deleted.

3 changes: 0 additions & 3 deletions doc/source/_static/css/custom.css

This file was deleted.

Loading

0 comments on commit 53cac24

Please sign in to comment.