Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-504

LOESS interpolation & tricube fonction

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 3.0
    • Labels:
    • Environment:

      Win XP

      Description

      the doc for tricube fonction used in LOESS smooth() says :

      • @return <code>(1 - |x|<sup>3</sup>)<sup>3</sup></code>.
        But I'dont see the absolute value for x.

      Also, the "classical" tricube fonction (see http://www.itl.nist.gov/div898/handbook/pmd/section1/pmd144.htm)
      seems to return 0 if abs( x )>1.
      In the code of the tricube method, It is apparently not the case...

      private static double tricube(final double x)

      { final double tmp = 1 - x * x * x; return tmp * tmp * tmp; }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              colsalt X. B.
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified