Dear all,
I want to use mtreatreg command and i have categorial variables. The command i use:
mtreatreg Y X1 ib1.X2, mtreat(treatment = X1 ib1.X2 X3) sim(20) density(normal) basecat(1)
But i get this error message:
factor variables and time-series operators not allowed
r(101);
i need help to resolve this problem
Related Posts with using factor variables in command mtreatreg
Why reg conusmes more time than reghdfe in running regression on panel data?I have two codes below Code: reg dep_var indep_var i.unit i.period and Code: reghdfe dep_var ind…
Comparing the code of reg and reghdfe in a panel data ?I have two sets of code as below, I am wondering what are the differences between these two sets of …
How to track how long does it take when running a "do file" or a command?Normally I have some codes taking much time and I left the machine running by itself. But it should …
regression discontinuity- panel dataHi, I am new to rd design and analysis. I am working with a household panel data with the following …
standard and generalized versions of the nonlinear Heckman two-step approachHello everyone, for my Master's thesis, I am trying to build a gravity model following the approach…
Subscribe to:
Post Comments (Atom)
0 Response to using factor variables in command mtreatreg
Post a Comment