# Simulate data to test logistic regression.

Source:`R/simulatePredictionData.R`

`simulatePredictionData.Rd`

Simulate data to test logistic regression.

## Arguments

- mean1
the mean of group 1.

- n1
the size of group 1.

- mean2
the mean of group 2.

- n2
the size of group 2.

- mean_unknown
the mean of the group with a random outcome.

- n_unknown
the size of the group with a random outcome.

- ratio_unknown
the probability of outcome 1 occurring in the random group.

- sd
the standard deviation for each group (i.e. parameter passed to

`rnorm`

). Variance is assumed to be equal across all groups.- group_labels
the labels for the groups in the

`data.frame`

.