Learn R Programming

FlexRL (version 0.1.0)

sampleL: sampleNL

Description

sampleNL

Usage

sampleL(
  GA,
  GB,
  survivalpSameH,
  choice_set,
  choice_equal,
  nval,
  phikA,
  phikB,
  eta
)

Value

IntegerVector: of indices from the joint latent true values choice set underlying GA and GB

Arguments

GA

IntegerVector of registered values for a certain Partially Identifying Variable (PIV) for linked records from A

GB

IntegerVector of registered values for a certain PIV for linked records from B

survivalpSameH

NumericVector of probabilities that the concerned PIV values coincide between file A and file B

choice_set

IntegerMatrix of 2 columns (for A and for B) with possible joint true values underlying GA and GB

choice_equal

IntegerVector of booleans indicating whether the 2 true values (from A and B) in the choice set are equal

nval

integer for the number of unique values in the PIV concerned

phikA

NumericVector parameter for the registration errors in A for the PIV concerned

phikB

NumericVector parameter for the registration errors in B for the PIV concerned

eta

NumericVector parameter for the distribution of the PIV concerned