1
0
Fork 0
mirror of https://github.com/prise6/aVirtualTwins.git synced 2024-05-01 19:52:43 +02:00
aVirtualTwins/man/VT.forest.one.Rd

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2016-10-09 02:43:51 +02:00
% Generated by roxygen2: do not edit by hand
2015-06-10 16:48:18 +02:00
% Please edit documentation in R/forest.one.R
\docType{class}
\name{VT.forest.one}
\alias{VT.forest.one}
\title{Difft by one random forest}
\description{
A reference class to compute twins via one random forest
}
\details{
\code{VT.forest.one} extends \code{VT.forest}.
2016-10-09 02:43:51 +02:00
OOB predictions are used to estimate \eqn{E(Y|T = real treatment)}. Then,
treatement is switched, it means that 1 becomes 0 and 0 becomes 1. We use
2015-06-10 16:48:18 +02:00
again \code{model} to estimate \eqn{E(Y|T = the other treatment)}. This is
what \code{computeTwin1()} and \code{computeTwin2()} functions do.
}
\section{Fields}{
\describe{
\item{\code{model}}{is a caret/RandomForest/randomForest class object}
\item{\code{interactions}}{logical set TRUE if model has been computed with interactions}
2015-06-12 00:34:25 +02:00
\item{\code{...}}{field from parent class : \code{\link{VT.forest}}}
2015-06-10 16:48:18 +02:00
}}
2015-06-10 16:48:18 +02:00
\section{Methods}{
\describe{
\item{\code{computeTwin1()}}{Compute twin1 with OOB predictions}
\item{\code{computeTwin2()}}{Compute twin2 by switching treatment and applying random forest model}
}}
2015-06-10 16:48:18 +02:00
\seealso{
\code{\link{VT.difft}}, \code{\link{VT.forest}}, \code{\link{VT.forest.double}}
}