two.level.multivariate.calculate.UC.Rd
Two-level function: item is chosen with the third parameter.
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 |
list with items:
group.means
(matrix, row*variable)
all.means
(vector)
W
(the within covariance matrix)
B
(the between covariance matrix)
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"
Other core functions:
bayessource-package
,
get_minimum_nw_IW()
,
make_priors_and_init()
,
marginalLikelihood_internal()
,
marginalLikelihood()
,
mcmc_postproc()
,
samesource_C()