Package: ssev 0.1.0
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.
Authors:
ssev_0.1.0.tar.gz
ssev_0.1.0.zip(r-4.5)ssev_0.1.0.zip(r-4.4)ssev_0.1.0.zip(r-4.3)
ssev_0.1.0.tgz(r-4.4-any)ssev_0.1.0.tgz(r-4.3-any)
ssev_0.1.0.tar.gz(r-4.5-noble)ssev_0.1.0.tar.gz(r-4.4-noble)
ssev_0.1.0.tgz(r-4.4-emscripten)ssev_0.1.0.tgz(r-4.3-emscripten)
ssev.pdf |ssev.html✨
ssev/json (API)
# Install 'ssev' in R: |
install.packages('ssev', repos = c('https://mkaptein.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 6 years agofrom:fcb7ff3b44. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 30 2024 |
R-4.5-win | OK | Oct 30 2024 |
R-4.5-linux | OK | Oct 30 2024 |
R-4.4-win | OK | Oct 30 2024 |
R-4.4-mac | OK | Oct 30 2024 |
R-4.3-win | OK | Oct 30 2024 |
R-4.3-mac | OK | Oct 30 2024 |
Exports:compute_sample_size
Dependencies:backportsbitbit64broomclicliprcodetoolscolorspacecpp11crayondplyrevaluatefansifarverforcatsforeachgeeMgeepackgenericsggformulaggplot2ggridgesglmnetgluegtablehavenhighrhmsisobanditeratorskinship2knitrlabelinglabelledlatticelifecyclemagrittrMASSMatrixMESSmgcvmosaicCoremunsellmvtnormnlmepillarpkgconfigprettyunitsprogresspurrrpwrquadprogR6RColorBrewerRcppRcppArmadilloRcppEigenreadrrlangscalesshapestringistringrsurvivaltibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrxfunyaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Compute sample size | compute_sample_size |
Compute expected value as function of n, N | ev_means_equal |
Compute expected value as function of n, N | ev_means_unequal |
Compute expected value as function of n, N | ev_proportions |
Pretty printing of ssev object | print.ssev |