vdorie / bartCause

Causal Inference using Bayesian Additive Regression Trees
71 stars 10 forks source link

Error in extract.bartcFit(object, "sigma", combineChains = FALSE) #10

Closed cls3415 closed 2 years ago

cls3415 commented 2 years ago

Hi Vincent- When I ran summary function to bartcFit object I got the following error message: binary response model does not have a residual standard deviation parameter (sigma)

My fit result is as follow:

Call:
bartc(response = dat2$RESPONSE, treatment = dat2$TREAT1, 
      confounders = dat2[, var1], commonSup.rule = "sd", seed = 100223, 
      n.chains = 5L)

Treatment effect (ate, cate): -0.06885

Any helps are appreciated!

Thanks!

vdorie commented 2 years ago

Thanks! Fixed in 0a02002.