I have a problem with reghdfe and reg2hdfe I hope someone here can help me with. I have a code with reg2hdfe which I want to know what is the equivalent of it is in reghdfe. the program is supposed to pre-run a regression with fixed effects and doing so, demeans the data and gives the transformed data in "tdir" so it can be used in other parts of code. specifically, the line is:
Code:
reg2hdfe Y X, id1(panelvar) id2(timevar) out(tdir) noregress
(the reason I want to do that is that I want to introduce weights. reghdfe supports weights but reg2hdfe doesn't)
0 Response to getting transformed variables in reghdfe
Post a Comment