This build method smooths a fertility curve using local polynomial regression. Given fertility rates \(\frate_x\) for \(x=0,1,2,\ldots,\omega\), the smoothed fertility rate \(\sfrate_x\) is given by \begin{equation} \sfrate_x=\esm(x) \end{equation} where \(\esm(x)\) is a local polynomial regression fit to the observations \((X_i,Y_i)\) where \(X_i=i\) and \(Y_i=\frate_i\).
The default behaviour can be modified by appending an extrainfo string to the buildmethod, eg KERNEL_REGRESSION:ExtraInfo. Here ExtraInfo is a comma-separated list of quoted strings of the form "Parameter=Value".
Degree
The degree \(\degree\) of the local polynomial regression can be set with the extrainfo string "Degree=\(\degree\)". The default value is \(\degree=1\).
Bandwidth
The bandwidth of the local polynomial regression can be set with the extrainfo string "Bandwidth=value" where value is either a number specifying the value or a string specifying the bandwidth selector. The default value is Bandwidth=ROT, the modified Ruppert-Sheather-Wand rule-of-thumb bandwidth selector.
Kernel
The local polynomial regression kernel function can be set with the extrainfo string "Kernel=type" where type is a kernel function code. The default value is Kernel=GAUSSIAN.