Closed dhvalden closed 8 months ago
Yes this looks like an error, it looks like I put the X0 and X1 matrices there instead of the Z0 and Z1 matrices (in the notation of the 2003 Abadie et al paper). The notation in the penalised paper uses X for what is Z in the 2003 paper (which this codebase uses). I will check this in more detail and make a PR to fix this.
Yes this looks like an error, it looks like I put the X0 and X1 matrices there instead of the Z0 and Z1 matrices (in the notation of the 2003 Abadie et al paper). The notation in the penalised paper uses X for what is Z in the 2003 paper (which this codebase uses). I will check this in more detail and make a PR to fix this.
I don't think it is an error per se. The min function is excluding the covariates, or more formally, assuming equal weight for all of them (is actually excluding the covariates). The results are good tho. And iirc, Abadie does not explicitly mention the covariates in that paper, so that's why I asked if it was by design. Thanks a lot anyway 😊
I have finally looked at this, and I see now that my implementation of this version of SCM is fundamentally flawed. It is not implementing the paper and needs to be re-written, I'm going to start this process now.
This is a question rather than an issue. I noticed that the penalised SC does not take into consideration the covariates means for the inner optimization. Did I miss something or is it by design?