Searcharxiv⌕ Search

arXiv · 2611.09439

FlexRL: an R package for Flexible Record Linkage and Linked Data Quality Assessment

Abstract

FlexRL is an R package for probabilistic record linkage and inference on linked data. It provides a method to link observations from the same entities across two data sources that lack a unique identifier but share partially identifying variables. This method fits a hierarchical latent variable model of the data generation process, rather than classifying pairs of records from the comparison of their values, and accommodates registration errors and variables changing over time. Since linkage may affect subsequent analyses, the package also provides tools to assess the linked data quality as functions of the linkage decision rule. Two false discovery proportion estimators are implemented: a probabilistic approach contingent on the record linkage model and an augmented approach relying on an auxiliary estimation using synthetic data. Several measures of divergence of the linked sample from the source population are provided. These tools are agnostic to the underlying record linkage model and can be applied to any method. Together, they connect the output of the linkage to the validity of the subsequent analyses. The implementation combines standard R functions and S3 methods with Rcpp computations, resulting in fast execution times and a low memory footprint.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kayané Robach, Mark A. van de Wiel, Michel H. Hof. 2026-11-06. FlexRL: an R package for Flexible Record Linkage and Linked Data Quality Assessment. https://doi.org/10.68365/jrepstat.2026.11

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Optimal Forecast Reconciliation with Uncertainty Quantification

We propose to estimate the weight matrix used for forecast reconciliation as parameters in a general linear model in order to quantify its uncertainty. This implies that forecast reconciliation can be formulated as an orthogonal projection from the space of base-forecast errors into a coherent linear subspace. We use variance decomposition together with the Wishart distribution to derive the central estimator for the forecast-error covariance matrix. In addition, we prove that distance-reducing properties apply to the reconciled forecasts at all levels of the hierarchy as well as to the forecast-error covariance. A covariance matrix for the reconciliation weight matrix is derived, which leads to improved estimates of the forecast-error covariance matrix. We show how shrinkage can be introduced in the formulated model by imposing specific priors on the weight matrix and the forecast-error covariance matrix. The method is illustrated in a simulation study that shows consistent improvements in the log-score. Finally, standard errors for the weight matrix and the variance-separation formula are illustrated using a case study of forecasting electricity load in Sweden.

stat.ME↗

postcard: An R Package for Marginal Effect Estimation with or without Prognostic Score Adjustment

Covariate adjustment is a widely used technique in randomized clinical trials (RCTs) for improving the efficiency of treatment effect estimators. By adjusting for predictive baseline covariates, variance can be reduced, enhancing statistical precision and study power. Rosenblum and van der Laan [2010] use the framework of generalized linear models (GLMs) in a plug-in analysis to show efficiency gains using covariate adjustment for marginal effect estimation. Recently the use of prognostic scores as adjustment covariates has gained popularity. Schuler et al. [2022] introduce and validate the method for continuous endpoints using linear models. Building on this work Højbjerre-Frandsen et al. [2025] extends the method proposed by Schuler et al. [2022] to be used in combination with the GLM plug-in procedure [Rosenblum and van der Laan, 2010]. This method achieves semi-parametric efficiency under assumptions of additive treatment effects on the link scale. Additionally, Højbjerre-Frandsen et al. [2025] provide a formula for power approximation which is valid even under model misspecification, enabling realistic sample size estimation. This article introduces an R package, which implements the GLM plug-in method with or without PrOgnoSTic CovARiate aDjustment, postcard. The package has two core features: (1) estimating marginal effects and the variance hereof (with or without prognostic adjustment) and (2) approximating statistical power. Functionalities also include integration of the Discrete Super Learner for constructing prognostic scores and simulation capabilities for exploring the methods in practice. Through examples and simulations, we demonstrate postcard as a practical toolkit for statisticians.

stat.ME↗

Quasi-Maximum Likelihood Estimation for a Genuinely Unbalanced Dynamic Network Panel Data Model

This paper develops quasi-maximum likelihood estimation for genuinely unbalanced dynamic network panel data models. We first study a baseline one-way fixed effect specification and then extend the framework to two-way fixed effects. The model accommodates contemporaneous and lagged network spillovers, temporal dependence, and a listing effect that operates when a unit first appears in the panel. For the baseline specification, we establish consistency and asymptotic normality of the QMLE, characterize the incidental-parameter bias, and propose a bias-corrected estimator. We further provide a consistent estimator of the asymptotic covariance matrix, to enable feasible inference. Under the two-way fixed effect extension, we derive the corresponding asymptotic distribution, bias correction, and covariance matrix estimator, accounting for the additional bias component induced by the time fixed effects. Monte Carlo simulations examine the finite sample performance of the proposed estimators and inference procedure. An empirical application to Airbnb listings from New Zealand and New York City reveals region-specific patterns in spatial and temporal price transmission, highlighting the importance of modeling genuine unbalancedness in dynamic network settings.

stat.ME↗