Student {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.
Student(two_armed = TRUE)
two_armed |
(logical) determines whether one or two-armed trials are assumed. |
an object of class Student
. 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 = Student(FALSE),
design = get_example_design(),
mu = c(0, 0.3, 0.6),
sigma = 1,
exact = FALSE
)