Description Usage Arguments Value
Create data set based on user input.
1 2 3 4 5 6 7 8 9 10 11 12 13 | make.data.set(
n,
m,
p,
qvs,
q,
x,
delta,
ww,
zz,
know.true.groups,
true.group.identifier
)
|
n |
sample size, must be at least 1. |
m |
number of different mixture proportions, must be at least 2. |
p |
number of populations, must be at least 2. |
qvs |
a numeric matrix of size |
q |
a numeric matrix of size |
x |
a numeric vector of length |
delta |
a numeric vector of length |
ww |
a numeric vector of length |
zz |
a numeric vector of length |
know.true.groups |
logical indicator. If TRUE, then we know the population identifier for each person in the sample. This option is only used for simulation studies. Default is FALSE. |
true.group.identifier |
numeric vector of length |
a matrix of the concatenated data. The columns are "x", "delta", "q1" to "qp" (correspond to the mixture proportions),
"w" (for ww
if non-NULL), "z" (for zz
if non-NULL),
"uset" (for "u-set" meaning the uth mixture proportion group), and
"group" (for the true population group as defined by true.group.identifier
). If know.true.groups
is
FALSE, then the column "group" is a vector of 0's.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.