Miguel Angel Luque-Fernandez

MA · MSc · MPH · BSc · PhD

Full Professor, Dpt. of Statistics and Operations Research, Universidad de Granada

Featured

Conformal Statistical Inference

Marginal coverage guarantees, split conformal prediction (SCP), conformal quantile regression (CQR), full conformal, and Jackknife+. Available as a comprehensive interactive notebook and a slide tutorial in Spanish.

New Book

Computational Causal Inference for Applied Researchers

An introduction to causal inference that starts from potential outcomes and DAGs and builds up to TMLE, longitudinal data, mediation, and sensitivity analysis. Nine chapters with reproducible R and Stata examples (~65 in total).

Causal Inference & TMLE 8 works

  1. Book
    R · Stata

    Computational Causal Inference for Applied Researchers (Book)

    The full book online. Nine chapters, 71 references. From potential outcomes and DAGs through to TMLE, with R and Stata code throughout.

  2. Quarto
    R · Stata

    Metalearners vs ELTMLE for Heterogeneous Treatment Effect Estimation

    Comparing S-, T-, and X-learners (h2o with GBM) against ELTMLE in Stata. CATE estimation with theoretical background and reproducible Quarto analysis.

  3. Notebook
    R

    Targeted Maximum Likelihood Estimation (TMLE) in R

    A practical walk-through of TMLE: influence functions, the fluctuation step, and variance estimation, all with worked examples in R.

  4. Tutorial
    Stata

    Applied Computational Causal Inference using Stata

    Doubly robust methods, AIPW, and TMLE in Stata using the eltmle command. Real-data examples and hands-on workflow.

  5. Español
    R

    Las matemáticas detrás de TMLE (en español)

    Derivación matemática completa: funciones de influencia, teoría semiparamétrica, y estimadores doblemente robustos.

  6. Tutorial
    R

    Delta Method Tutorial

    Variance estimation via the delta method for common epidemiological estimands. Derivations and examples in an R notebook.

  7. Simulation
    Stata

    ELTMLE: One Simulation (2017 SUGM)

    Simulation study presented at the 2017 Stata User Group Meeting, comparing eltmle to competitors under dual misspecification.

  8. Package
    Stata

    ELTMLE — GitHub Repository

    Open-source Stata module for TMLE estimation of the average treatment effect, with SuperLearner integration.

Survival Analysis 4 works

  1. Workshop
    R

    Introduction to Time-to-Event Analysis

    Kaplan-Meier curves, log-rank tests, and Cox proportional hazards models. Workshop tutorial from ULB.

  2. Tutorial
    Stata

    Net Survival: Cohort Analysis (Relative Survival Framework)

    Standardizing net survival estimates in a cohort design. For Stata users working with population-based cancer registry data.

  3. Tutorial
    Stata

    Net Survival: STRS & Poisson Regression

    Fitting STRS models and Poisson regression for net survival estimation under the relative survival framework.

  4. Tutorial
    Stata

    Net Survival: Flexible Parametric Modeling

    Royston-Parmar flexible parametric survival models applied to net survival. Extended tutorial with full Stata code.

Machine Learning 3 works

  1. Tutorial
    R

    SuperLearner Tutorial for Epidemiologists & Biostatisticians

    Cross-validated ensemble ML with clinical application: binary & continuous outcomes, hyperparameter tuning, feature screening, parallel computing, custom wrappers, and TMLE bridge. R + Quarto.

  2. Notebook
    R

    Cross-Validation in Practice with R

    K-fold CV, leave-one-out, and bootstrap resampling for model selection and evaluation. Interactive R notebook.

  3. Package
    Stata

    cvAUROC — Cross-validated AUC for Stata

    Stata module that computes cross-validated area under the ROC curve with bootstrap confidence intervals.

Interactive Shiny Apps 7 apps

  1. App
    Shiny

    Desigualdades Sociales en Andalucía (RENTA)

    Mapa interactivo de renta mediana y variables sociodemográficas por sección censal en Andalucía (2015–2022). Incluye asistente inteligente con IA local (Ollama) para consultas en lenguaje natural, garantizando la privacidad de los datos.

  2. App
    Shiny

    Expected Date of Delivery

    Calculate an expected delivery date from gestational age, with uncertainty intervals.

  3. App
    Shiny

    Pattern of Comorbidities in Cancer

    Interactive network visualisation of comorbidity patterns among cancer patients.

  4. App
    Shiny

    Parametric Distributions: Time-to-Event

    Explore Weibull, log-normal, and Gompertz survival distributions and their hazard functions interactively.

  5. App
    Shiny

    Colliders in Epidemiology

    A visual demonstration of collider bias and selection bias in causal inference.

  6. App
    Shiny

    Central Limit Theorem Explorer

    Draw samples from normal, uniform, exponential, and bimodal distributions to see the CLT emerge step by step.

  7. App
    Shiny

    Confidence Intervals Explorer

    How do sample size, variability, and confidence level affect interval width? Uses simulated repeated sampling to show what coverage probability actually means.

Stata Packages 3 packages

  1. Package
    Stata

    eltmle

    Targeted Maximum Likelihood Estimation for the average treatment effect in Stata, using SuperLearner ensemble learning.

  2. Package
    Stata

    cvAUROC

    Cross-validated area under the ROC curve for binary classifiers, with bootstrap CIs and k-fold CV.

  3. Package
    Stata

    cmatch

    Quick tabulation of matched pairs in 1:1 case-control studies by exposure status. Simple, small, well tested.

R Packages 1 package

  1. Package
    R

    BioEstatR

    Classical biostatistics routines for the health sciences — companion package to Matemática Estadística Médica con R. Probability, inference, regression, epidemiology.

Books 3 books

  1. Book
    R · Stata

    Computational Causal Inference for Applied Researchers

    Nine chapters covering potential outcomes, DAGs, G-formula, propensity scores, AIPW, TMLE, longitudinal data, mediation, and sensitivity analysis. About 65 examples in R and Stata.

    DOI: 10.5281/zenodo.20677995
  2. Book
    R · ES

    Mathematical Statistics with R (Matemática Estadística con R)

    Open-access textbook on mathematical statistics for medicine and the health sciences. R and Quarto throughout. In Spanish.

    DOI: 10.5281/zenodo.20677785
  3. Book
    R · ES

    Advanced Methods for Biostatistics (Bioestadística Aplicada)

    Applied biostatistics: survival analysis, longitudinal models, causal inference, and diagnostic test evaluation. R implementations throughout.

    DOI: 10.5281/zenodo.18277805

Tools & Guides 1 guide

  1. Guide
    Español

    Claude Code en Windows

    Guía paso a paso para instalar y usar Claude Code en Windows, orientada a estadísticos y científicos de datos.