Learn R Programming

ssev (version 0.1.0)

Sample Size Computation for Fixed N with Optimal Reward

Description

Computes the optimal sample size for various 2-group designs (e.g., when comparing the means of two groups assuming equal variances, unequal variances, or comparing proportions) when the aim is to maximize the rewards over the full decision procedure of a) running a trial (with the computed sample size), and b) subsequently administering the winning treatment to the remaining N-n units in the population. Sample sizes and expected rewards for standard t- and z- tests are also provided.

Copy Link

Version

Install

install.packages('ssev')

Monthly Downloads

129

Version

0.1.0

License

GPL-3

Maintainer

Maurits Kaptein

Last Published

January 25th, 2019

Functions in ssev (0.1.0)

print.ssev

Pretty printing of ssev object
ev_means_unequal

Compute expected value as function of n, N
ev_proportions

Compute expected value as function of n, N
ev_means_equal

Compute expected value as function of n, N
compute_sample_size

Compute sample size