SmoothingCubicSplineBasesperr1 Method |
Calculates bayesian estimates of the standard errors of the fitted
values of a cubic smoothing spline by calculating the diagonal elements
of the influence matrix.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxprotected static void sperr1(
double[] x,
double avh,
double[] dy,
int n,
double[][] R,
double p,
double var,
double[] se
)
Parameters
- x Double
- Abscissae values of the data points.
- avh Double
- Scaling parameter for the x-intervals.
- dy Double
- Relative standard deviation of the error associated with the data point i.
Each dy[i] must be positive. The values were scaled by spint so that the sum of their squares is n.
- n Int32
- Number of data points.
- R Double
- Work array.
- p Double
- The smoothing parameter transformed to the interval from 0 to 1.
- var Double
- The variance estimate used to scale the returned standard errors.
- se Double
- On return: contains the calculated standard errors.
See Also