ssp_app.Rd
The approach aims to plan a sample size based on how close the researcher wishes both sample means to be to their respective population parameter, and how confident the researcher wants to be in this.
ssp_app(confidence, closeness)
confidence | Numeric. The desired probability of obtaining the sample mean with the desired closeness to the population mean. |
---|---|
closeness | Numeric. The desired closeness of the sample mean to the population mean defined in standard deviation. |
The function returns a list of one named element. The determined sample size for group one and two called `n1`.
if (FALSE) { SampleSizePlanner::ssp_app(closeness = 0.2, confidence = 0.95) }