Description Usage Arguments Value Examples
Function to simulate agreement patterns for record pairs from a mixture model
1 2 | do_sim(cor_match = 0.1, cor_mismatch = 0, nsample = 10^3,
pi_match = 0.01, m_probs, u_probs, missingprobs)
|
cor_match |
correlation in 0/1 agreement fields for record pairs constituting the same individual (matches). |
cor_mismatch |
correlation in 0/1 agreement fields for record pairs not constituting the same individual (true mismatches). |
nsample |
number of record pairs to simulate. |
pi_match |
the probability both records from a randomly selected record pair correspond to the same individual (a true match). |
m_probs |
marginal probabilities of agreement for each field for record pairs constituting true matches. |
u_probs |
marginal probabilities of agreement for each field for record pairs constituting true mismatches. |
missingprobs |
probabilities that each field is missing on at least one record pair. |
A matrix of the simulated agreement patterns, with final column equal to the count of each pattern.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.