Calculates Felligi-Sunter weights and posterior zeta probabilities for matching patterns observed in a larger population that are not present in a sub-sample used to estimate the EM.
emlinkRS(patterns.out, em.out, nobs.a, nobs.b)
Arguments
patterns.out: The output from tableCounts() or emlinkMARmov() (run on full dataset), containing all observed matching patterns in the full sample and the number of times that pattern is observed.
em.out: The output from emlinkMARmov(), an EM object estimated on a smaller random sample to apply to counts from a larger sample
nobs.a: Total number of observations in dataset A
nobs.b: Total number of observations in dataset B
Returns
emlinkMARmov returns a list with the following components: - zeta.j: The posterior match probabilities for each unique pattern.
p.m: The posterior probability of a pair matching.
p.u: The posterior probability of a pair not matching.
p.gamma.k.m: The posterior of the matching probability for a specific matching field.
p.gamma.k.u: The posterior of the non-matching probability for a specific matching field.
p.gamma.j.m: The posterior probability that a pair is in the matched set given a particular agreement pattern.
p.gamma.j.u: The posterior probability that a pair is in the unmatched set given a particular agreement pattern.
patterns.w: Counts of the agreement patterns observed, along with the Felligi-Sunter Weights.
iter.converge: The number of iterations it took the EM algorithm to converge.