Open kalashnov opened 9 months ago
I agree with this comment. I will try to find the time to do it in the following weeks. You already get the "correct" results simply by multiplying all the effects by -1 (or by multiplying the outcome by -1). I also need to add an option for the definition of the counterfactual outcome (X from group 0 and coefficients from group 1, or the opposite).
I just want to point out, that defining
$$QE(\tau) = Q{<0,0>} - Q{<1,1>}$$ Is very confusing and breaks the usual convention people use, when considering treatment effects:
$$\tau = \mathbb{E}[Y(1)] - \mathbb{E}[Y(0)]$$
https://github.com/bmelly/Stata/blob/b718c3f252b4729c0f04325dc04f4986be2b78ad/cdeco.ado#L200
This leads to code output, which can seem counterintuitive at first, eg consider the following code and output:
E.g. consider the following code and it's output:
(Falsely) assuming that the difference in observed distribution is
black=1 - black=0
give a (wrong) result that black wages FOSD white wagesAlso the convention used in this package is not alligned with other packages in this repository and with the main paper:
It is also not consistent with analogous result from qrprocess package:
Shouldn't the convention in cdeco package be changed?