Template:DoseConcentrationClearance: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Ohiostandard
m Spelling correction: amont => amount
 
No edit summary
Line 1: Line 1:
It involves expertise and knowledge of various tools and technologies used for creating websites. It is thus, on these grounds that compel various web service provider companies to integrate the same in their packages too. Should you go with simple HTML or use a platform like Wordpress. They found out all the possible information about bringing up your baby and save money at the same time. You can customize the appearance with PSD to Word - Press conversion ''. <br><br>If you liked this article so you would like to get more info with regards to [http://go1.in/wordpress_dropbox_backup_7631951 wordpress backup] generously visit our own webpage. Thus, it is imperative that you must Hire Word - Press Developers who have the expertise and proficiency in delivering theme integration and customization services. While direct advertising is limited to few spots in your site and tied to fixed monthly payment by the advertisers, affiliate marketing can give you unlimited income as long as you can convert your traffic to sales. Several claim that Wordpress just isn't an preferred tool to utilise when developing a professional site. You can up your site's rank with the search engines by simply taking a bit of time with your site. That's a total of 180$ for each Wordpress theme if you sell 3 links and keep the designer link for your own website, or 240$ if you sell all links. <br><br>It is also popular because willing surrogates,as well as egg and sperm donors,are plentiful. By using Word - Press MLM websites or blogs, you and your companies presence on the internet can be created swiftly and simply. For a much deeper understanding of simple wordpress themes", check out  Upon browsing such, you'll be able to know valuable facts. The animation can be quite subtle these as snow falling gently or some twinkling start in the track record which are essentially not distracting but as an alternative gives some viewing enjoyment for the visitor of the internet site. " Thus working with a Word - Press powered web application, making any changes in the website design or website content is really easy and self explanatory. <br><br>A built-in widget which allows you to embed quickly video from popular websites. Quttera - Quttera describes itself as a 'Saa - S [Software as a Service] web-malware monitoring and alerting solution for websites of any size and complexity. A higher percentage of women are marrying at older ages,many are delaying childbearing until their careers are established, the divorce rate is high and many couples remarry and desire their own children. If you choose a blog then people will be able to post articles on your site and people will be able to make comments on your posts (unless you turn comments off). If your blog employs the permalink function, This gives your SEO efforts a boost, and your visitors will know firsthand what's in the post when seeing the URL. <br><br>Under Settings &mdash;> Reading, determine if posts or a static page will be your home page, and if your home page is a static page, what page will contain blog posts. Here's a list of some exciting Word - Press features that have created waves in the web development industry:. Word - Press can also be quickly extended however improvement API is not as potent as Joomla's. Web developers and newbies alike will have the ability to extend your web site and fit other incredible functions with out having to spend more. Your topic is going to be the basis of your site's name.
{{Use dmy dates|date=October 2012}}
The '''smoothing spline''' is a method of [[smoothing]] (fitting a [[smooth curve]] to a set of noisy [[observation]]s) using a [[Spline (mathematics)|spline]] function.
 
==Definition==
Let <math>(x_i,Y_i);x_1<x_2<\dots<x_n, i \in \mathbb{Z} </math> be a sequence of observations, modeled by the relation <math>Y_i = \mu(x_i)</math>. The smoothing spline estimate <math>\hat\mu</math> of the function <math>\mu</math> is defined to be the minimizer (over the class of twice differentiable functions) of<ref>{{Cite book|title=Generalized Additive Models|last=Hastie|first=T. J.|coauthors=Tibshirani, R. J.|year=1990|publisher=Chapman and Hall|isbn=0-412-34390-8}}</ref>
:<math>
\sum_{i=1}^n (Y_i - \hat\mu(x_i))^2 + \lambda \int_{x_1}^{x_n} \hat\mu''(x)^2 \,dx.
</math>
 
Remarks:
# <math>\lambda \ge 0</math> is a smoothing parameter, controlling the trade-off between fidelity to the data and roughness of the function estimate.
# The integral is evaluated over the range of the <math>x_i</math>.
# As <math>\lambda\to 0</math> (no smoothing), the smoothing spline converges to the interpolating spline.
# As <math>\lambda\to\infty</math> (infinite smoothing), the roughness penalty becomes paramount and the estimate converges to a [[Ordinary least squares|linear least squares]] estimate.
# 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.
# In early literature, with equally-spaced <math>x_i</math>, second or third-order differences were used in the penalty, rather than derivatives.
# 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:
# First, derive the values <math>\hat\mu(x_i);i=1,\ldots,n</math>.
# From these values, derive <math>\hat\mu(x)</math> for all ''x''.
 
Now, treat the second step first.
 
Given the vector <math>\hat{m} = (\hat\mu(x_1),\ldots,\hat\mu(x_n))^T</math> of fitted values, the sum-of-squares part of the spline criterion is fixed. It remains only to minimize <math>\int \hat\mu''(x)^2 \, dx</math>, and the minimizer is a natural cubic [[Spline (mathematics)|spline]] that interpolates the points <math>(x_i,\hat\mu(x_i))</math>. This interpolating spline is a linear operator, and can be written in the form
:<math>
  \hat\mu(x) = \sum_{i=1}^n \hat\mu(x_i) f_i(x)
</math>
where <math>f_i(x)</math> are a set of spline basis functions. As a result, the roughness penalty has the form
:<math>
\int \hat\mu''(x)^2 dx = \hat{m}^T A \hat{m}.
</math>
where the elements of ''A'' are <math>\int f_i''(x) f_j''(x)dx</math>. The basis functions, and hence the matrix ''A'', depend on the configuration of the predictor variables <math>x_i</math>, but not on the responses <math>Y_i</math> or <math>\hat m</math>.
 
Now back to the first step. The penalized sum-of-squares can be written as
:<math>
\|Y - \hat m\|^2 + \lambda \hat{m}^T A \hat m,
</math>
where <math>Y=(Y_1,\ldots,Y_n)^T</math>.
Minimizing over <math>\hat m</math> gives
:<math>
\hat m = (I + \lambda A)^{-1} Y.
</math>
 
==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.<ref name="DeBoor2001">{{Cite book|title=A Practical Guide to Splines (Revised Edition)|last=De Boor|first=C.|year=2001|publisher=Springer|pages=207–214|isbn=0-387-90356-9}}</ref>
 
<math>p\sum_{i=1}^n \left ( \frac{Y_i - \hat\mu \left (x_i \right )}{\delta_i} \right )^2+\left ( 1-p \right )\int \left ( \hat\mu^{\left (m \right )}\left ( x \right ) \right )^2 \, dx</math>
 
where <math>p</math> is a parameter called smooth factor and belongs to the interval <math>[0,1]</math>, and <math>\delta_i;i=1,\dots,n</math> are the quantities controlling the extent of smoothing (they represent the weight <math>\delta_i^{-2}</math> of each point <math>Y_i</math>). In practice, since [[cubic splines]] are mostly used, <math>m</math> is usually <math>2</math>. The solution for <math>m=2</math> was proposed by Reinsch in 1967.<ref name="Reinsch1967" /> For <math>m=2</math>, when <math>p</math> approaches <math>1</math>, <math>\hat\mu</math> converges to the "natural" spline interpolant to the given data.<ref name="DeBoor2001" /> As <math>p</math> approaches <math>0</math>, <math>\hat\mu</math> converges to a straight line (the smoothest curve). Since finding a suitable value of <math>p</math> is a task of trial and error, a redundant constant <math>S</math> was introduced for convenience.<ref name="Reinsch1967">{{Cite web|author=Reinsch, Christian H|title=Smoothing by Spline Functions|url=http://www.cise.ufl.edu/class/cap5416fa10/resources/Reinsch_1967.pdf |accessdate=11 March 2011}}</ref>
<math>S</math> is used to numerically determine the value of <math>p</math> so that the function <math>\hat\mu</math> meets the following condition:
 
<math>\sum_{i=1}^n \left ( \frac{Y_i - \hat\mu \left (x_i \right )}{\delta_i} \right )^2 \le S</math>
 
The algorithm described by de Boor starts with <math>p=0</math> and increases <math>p</math> until the condition is met.<ref name="DeBoor2001" /> If <math>\delta_i</math> is an estimation of the standard deviation for <math>Y_i</math>, the constant <math>S</math> is recommended to be chosen in the interval <math>\left [ n-\sqrt{2n},n+\sqrt{2n} \right ]</math>. Having <math>S=0</math> means the solution is the "natural" spline interpolant.<ref name="Reinsch1967" /> Increasing <math>S</math> means we obtain a smoother curve by getting farther from the given data.
 
==Creating a multidimensional spline==
 
Given the constraint from the definition formula <math>x_1<x_2< \dots <x_n</math> 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 <math>x</math> and <math>y</math> so that they would become <math>x(t)</math> and <math>y(t)</math> where <math>t_1<t_2< \dots <t_n</math>. A convenient solution for <math>t</math> is the cumulating distance <math>t_{i+1}=t_{i}+\sqrt{(x_{i+1}-x_{i})^2+(y_{i+1}-y_{i})^2}</math> where <math>t_1=0</math>.<ref>{{Cite web|author=Robert E. Smith Jr., Joseph M Price and Lona M. Howser|title=A Smoothing Algorithm Using Cubic Spline Functions|url=http://www.pdas.com/refs/tnd7397.pdf |accessdate=31 May 2011}}</ref><ref>{{Cite web|author=N. Y. Graham|title=Smoothing With Periodic Cubic Splines|url=http://www.alcatel-lucent.com/bstj/vol62-1983/articles/bstj62-1-101.pdf |accessdate=31 May 2011}}</ref>
 
A more detailed analysis on parametrization is done by E.T.Y Lee.<ref>{{Cite web|author=E.T.Y. Lee|title=Choosing nodes in parametric curve interpolation|url=http://www.cs.bgu.ac.il/~leonid/na105/Splines/Lee.pdf |accessdate=28 June 2011}}</ref>
 
==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.<ref>{{Cite book|title=Semiparametric Regression|last=Ruppert|first=David|coauthors=Wand, M. P. and Carroll, R. J.|publisher=Cambridge University Press|year=2003|isbn=0-521-78050-0}}</ref>
* [[Elastic map]]s 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 (mathematics)|spline]] smoothing can be found in the examples from [[Carl R. de Boor|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 [http://pages.cs.wisc.edu/~deboor/].
 
==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==
{{Reflist}}
 
[[Category:Regression analysis]]
[[Category:Splines]]
[[Category:Statistical methods]]

Revision as of 22:42, 4 July 2013

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