Repository navigation
Covtype hacpanel groups - #3162
Conversation
|
this should be pretty safe because it just adds an option and doesn't change current behavior. |
|
technical detail (the ducks): time needs to be ordered, comparison is diff(time) < 0, this could be weakened to work without the diff, i.e. to a reduction in time groups only need to define "not equal" |
| use_correction='hac', | ||
| df_correction=False) | ||
| cls.res1 = mod1.fit(cov_type='hac-panel', cov_kwds=kwds) | ||
| cls.res1b = mod1.fit(cov_type='nw-panel', cov_kwds=kwds) |
There was a problem hiding this comment.
this is an unused estimation
|
I cleaned up the unit test, and changed the groups identification using time as in last comment. should be ready when green |
|
all green, merging |
…roups ENH: cov_type hac_panel allow groups
| a timeseries of an individual or group can be either specified by | ||
| group indicators or by increasing time periods. | ||
|
|
||
| - `time` array_like (required) : index of time periods |
There was a problem hiding this comment.
Pls avoid names that can be confused for built-ins or stdlib.
closes #3155
cov_type='hac_panel'allow groups instead of time to specify panel unitsadds also case insensitivity to cov_type keyword
I didn't check if `hac-groupsum' can be similarly changed. Without checking the details again, I think it's not possible because we need the time index to aggregate for contemporaneous correlation.