Crandore Hub

ssev

Sample Size Computation for Fixed N with Optimal Reward

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.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 ssev_0.1.0.tar.gz 26.7 KiB
0.1.0 rolling linux/noble R-4.5 ssev_0.1.0.tar.gz 26.7 KiB
0.1.0 rolling source/ R- ssev_0.1.0.tar.gz 4.3 KiB
0.1.0 latest linux/jammy R-4.5 ssev_0.1.0.tar.gz 26.7 KiB
0.1.0 latest linux/noble R-4.5 ssev_0.1.0.tar.gz 26.7 KiB
0.1.0 latest source/ R- ssev_0.1.0.tar.gz 4.3 KiB
0.1.0 2026-04-26 source/ R- ssev_0.1.0.tar.gz 4.3 KiB
0.1.0 2026-04-23 source/ R- ssev_0.1.0.tar.gz 4.3 KiB
0.1.0 2026-04-09 windows/windows R-4.5 ssev_0.1.0.zip 29.3 KiB
0.1.0 2025-04-20 source/ R- ssev_0.1.0.tar.gz 4.3 KiB

Dependencies (latest)

Imports