Plotting GCV values with respect to different nn-s and h-s parameters.
Source:R/plots.R
plot_gcv.Rd
Refers to section 7.2.
Arguments
- age
the age vector.
- pos
the pos vector.
- tot
the tot vector.#'
- nn_seq
Nearest neighbor sequence.
- h_seq
Smoothing parameter sequence.
- kern
Weight function, default = "tcub". Other choices are "rect", "trwt", "tria", "epan", "bisq" and "gauss". Choices may be restricted when derivatives are required; e.g. for confidence bands and some bandwidth selectors.
- deg
Degree of polynomial to use. Default: 2.