Language Reference |
SPLINEV Function |
The SPLINEV function evaluates a cubic spline at a set of points. The function returns a two-column matrix that contains the points of evaluation in the first column and the corresponding fitted values of the spline in the second column.
The arguments to the SPLINEV function are as follows:
is an (or ) matrix of spline coefficients, as returned by the SPLINEC Call. The coeff argument should not contain missing values.
is an optional vector that specifies evaluation points. If delta is a scalar, the spline is evaluated at equally spaced points delta apart. If delta is a vector arranged in ascending order, the spline is evaluated at each of these values. Evaluation at a point outside the support of the spline results in a missing value in the output. If you specify the delta argument, you cannot specify the nout argument.
is an optional scalar that specifies the number of fitted points desired. The default is nout=200. If you specify the nout argument, you cannot specify the delta argument.
See the section SPLINE and SPLINEC Calls for details and examples.
Copyright © SAS Institute, Inc. All Rights Reserved.