Closed MartinHaus1993 closed 1 year ago
Hi Martin,
Thanks for the question, and thanks for using the package!
I think the issue is that for the BLM variance decomposition, weighting actually doesn't make sense. Unfortunately at the moment there isn't an option to specify whether to run a weighted/unweighted variance decomposition for BLM, but you can get around this by:
w1
/w2
, orWhat happens if you do these?
Best, Adam
Hi Adam,
Thanks for the quick response! You are right. If I manually set all weights to 1 before running the variance decomposition the residual and tw.Q.VarAlpha() have the same value.
Thanks a lot for looking into this!
Best wishes, Martin
Hi there,
I have a quick question regarding the BLM estimator. The example notebook ( https://tlamadon.github.io/pytwoway/notebooks/blm_example.html ) notes that
I might be missing something here, but I guess this only holds if there are no interaction effects (see the BLM paper p.704)? I have no additional controls and just checked if I add tw.Q.VarAlpha() to Q_var when calling the fit function, the var(alpha) differs from the residual - which makes sense unless some additional restrictions are met?
But I might be missing something here!
Thanks, Martin