CovRegRF

R package which implements Covariance Regression with Random Forests (CovRegRF).

CovRegRF is a random forest method for estimating the covariance matrix of a multivariate response Y, given a set of covariates X. The forest trees are built with a splitting rule specifically designed to partition the data to maximize the distance between the sample covariance matrix estimates of the child nodes.

For theoretical details and example data analysis, you can look at the vignette from within R by using the following command:

vignette("CovRegRF")

Installation

The package CovRegRF can be installed from GitHub using the devtools package. Run the following code in R to install:

if (!require(devtools)) {
  install.packages("devtools")
  library(devtools)
}
devtools::install_github('calakus/CovRegRF', build_vignettes = TRUE)

References