sampleH {FlexRL} | R Documentation |
sampleH
Description
sampleH
Usage
sampleH(
nA,
nB,
links,
survivalpSameH,
pivs_stable,
pivsA,
pivsB,
nvalues,
nonlinkedA,
nonlinkedB,
eta,
phi
)
Arguments
nA |
IntegerVector of dimensions of registered values of the Partially Identifying Variables (PIVs) in A |
nB |
IntegerVector of dimensions of registered values of the PIVs in B |
links |
IntegerMatrix of 2 columns with the indices of the linked records |
survivalpSameH |
NumericMatrix with for each PIV the probability that true values coincide (if stable: filled with 1) |
pivs_stable |
LogicalVector indicating for each PIV whether it is stable of not (if not we expect survivalpSameH for that same element to not be filled with 1 but with lower values) |
pivsA |
List ith registered data from A |
pivsB |
List with registered data from B |
nvalues |
IntegerVector with number of unique values of each PIV |
nonlinkedA |
LogicalVector indicating for all records in A whether they are linked or not |
nonlinkedB |
LogicalVector indicating for all records in B whether they are linked or not |
eta |
List parameters of the PIVs distributions |
phi |
List parameters of the PIVs registration errors |
Value
List:
truePIVsA, true values underlying data in A
truePIVsB, true values underlying data in B