This folder consists of the coding for the simulation studies and applications in the manuscript.
-
functions.R: the R functions used to generate data for the simulation studies and implement the proposed SFPLS method, the FPLS method, the FPLS_R method, the FPCR method and the SLoS method.
-
sim_firstKcomp.R: the R code for the simulation study for the proposed SFPLS method, the FPLS method, and the FPCR method using the first K terms of their bases for each of K = 1,…,5.
-
sim_SFPLS.R: the R code for the simulation study for the proposed SFPLS method.
-
sim_FPLS.R: the R code for the simulation study for the FPLS method.
-
sim_FPLS_R.R: the R code for the simulation study for the FPLS_R method.
-
sim_FPCR.R: the R code for the simulation study for the FPCR method.
-
sim_SLoS.R: the R code for the simulation study for the SLoS method.
-
OSB.csv: the OSB furnish data.
-
Truck.csv: the particulate matter emissions data.
-
OSB_analysis.R: the R code for analyzing the OSB furnish data by using the proposed SFPLS method and the FPLS method.
-
truck_analysis.R: the R code for analyzing the particulate matter emissions data by using the proposed SFPLS method and the FPLS method.