Description Usage Arguments Details Value See Also
View source: R/two_level_functions.R
Two-level function: item is chosen with the third parameter.
1 2 3 4 5 6 | two.level.multivariate.calculate.UC(
population,
idx.variables,
idx.item,
singular.action = "skip"
)
|
population |
matrix or dataframe containing data columns, item column and other columns |
idx.variables |
data columns (indexes or character vectors) |
idx.item |
item column (index or character vector) |
singular.action |
action to take when one of the items is observed once; one of |
Items who are observed only once cannot contribute to within covariance estimation. In that case, either we skip its contribute (default) or fail.
Multivariate functions supporting paper:
Bozza, A., Taroni, F., Marquis, R., M. Schmittbuhl - "Probabilistic evaluation of handwriting evidence: likelihood ratio for authorship"
list with items:
group.means
(matrix, row*variable)
all.means
(vector)
W
(the within covariance matrix)
B
(the between covariance matrix)
Other core functions:
bayessource-package
,
get_minimum_nw_IW()
,
make_priors_and_init()
,
marginalLikelihood_internal()
,
marginalLikelihood()
,
mcmc_postproc()
,
samesource_C()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.