generate_pop: Generate population from mixture of normal distribution

Description Usage Arguments Value

View source: R/ssrs.R

Description

Generate population containing healthy and diseased subpopulation generated from normal distributions

Usage

1
generate_pop(N, mean0, mean1, sigma0, sigma1, p1)

Arguments

N

total size of population

mean0

numeric value of mean for class label 0 (healthy)

mean1

numeric value of mean for class label 1 (diseased)

sigma0

numeric value of standard deviation for class label 0 (healthy)

sigma1

numeric value of standard deviation for class label 1 (diseased)

p1

proportion of diseased observations in the population

Value

a dataframe containing


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