What is the Savitzky-Golay 2nd derivative method?

In summary, Savitzky-Golay second derivative is different from Savitzky-Golay smoothing because it involves fitting a polynomial and evaluating its derivative at each data point, whereas smoothing involves only evaluating the polynomial. Both methods use neighboring data points and are only useful when the derivative order is less than the polynomial order.
  • #1
Another
104
5
TL;DR Summary
How are Savitzky–Golay second derivative different from Savitzky–Golay smoothing?
How are Savitzky–Golay second derivative different from Savitzky–Golay smoothing?
 
Physics news on Phys.org
  • #2
Assume we have a noisy data set with ##N## data points, ##x_i##, where ##i = 1, \ldots, N##.

Then Savitsky-Golay smoothing is equivalent to locally fitting a polynomial about each ##x_i## (using some number of neighboring data points), then evaluating that polynomial to produce a new ##y_i##.

Savitsky-Golay differentiation is equivalent to locally fitting a polynomial about each ##x_i## (using some number of neighboring data points), then evaluating a derivative of that polynomial to produce a new ##z_i##. This is of course only interesting to do if the order of the derivative is less than the order of the polynomial used in the fitting.

jason
 

1. What is the Savitzky-Golay 2nd derivative method?

The Savitzky-Golay 2nd derivative method is a mathematical algorithm used to calculate the second derivative of a set of data points. It is commonly used in signal processing and data smoothing applications.

2. How does the Savitzky-Golay 2nd derivative method work?

The method works by fitting a polynomial curve to a small subset of data points, called a window. The coefficients of this polynomial are then used to calculate the second derivative at the center point of the window. This process is repeated for each data point in the dataset, resulting in a smooth estimate of the second derivative.

3. What are the benefits of using the Savitzky-Golay 2nd derivative method?

One of the main benefits of this method is its ability to accurately calculate derivatives even in the presence of noise or missing data. It also does not require any prior knowledge of the underlying function or its derivatives, making it a versatile tool for a wide range of applications.

4. How is the Savitzky-Golay 2nd derivative method different from other derivative estimation methods?

Unlike some other methods, the Savitzky-Golay 2nd derivative method uses a windowed approach, which allows for the incorporation of neighboring data points in the calculation. This can result in a smoother and more accurate estimate of the derivative, particularly in noisy datasets.

5. In what fields is the Savitzky-Golay 2nd derivative method commonly used?

This method is commonly used in fields such as chemistry, biology, and engineering for data smoothing, peak detection, and signal processing tasks. It is also used in financial analysis and time series forecasting applications.

Similar threads

Replies
11
Views
3K
Replies
2
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • Differential Equations
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
818
  • MATLAB, Maple, Mathematica, LaTeX
Replies
0
Views
80
Replies
4
Views
1K
  • Special and General Relativity
Replies
5
Views
2K
  • Materials and Chemical Engineering
Replies
1
Views
1K
Back
Top