- nobs
Integer. Number of observations to simulate (default 1000).
- p
Integer. Number of functional components (variables) (default 3).
- p_cellwise
Numeric in \([0,1]\). Probability of cellwise contamination
(componentwise outliers) for each component (default 0).
- p_casewise
Numeric in \([0,1]\). Probability of casewise contamination
(entire observation contaminated) (default 0).
- sd_e
Numeric. Standard deviation of the additive measurement noise (default 0.005).
- sd
Numeric. Standard deviation scaling of the functional part (default 0.002).
- T_exp
Numeric in \((0,1)\). Expansion parameter for phase outliers (default 0.6).
- outlier
Character. Type of contamination in Phase I sample:
"no" (no contamination),
"outlier_M" (mean shift),
"outlier_E" (exponential shift),
"outlier_P" (phase shift). Default "no".
- M_outlier_case
Numeric. Magnitude of casewise outlier contamination (default 0).
- M_outlier_cell
Numeric. Magnitude of cellwise outlier contamination (default 0).
- OC
Character. Out-of-control model in Phase II data:
"no" (in control),
"OC_M" (mean shift),
"OC_E" (exponential shift),
"OC_P" (phase shift). Default "no".
- M_OC
Numeric. Magnitude of out-of-control shift (default 0).
- P
Integer. Number of grid points in each functional profile (default 100).
- max_n_cellwise
Integer. Maximum number of components per observation
allowed to be cellwise contaminated (default Inf).
- correlation
Character. Correlation structure among components:
typically "decreasing" (default).
- k
Integer. Correlation parameter (default 1).
- which_OC
Integer vector. Indices of components subject to out-of-control
shifts in Phase II (default 5).