Skip to content

skishchampi/estimatesamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

estimatesamples

A Shiny app to estimate number of samples in a proportions test derived from Casagrande, Pike and Smith (1978) Biometrics 34: 483-486 and Fleiss, Tytun and Ury (1980) Biometrics 36: 343-346.

Inputs

  • Alpha Value - Probability for Type I (false positive) error
  • Tails - One-tailed (e.g., greater than or less than) or two-tailed (e.g., equal or not-equal) test
  • Beta Value - Probability for Type II (false negative) error
  • p1(%) - Proportion (expressed as a percentage) of positive outcomes in the first group
  • p2(%) - Proportion (expressed as a percentage) of positive outcomes in the second group
  • ratio - Ratio of the sample in the second group to the first group
  • Samples per Week - Depending on the person hours and business context limitations, set the number of samples that would be collected per week during the course of the experiment

Outputs

  • Samples - Total sample size for both groups
  • Weeks - Weeks to finish the work
  • Days - Days to finish the work
  • Months - Months to finish the work

Static Demo

alt tag

About

shiny app to estimate number of samples in a proportions test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages