get_sample_n | R Documentation |
Calculate sample size and decision rule for a specified LQAS sampling plan
get_sample_n(N, dLower, dUpper, alpha = 0.1, beta = 0.1)
get_sample_d(N, n, dLower, dUpper, alpha = 0.1, beta = 0.1)
N |
Total population size of cases in the specified survey area |
dLower |
Lower triage threshold. Values from 0 to 1. |
dUpper |
Upper triage threshold. Values from 0 to 1. |
alpha |
Maximum tolerable alpha error. Values from 0 to 1. Default is 0.1 |
beta |
Maximum tolerable beta error. Values from 0 to 1. Default is 0.1 |
n |
Sample size |
A list of values providing the LQAS sampling plan for the specified parameters. The list includes sample size, decision rule, alpha error and beta error for the specified classification scheme
get_sample_n(N = 600, dLower = 0.7, dUpper = 0.9)
get_sample_d(N = 600, n = 40, dLower = 0.7, dUpper = 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.