Computes a coefficient table with estimates,
standard errors, z-values, and p-values for all
ensemble types. Standard errors are based on a
heteroskedasticity-robust sandwich variance; see
vcov.ral for the HC0/HC1/HC3 formulas.
Value
An object of class summary.ddml with:
coefficientsA 3-dimensional array (\(p \times 4 \times\) nensb) of estimates, standard errors, z-values, and p-values.
typeThe HC type used.
nobsNumber of observations.
sample_foldsNumber of cross-fitting folds.
ensemble_typeEnsemble type labels.
Examples
# \donttest{
y = AE98[, "worked"]
D = AE98[, "morekids"]
X = AE98[, c("age","agefst","black","hisp","othrace")]
plm_fit = ddml_plm(y, D, X,
learners = list(what = ols),
sample_folds = 2, silent = TRUE)
summary(plm_fit)
#> DDML estimation: Partially Linear Model
#> Obs: 5000 Folds: 2
#>
#> Estimate Std. Error z value Pr(>|z|)
#> D1 -0.15376 0.01471 -10.45 <2e-16 ***
#> (Intercept) -0.00011 0.00690 -0.02 0.99
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
summary(plm_fit, type = "HC3")
#> DDML estimation: Partially Linear Model
#> Obs: 5000 Folds: 2 SE: HC3
#>
#> Estimate Std. Error z value Pr(>|z|)
#> D1 -0.15376 0.01472 -10.45 <2e-16 ***
#> (Intercept) -0.00011 0.00690 -0.02 0.99
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
# }