Usage
NNTintervalsProspective(Npositives, Nnegatives, NtruePositives, NtrueNegatives, prev = 0.15, alpha = 0.025, prior = c(1/2, 1/2))
Arguments
Npositives
Total number of observed positives.
Nnegatives
Total number of observed negatives.
NtruePositives
Observed or anticipated number of "BestToTreat" among the positives.
NtrueNegatives
Observed or anticipated number of "BestToWait" among the negatives.
prev
= 0.15 Prevalence of "BestToTreat" characteristic.
alpha
= 0.025 Significance level (one side).
prior
Beta parameters for prior. Default is the Jeffreys prior = c(1/2,1/2). Jaynes prior = c(0,0) won't work when #fp=1.