Description Usage Arguments Value
Generates stratified populations and draw stratified SRS from each population. Computes survey weighted ROC curve for each sample drawn form each of the genereated populations
1 2 3 4 5 6 7 8 9 | simulate_strat(
N_pop,
pop_size,
param_pop,
prop_disease,
N_sample,
sample_size,
grid = seq(0, 1, by = 0.1)
)
|
N_pop |
numeric value for number of stratified population to be generated |
pop_size |
numeric value for population size of populations generated |
param_pop |
data frame containing population parameters (prob, mu0, mu1, sigma0, sigma1) |
N_sample |
numeric value for number of samples to be drawn |
sample_size |
numeric value for sample size of samples to be drawn |
grid |
numeric vector of points for roc curve from 0 to 1 |
a dataframe containing containing survey weighted point and interval estimates for ROC curve for each sample drawn from each of the generated populations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.