print.tunevt {tehtuner}R Documentation

Print an object of class tunevt

Description

Prints a Virtual Twins model for the conditional average treatment effect with a tuned Step 2 model.

Usage

## S3 method for class 'tunevt'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

an object of class tunevt

digits

the number of significant digits to use when printing.

...

further arguments passed to or from other methods.

Value

An object of class "tunevt".

An object of class "tunevt" is a list containing at least the following components:

call

the matched call

vtmod

the model estimated by the given step2 procedure fit with the permuted tuning parameter for the estimated CATEs from the step1 model. See vt2_lasso, vt2_rtree, or vt2_ctree for specifics.

mnpp

the MNPP for the estimated CATEs from Step 1.

theta_null

a vector of the MNPPs from each permutation under the null hypothesis.

pvalue

the probability of observing a MNPP as or more extreme as the observed MNPP under the null hypothesis of no effect heterogeneity.

z

if keepz = TRUE, the estimated CATEs from the step1 model.


[Package tehtuner version 0.3.0 Index]