Illustration of the simulations

Load packages

library("fdaPOIFD")

Generate data

N <- 100
P <- 200
dataPOFD <- gaussian_PoFD(n=N, p=P, type = "common", observability = 0.2)

Depth computations

Depth on fully observed data

Notice that the function POIFD on fully observed data coincides with the unweighted IFD.

POIFD

Depth with reconstructed curves by Goldsmith (2013)

Install and load the Rpackage refund.

Notice that the function POIFD on reconstructed data coincides with the unweighted IFD.

Depth with reconstructed curves by Kraus (2015)

Kraus (2015) was implemented using the function pred.missfd obtained from the code at https://is.muni.cz/www/david.kraus/web_files/papers/partial_fda_code.zip.

Depth with reconstructed curves by Liebl (2020)

Liebl (2020) was implemented using the function reconstructKneipLiebl obtained from the code at https://github.com/lidom/ReconstPoFD