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 10 11 12 | simulate_tscs_strat(
N_pop,
N,
param_pop,
p1,
cluster_size,
tau = 1,
N_sample,
sample_size_psu,
sample_size_ssu,
grid = seq(0, 1, by = 0.1)
)
|
N_pop |
numeric value for number of stratified population to be generated |
param_pop |
data frame containing population parameters (prob, mu0, mu1, sigma0, sigma1) |
N_sample |
numeric value for number of samples to be drawn from each population |
sample_size_psu |
numeric value for number of psu selected per strata |
sample_size_ssu |
numeric value for number of ssu selected per selected psu |
grid |
numeric vector of points for roc curve from 0 to 1 |
N_psu |
numeric vector of number os psu's (clusters) per strata |
cluster_size_strat |
list of cluster sizes per strata |
prop_disease |
numeric value for the proportion of diseased in population |
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.