Template:DoseConcentrationClearance

From formulasearchengine
Revision as of 22:42, 4 July 2013 by 92.39.192.184 (talk)
Jump to navigation Jump to search

30 year-old Entertainer or Range Artist Wesley from Drumheller, really loves vehicle, property developers properties for sale in singapore singapore and horse racing. Finds inspiration by traveling to Works of Antoni Gaudí. The smoothing spline is a method of smoothing (fitting a smooth curve to a set of noisy observations) using a spline function.

Definition

Let (xi,Yi);x1<x2<<xn,i be a sequence of observations, modeled by the relation Yi=μ(xi). The smoothing spline estimate μ^ of the function μ is defined to be the minimizer (over the class of twice differentiable functions) of[1]

i=1n(Yiμ^(xi))2+λx1xnμ^(x)2dx.

Remarks:

  1. λ0 is a smoothing parameter, controlling the trade-off between fidelity to the data and roughness of the function estimate.
  2. The integral is evaluated over the range of the xi.
  3. As λ0 (no smoothing), the smoothing spline converges to the interpolating spline.
  4. As λ (infinite smoothing), the roughness penalty becomes paramount and the estimate converges to a linear least squares estimate.
  5. The roughness penalty based on the second derivative is the most common in modern statistics literature, although the method can easily be adapted to penalties based on other derivatives.
  6. In early literature, with equally-spaced xi, second or third-order differences were used in the penalty, rather than derivatives.
  7. When the sum-of-squares term is replaced by a log-likelihood, the resulting estimate is termed penalized likelihood. The smoothing spline is the special case of penalized likelihood resulting from a Gaussian likelihood.

Derivation of the smoothing spline

It is useful to think of fitting a smoothing spline in two steps:

  1. First, derive the values μ^(xi);i=1,,n.
  2. From these values, derive μ^(x) for all x.

Now, treat the second step first.

Given the vector m^=(μ^(x1),,μ^(xn))T of fitted values, the sum-of-squares part of the spline criterion is fixed. It remains only to minimize μ^(x)2dx, and the minimizer is a natural cubic spline that interpolates the points (xi,μ^(xi)). This interpolating spline is a linear operator, and can be written in the form

μ^(x)=i=1nμ^(xi)fi(x)

where fi(x) are a set of spline basis functions. As a result, the roughness penalty has the form

μ^(x)2dx=m^TAm^.

where the elements of A are fi(x)fj(x)dx. The basis functions, and hence the matrix A, depend on the configuration of the predictor variables xi, but not on the responses Yi or m^.

Now back to the first step. The penalized sum-of-squares can be written as

Ym^2+λm^TAm^,

where Y=(Y1,,Yn)T. Minimizing over m^ gives

m^=(I+λA)1Y.

De Boor's approach

De Boor's approach exploits the same idea, of finding a balance between having a smooth curve and being close to the given data.[2]

pi=1n(Yiμ^(xi)δi)2+(1p)(μ^(m)(x))2dx

where p is a parameter called smooth factor and belongs to the interval [0,1], and δi;i=1,,n are the quantities controlling the extent of smoothing (they represent the weight δi2 of each point Yi). In practice, since cubic splines are mostly used, m is usually 2. The solution for m=2 was proposed by Reinsch in 1967.[3] For m=2, when p approaches 1, μ^ converges to the "natural" spline interpolant to the given data.[2] As p approaches 0, μ^ converges to a straight line (the smoothest curve). Since finding a suitable value of p is a task of trial and error, a redundant constant S was introduced for convenience.[3] S is used to numerically determine the value of p so that the function μ^ meets the following condition:

i=1n(Yiμ^(xi)δi)2S

The algorithm described by de Boor starts with p=0 and increases p until the condition is met.[2] If δi is an estimation of the standard deviation for Yi, the constant S is recommended to be chosen in the interval [n2n,n+2n]. Having S=0 means the solution is the "natural" spline interpolant.[3] Increasing S means we obtain a smoother curve by getting farther from the given data.

Creating a multidimensional spline

Given the constraint from the definition formula x1<x2<<xn we can conclude that the algorithm doesn't work for any sets of data. If we plan to use this algorithm for random points in a multidimensional space we need to find a solution to give as input to the algorithm sets of data where these constraints are met. A solution for this is to introduce a parameter so that the input data would be represented as single-valued functions depending on that parameter; after this the smoothing will be performed for each function. In a bidimensional space a solution would be to parametrize x and y so that they would become x(t) and y(t) where t1<t2<<tn. A convenient solution for t is the cumulating distance ti+1=ti+(xi+1xi)2+(yi+1yi)2 where t1=0.[4][5]

A more detailed analysis on parametrization is done by E.T.Y Lee.[6]

Related methods

Smoothing splines are related to, but distinct from:

  • Regression splines. In this method, the data is fitted to a set of spline basis functions with a reduced set of knots, typically by least squares. No roughness penalty is used.
  • Penalized Splines. This combines the reduced knots of regression splines, with the roughness penalty of smoothing splines.[7]
  • Elastic maps method for manifold learning. This method combines the least squares penalty for approximation error with the bending and stretching penalty of the approximating manifold and uses the coarse discretization of the optimization problem.

Source code

Source code for spline smoothing can be found in the examples from Carl de Boor's book A Practical Guide to Splines. The examples are in Fortran programming language. The updated sources are available also on Carl de Boor's official site [1].

Further reading

  • Wahba, G. (1990). Spline Models for Observational Data. SIAM, Philadelphia.
  • Green, P. J. and Silverman, B. W. (1994). Nonparametric Regression and Generalized Linear Models. CRC Press.
  • De Boor, C. (2001). A Practical Guide to Splines (Revised Edition). Springer.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  2. 2.0 2.1 2.2 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  3. 3.0 3.1 3.2 Template:Cite web
  4. Template:Cite web
  5. Template:Cite web
  6. Template:Cite web
  7. 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534