Skip to contents

Runs the data-generating and inquiry steps only, not the estimators.

Usage

draw_estimands(design, ...)

draw_estimand(design, ...)

Arguments

design

(required) A design.

...

(optional) Named parameter values, as in redesign(). Each supplies one value: use redesign() itself to sweep over several. A parameter named design, or any prefix of it, cannot be supplied this way and needs the redesign() route.

Value

A tibble with columns inquiry and estimand, one row per inquiry.

See also

Examples

design <- declare_model(N = 25, U = rnorm(N), Y = U) +
  declare_inquiry(mu = mean(Y))
draw_estimands(design)
#> # A tibble: 1 × 2
#>   inquiry estimand
#>   <chr>      <dbl>
#> 1 mu         0.452