Skip to main content
. Author manuscript; available in PMC: 2014 May 2.
Published in final edited form as: Comput Stat Data Anal. 2010 Apr 1;54(4):1167–1178. doi: 10.1016/j.csda.2009.09.020

Figure 1.

Figure 1

Pseudocode of the automatic robust smoothing algorithm. The variable names and acronyms are described in the text. The complete Matlab code is supplied in the supplemental material (smoothn.m). When robust option is required, minimization of the GCV score is performed at the first robust iterative step only (see 4.c.ii) and the last estimated smoothness parameter (s) is used during the successive steps. This makes the algorithm faster without altering the final results significantly.