dml_ensemble_rf {DMLLZU} R Documentation

## dml_ensemble_rf

### Description

As an important integrated learning method, stacking consists of at least two layers of structure, including a primary learner and a secondary learner or a meta-learner used to combine the learner. Stacking first trained the primary learner from the initial data set, and then generated a new data set used to train the secondary learner, in this data set, the output of the primary learner is taken as the sample input characteristics, and the initial sample mark is still taken as the sample mark.Integrate the four basic model through random forest

### Usage

dml_ensemble_rf(y,x,d,data,sed)


### Arguments

 y,x,d,data,sed

### Value

y Dependent variable;

d Independent variable;

x Control variable;

sed A random seed;

data Data

### Author(s)

Lixiong Yang<ylx@lzu.edu.cn>; Junchang Zhao <zhaojch19@lzu.edu.cn>

### References

Jui-Chung Yang,,Hui-Ching Chuang & Chung-Ming Kuan.(2020).Double machine learning with gradient boosting and its application to the Big N audit quality effect. Journal of Econometrics(1),.doi:10.1016/j.jeconom.2020.01.018 Victor Chernozhukov,,Denis Chetverikov,,Mert Demirer,... & James Robins.(2018).Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal(1),. doi:10.3386/w23564.

help

### Examples

library(ISLR)
attach(Auto)
data<- Auto
y <- data$mpg #Dependent variable d <- data$origin   #Independent variable
x="weight+year +horsepower"      #Control variables;

dml_ensemble_rf(y,x,d,data,sed=123)


[Package DMLLZU version 0.1.1 Index]