dbarts
dbarts copied to clipboard
Discrete Bayesian Additive Regression Trees Sampler
I'm trying to install dbarts with R 4.2.2 (and GCC 12.2.0, using [EasyBuild](https://easybuild.io)) on an AWS Arm-based VM, but on both Neoverse N1 and V1 CPUs I'm getting the following...
'predict' for bart models fails with an error message if a categorical variable has only one level in 'newdata' (which is common in our line of work). Here's a reproducible...
To implement BART models with hyperpriors on splitting probabilities, for example as in Linero (2018), it is necessary to update the splitting probability in each MCMC iteration. It would be...
``` ar rv ../dbarts.a bartFit.o binaryIO.o birthDeathRule.o changeRule.o functions.o likelihood.o node.o parameterPrior.o state.o swapRule.o tree.o treePrior.o ar: creating archive ../dbarts.a a - bartFit.o a - binaryIO.o a - birthDeathRule.o a...
I recently came across [this paper](https://onlinelibrary.wiley.com/doi/abs/10.1002/for.2587) that talks about how well BART performs with panel data. I always thought of BART as a cross sectional method. **Am I wrong?**. I...
``` R version 4.2.3 (2023-03-15) -- "Shortstop Beagle" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: powerpc-apple-darwin10.8.0 (32-bit) > Sys.unsetenv("R_TESTS") > if (require(testthat, quietly = TRUE)) { +...
Suppose we are fitting a normal BART model using a `dbarts` sampler and we know the true residual variance is equal to one. When I specify `resid.prior = fixed(1)`, it...
I'm curious if there is a good way to thin a `dbartsSampler` that exists a part of a larger custom MCMC. The existing `n.thin` argument to `dbartsControl` applies the thinning...
Thank you for the great work on **`dbarts`**! I've seen this behavior on multiple datasets and it seems counterintuitive; but I might be overlooking something: ````{r} ## example from function...
Hi, I've been working with the rbart_vi function and encountered an issue when making predictions with out-of-sample groups in the test. After reviewing the code, I've identified that the error...