Graphical analysis of structural causal models / graphical causal models.
GNU General Public License v2.0
255
stars
47
forks
source link
localTests throws error in cov2cor(data) : 'V' is not a square numeric matrix when used with covariance matrix and sample (and without data) #89
Open
tomvojtisek opened 5 months ago
The issue is caused by improper use of data in https://github.com/jtextor/dagitty/blob/4c30acd53b9cd0e88e4f5c92e68cb256319596a6/r/R/dagitty.R#L1806 I believe this should instead be cov2cor(sample.cov)