View source: R/ethno_consensus.R
| ethno_consensus | R Documentation |
One-parameter consensus model for binary use data. Each informant has a competence D (0 = guessing, 1 = always agrees with the consensus), estimated from agreement with other informants across all species-use questions. Returns the probability that each species-use is 'used' in the consensus answer key. Fitted by EM (maximum a posteriori; competence has a Laplace smoothing prior).
ethno_consensus(data, prior_used = 0.5, max_iter = 100, tol = 1e-06)
data |
An ethnobotany data set with columns 'informant' and 'sp_name' and one column per use category. Any value above 0 counts as a citation. |
prior_used |
Prior probability that a species-use is 'used'. Default 0.5. |
max_iter |
Maximum EM iterations. Default 100. |
tol |
Convergence tolerance. Default 1e-6. |
A list with 'truth' (data frame: sp_name, use, p_used), 'competence' (data frame: informant, D) and 'converged'.
Assumes one shared answer key and informants of equal knowledge across questions. Minority knowledge, such as healer or gender-specific knowledge, is treated as error. Needs many questions per informant (species x uses) and informants (roughly 10 or more) to estimate competence; with few the results are unstable. Probabilities become extreme as informants are added, so read them as ranks, not as calibrated certainty. Check that informants who disagree are not a different knowledge group before using.
Oravecz, Z., Vandekerckhove, J., & Batchelder, W. H. (2014). Bayesian Cultural Consensus Theory. Field Methods. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1177/1525822X13520280")}
Romney, A. K., Weller, S. C., & Batchelder, W. H. (1986). Culture as Consensus: A Theory of Culture and Informant Accuracy. American Anthropologist, 88(2), 313-338.
ethno_consensus(ethnobotanydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.