Normal {adestr} | R Documentation |
This function creates an object representing the distributional assumptions
of the data: normally distributed outcomes sample from a trial with
one or two arms (depending on the value of the parameter two_armed
),
under the assumption of known variance.
Normal(two_armed = TRUE)
two_armed |
(logical) determines whether one or two-armed trials are assumed. |
an object of class Normal
. This object encodes the distributional
assumptions of the data for usage in the functions
evaluate_estimator
and analyze
.
evaluate_estimator(
score = MSE(),
estimator = SampleMean(),
data_distribution = Normal(FALSE),
design = get_example_design(),
mu = c(0, 0.3, 0.6),
sigma = 1,
exact = FALSE
)