Description Usage Arguments Details Value
View source: R/cfsens_cf_pac.R
Obtains predictive intervals on a test dataset based on
an cfpac
object from link{cfsens_cf_pac}
.
1 2 3 4 5 6 7 8 9 10 11 |
obj |
an object of class |
X_test |
testing covariates. |
estimand |
the inferential target that takes value in {"treated", "control"}. See details. |
type |
the type of inference target. Takes value in {"ate", "att", "atc"}. See details. |
When type = "treated"
, predictive intervals for Y(1)
are constructed; when type = "control"
, predictive intervals
for Y(0) are constructed.
When type = "ate"
, the inference is valid unconditionally;
when type = "att"
, the inference is valid conditional on T=1, and
Y1_test
should be provided;
when type = "atc"
, the inference is valid conditional on T=0, and
Y0_test
should be provided.
predictive intervals. A data.frame that contains nrow(X_test)
rows and
two columns: "Y_hi" refers the upper bound and "Y_lo"
the lower bound.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.