mattblackwell / DirectEffects

An R package for estimating controlled direct effects.
https://mattblackwell.github.io/DirectEffects/
18 stars 5 forks source link

Error in summary.seqg with singularity in first stage #9

Open mattblackwell opened 3 years ago

mattblackwell commented 3 years ago

When there is a singularity in the first-stage of sequential_g(), summary() errors out ungracefully:

Error in Fhat %*% R1 %*% t(efun1) : non-conformable arguments