Description Usage Arguments Value
Function to generate stratified SRS from a given population and compute survey weighted ROC curve for each sample drawn
1 | simulate_sample_strat(pop, N_sample, sample_size, grid, var_weight = "weight")
|
pop |
dataframe containing population information (strata, X, D) |
N_sample |
numeric value for number of samples to be drawn |
sample_size |
sample size of samples to be drawn |
grid |
numeric vector of points for roc curve from 0 to 1 |
var_weight |
string value indicating sampling weight variable name |
a dataframe containing containing survey weighted point and interval estimates for ROC curve for each sample drawn from the specified population
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.