TrendUtils

Description

This algorithm is weighted towards non-zero values and numbers in the series that are changing. A value of zero and numbers in sequence that are the same value, are given less weight in the calculation. The algorithm will be a summing of result

The result of each pair calculation will be summed, returning the trend value.

Installation

If available in Hex, the package can be installed by adding trendutils to your list of dependencies in mix.exs:

def deps do
  [
    {:trendutils, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/trendutils.