Prints a summary of the estimates from a multiMatch object

# S3 method for multiMatch
print(x, ...)

Arguments

x

object of class "multiMatch"

...

dots

Examples

sim_data <- multilevelMatching::simulated_data Y <- sim_data$outcome W <- sim_data$treatment X <- as.matrix(sim_data[ ,-(1:2)]) names(Y) <- paste0("ID", 1:length(Y)) trimming <- FALSE method <- c("covariates", "polr", "multinom")[2] fit <- multiMatch(Y,W,X,trimming=trimming,match_on=method) print(fit)
#> -------------- Causal estimates --------------- #> Param Trt1 Trt2 Estimate Variance #> 1 EY(2)-EY(1) 1 2 -0.7303810 0.7261450 #> 2 EY(3)-EY(1) 1 3 0.3711491 0.5966005 #> 3 EY(3)-EY(2) 2 3 1.1015301 0.9743341 #> --- Matching on 'polr' with M=1, J=1 ---