genenate_clust: Generate one cluster of binormal distributions

Description Usage Arguments Value

View source: R/tsscs.R

Description

Generate one cluster containing healthy and diseased observations generated from normal distributions. The correlated binary data is generated using the multivariate probit method. The correlated continuous marker values are generated by including a random effect

Usage

1
genenate_clust(size_clus, corr_mvn, mean0, mean1, sigma0, sigma1, p1, tau)

Arguments

size_clus

size of cluster

corr_mvn

numeric value for correlation in multivariate normal distribution

mean0

numeric vector of mean for class label 0 (healthy) for all strata

mean1

numeric vector of mean for class label 1 (diseased) for all strata

sigma0

numeric vector of standard deviation for class label 0 (healthy) for all strata

sigma1

numeric vector of standard deviation for class label 1 (diseased) for all strata

p1

numeric value for proportion of diseased observations in the population

Value

Dataframe containing


tamytsujimoto/surveyROC documentation built on Sept. 8, 2021, 11:35 p.m.