- To incorporate weights into softBART used for heteroskedastic model.
- To embed the softBART into a larger model without auto-updating variance parameters.
- Add more flexibilities in MCMC.
To install the package, if you are a mac OSX user, you should install the gfortran library from here first, otherwise, you simply install as follows:
library(devtools)
install_github("yizenglistat/wsBART")
Assume that Yi= f(x) + εi with εi follows a normal distribution with mean 0 and variance σ2/wi, for i=1,...,N. Here w1/2's are our weight vector in the package.
Note you could still recover the original SoftBart functionality without feeding the weights into it or set the weights to be ones.