REVSTAT-Statistical Journal, 19.4 (2021), 485-512 https://www.ine.pt/revstat/pdf/REVSTAT_v19-n4-02.pdf