+ Reply to Thread
Results 1 to 6 of 6

Savitzky Golay Smoothing

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Savitzky Golay Smoothing

    Hi to all,

    I've been searching the web for a way to do SG smoothing in Excel but haven't found anything (and to be honest don't completely grasp the mathematics).
    Does anyone have any experience on how to reproduce this in Excel?

    http://en.wikipedia.org/wiki/Savitzk...oothing_filter
    http://research.microsoft.com/en-us/...Gol/SavGol.htm

    Thx

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Savitzky Golay Smoothing

    As per:
    http://www.statistics4u.info/fundsta..._savgolay.html
    with data in column A, in B4 enter:
    =(-2*A1+3*A2+6*A3+7*A4+6*A5+3*A7-2*A8)/21 and copy down

    See the attachment for an example:
    Attached Files Attached Files
    Gary's Student

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Savitzky Golay Smoothing

    Or

    =SUMPRODUCT(A1:A7, {-2;3;6;7;6;3;-2})/21
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Savitzky Golay Smoothing

    There was an error in my previous post, formula should have been:

    =(-2*A1+3*A2+6*A3+7*A4+6*A5+3*A6-2*A7)/21

  5. #5
    Registered User
    Join Date
    09-05-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Savitzky Golay Smoothing

    Does this help with smoothing of Non-Parametric data?
    Seems too simple compared to some of the websites I've read -- but thank you for your help.

  6. #6
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Savitzky Golay Smoothing

    Our posts represent the implementation of an SG linear filter. The coefficients are only an example. In your case, you need to start with a candidate polynimial filter and calculate the coefficients using the method outlined in Jphn Krumm's paper.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1