ss_sens: Minimum sample size for external validation of a clinical...

Description Usage Arguments Value References See Also Examples

View source: R/Sample_Size_for_EV.R

Description

Sample size required for a given sensitivity

Usage

1
ss_sens(alpha, se, d, prev)

Arguments

alpha

Level of Significance

se

Expected sensitivity

d

Maximum margin of error

prev

Population level prevalence

Value

A html file contains minimum sample size

References

Arenas-Cavalli JT, Abarca I, Rojas-Contreras M, Bernuy F, Donoso R. Clinical validation of an artificial intelligence-based diabetic retinopathy screening tool for a national health system. Eye (Lond). 2021 Jan 11. doi: 10.1038/s41433-020-01366-0. Epub ahead of print. Erratum in: Eye (Lond). 2021 Jul 23;: PMID: 33432168.

See Also

ss_citl, ss_cal_slope , ss_R2val , ss_res_var , ss_spec

Examples

1
2
3
4
5
6
7
#Eg .To target 80% sensitivity at 95% confidence level,
# maximum margin of error 5% for a precision of 95% and
#assuming 30% of the population with particular disease.
ss_sens( alpha=0.05, se= 0.8, d=0.05,prev=0.3)

#for different combinations of parameters
ss_sens( alpha=c(0.05), se=c(0.8 , 0.9), d=c(0.05 , 0.1 ),prev=0.3)

Ayushi-712/ssclip documentation built on Feb. 4, 2022, 11:50 p.m.