Plots the Functional Boxplot for PoFD and returns the magnitude and domain outliers.
Magnitude outliers in blue, a dotted red indicates that the outlier situation occurs
in a region with less than fdom proportion of the central region.
boxplotPOFD(
data,
depth,
centralRegion = 0.5,
fmag = 1.5,
fdom = 0,
plot = TRUE
)a list with the functional boxplot for PoDF the magnitude outliers and the domain outliers.
matrix p by n, being n the number of functions and p the number of grid points.
depth used to build the functional boxplot. Default is MBD, see POIFD function for other definitions.
number between 0 and 1 determining the proportion of the deepest functions that builds the central region.
factor to enhance the functional central region and determine the functional whiskers. Default is equal to 1.5. The whiskers provide the rule to unmask magnitude outliers.
factor that provides the maximum proportion of observed functions in the central region to consider a magnitude outlier as a domain outlier also. A value equals to 0 means that domain outliers are those functions that are observed on the domain where any of the functions building the central region are observed. A value equals to 1 determine as domain outlier any magnitude outlier out of the region where the central region is completely observed.
if the plot is shown or not.
Sun, Y. and Genton, M. G. (2011). Functional boxplots. Journal of Computational & Graphical Statistics, 20(2):316–334.
boxplotPOFD(exampleData$PoFDextremes_outliers,
depth = "MBD",
centralRegion = 0.5,
fmag = 1.5, fdom = 0)
Run the code above in your browser using DataLab