vsyrgkanis

Results 2 issues of vsyrgkanis

If one changes the categories and refits the final, nothing changes ```python est = LinearDML(discrete_treatment=True).fit(Y, T, X=X, cache_values=True) est.categories = [0, 1] est.refit_final() ``` The result doesn't use the categories...

bug

It seems to me that this line: https://github.com/zeileis/ivreg/blob/234b00e60c2531c9cf713043e8a10b7a965204ce/R/ivregDiagnostics.R#L291 should actually be: ```R hats[, "stage_1"] / mean1 ``` Currently because this is not divided, the stage 2 hatvalues is always the...