Description Usage Arguments Details Value See Also Examples
Many different figures and diagnostic plots can be created. Specify the
desired plot using the kind argument.
1 2 |
x |
A |
kind |
The type of plot to create |
... |
Additional arguments passed to subsequent plot functions |
Possible options for kind are
cateA density plot of estimated conditional average treatment effects, i.e. the causal forest predictions. The most straightforward way to look for treatment effect heterogeneity.
biasA histogram of each observation's contribution to the overall bias of the model, relative to a simple difference in means.
propensitiesA histogram of fitted propensities. The causal forest requires the assumption that we cannot deterministically tell the treatment status of an individual given its covariates. In other words, none of the propensity scores should be near zero or one.
balnum, balcatAfter accounting for propensity, covariate
distributions should be balanced between treated and control observations.
balnum plots overlaid histograms, one for treated and one for
control, of each numeric covariate. balcat plots stacked bar charts
of the proportions of each categorical covariate.
catecovarA scatter plot of estimated CATEs as a function of a certain covariate.
A plot
Other plotting methods:
plot.ate(),
plot.results(),
plot.tuning_output()
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.