Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

normEndp

Representation of normally distributed endpoints


Description

Represents normally distributed endpoints in clinical trials.

Usage

normEndp(mu, sigma)

Arguments

mu

vector of the expected responses of the treatment groups, should have length K (i.e. one entry for each treatment group).

sigma

vector of the standard deviations in each treatment group, should have length K (i.e. one entry for each treatment group).

Details

The normEnd function is a constructor function for an S4 object of the class normEnd representing a normally distributed endpoint in a clinical trial. In conjunction with the assess function, normal endpoints admit the calculation of the exact type-I-error probability and power.

See Also

Compute exact or simulated type-I-error: assess.

Other endpoint types: expEndp, survEndp

Examples

# set the parameters of two normally distributed endpoints
endp <- normEndp(mu = c(1, 2), sigma = c(1, 1))

randomizeR

Randomization for Clinical Trials

v2.0.0
GPL (>= 3)
Authors
David Schindler [aut], Diane Uschner [aut, cre], Marcia Viviane Rueckbeil [ctb], Martin Manolov [ctb], Thi Mui Pham [ctb], Michael Martini [ctb], Ralf-Dieter Hilgers [aut, ths], Nicole Heussen [aut, ths]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.