R/real_time_02_sof_pc.R
sof_pc_real_time.Rd
This function produces a list of objects,
each of them contains the result of applying sof_pc
to
a scalar response variable and multivariate functional covariates
evolved up to an intermediate domain point.
See Capezza et al. (2020) for additional details on real-time monitoring.
sof_pc_real_time(
y,
mfd_real_time_list,
single_min_variance_explained = 0,
tot_variance_explained = 0.9,
selection = "PRESS",
components = NULL,
ncores = 1
)
A numeric vector containing the observations of the scalar response variable.
A list created using
get_mfd_df_real_time
or
get_mfd_list_real_time
, denoting a list of functional data objects,
each evolving up to an intermediate domain point,
with observations of the multivariate functional covariates.
See sof_pc
.
See sof_pc
.
See sof_pc
.
See sof_pc
.
If you want parallelization, give the number of cores/threads to be used when creating objects separately for different instants.
A list of lists each produced by sof_pc
,
corresponding to a given instant.
Capezza C, Lepore A, Menafoglio A, Palumbo B, Vantini S. (2020) Control charts for monitoring ship operating conditions and CO2 emissions based on scalar-on-function regression. Applied Stochastic Models in Business and Industry, 36(3):477--500. <doi:10.1002/asmb.2507>