Commit 2fb76b3
Fix small sample correction handling for HAC (#1045)
* new clean branch for the draft PR
* clarify origin of default lags
* multiple smaller fixes
* commit to allow merge
* updated NW Meat function to match fixest implementation
* Newey-West complete. Tests and documentation pending
* pass function attributes along, force _nw_meat to work on arrays only (else numba does not compile)
* add basuc unit tests for HAC
* fix test bug?
* one more fix
* fix more bugs
* fix tests
* pacify mypy'
* test for errors
* add test for update
* update type hints for lags
* rename arg from lags to lag for compatibility with fixest
* require lag, time_id for HAC
* panel HAC first PR
* added balance function
* allow for non-balances panel and non-consecutive data
* _dk_meat added. documentation and tests are pending
* fix indentation error & njit & linter & mypy
* prepare tests for non-consecutive implementation
* good speed ups of time series hac
* fixed everything and added fixef_maxiter everywhere
* more numba for DK
* code reorg + check for unique time and panel
* more adjustment to new syntax
* update get_panel_idx
* tests for fepois, glm
* ar 1 errors
* add unrelated test error
* fix test bugs
* compure panel hac on scores, fix bugs for glms, support glms
* update readme
* update tests
* fix linter
* some progress ssc
* pre commit
* fix HAC ssc
* fix
* delete print statements
---------
Co-authored-by: Daman Dhaliwal <[email protected]>1 parent d1bd01a commit 2fb76b3
File tree
4 files changed
+18
-41
lines changed- pyfixest
- estimation
- utils
- tests
4 files changed
+18
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | 693 | | |
710 | | - | |
711 | | - | |
| 694 | + | |
| 695 | + | |
712 | 696 | | |
713 | 697 | | |
714 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
715 | 701 | | |
716 | 702 | | |
717 | 703 | | |
718 | | - | |
| 704 | + | |
719 | 705 | | |
720 | 706 | | |
721 | 707 | | |
| |||
770 | 756 | | |
771 | 757 | | |
772 | 758 | | |
773 | | - | |
| 759 | + | |
774 | 760 | | |
775 | 761 | | |
776 | 762 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
| 230 | + | |
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
274 | 277 | | |
275 | 278 | | |
276 | 279 | | |
| |||
279 | 282 | | |
280 | 283 | | |
281 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
282 | 288 | | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
313 | | - | |
314 | 315 | | |
315 | 316 | | |
| 317 | + | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
| |||
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
324 | | - | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
0 commit comments