Description Usage Arguments Details Value Author(s)
View source: R/parseTreeSums.R
The parseTreeSums function transforms the fitted BART-BMA object into a set of linear models as follows from section 3.1 in Hernandez, Belinda & Raftery, Adrian & Pennington, Stephen & Parnell, Andrew. (2017). Bayesian Additive Regression Trees using Bayesian Model Averaging. Statistics and Computing. 28. 10.1007/s11222-017-9767-1.
1 | parseTreeSums(bart_bma)
|
model |
a fitted BART-BMA object |
Represent a fitted regression or classification tree as an ANOVA model
Following the notation in section 3.1
O - list of stacked terminal node parameters for trees within the sum
W - the big ANOVA design matrix combining all the individual ANOVAs to represent the sum-of-trees model
anovas - a list comprising of the individual design matrices that make up W
Ian Frankenburg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.