Returns a tidy data frame of aggregated treatment effect estimates from an
aggte() result.
# S3 method for AGGTEobj
tidy(x, ...)A data frame whose columns depend on type:
the aggregation type: "simple", "dynamic",
"group", or "calendar"
label for each estimate
point estimate
standard error
t-statistic (estimate / std.error)
two-sided pointwise p-value
(2 * (1 - pnorm(abs(statistic)))).
Marginal per-estimate; does not account for multiple testing
across event times or groups.
simultaneous confidence band limits. When
bstrap=TRUE and cband=TRUE these use the bootstrap uniform
critical value (crit.val.egt); otherwise they equal the pointwise
intervals. For type="simple" and the overall average row of
type="group", a single scalar is returned so simultaneous and
pointwise coincide.
pointwise confidence interval limits
always using qnorm(1 - alp/2).
a model of class AGGTEobj produced by the aggte() function
Additional arguments to tidying method.
The key distinction between conf.low/conf.high and
point.conf.low/point.conf.high is that the former accounts for
multiple testing across all estimates (simultaneous coverage), while the
latter provides marginal (per-estimate) coverage only. Use the simultaneous
bands when you want to make joint inferences across all event times or groups.