This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
Tag 1.0.3
Committed At 2018-08-24 21:55:29 UTC

Modules

    README

    elm-trend

    Calculate trend lines and forecast based on seasonal data. The github-page shows a nice example chart. The chart was created with wuct/elm-charts.

    Installation

    elm package install ggb/elm-trend
    

    Usage

    Usage is straightforward:

    import Linear
    import Seasonal
    
    data = 
      [ 362, 385, 432, 341, 382, 409, ... ]
    
    -- Create linear trend function
    linearTrend = Linear.regression data
    
    -- Seasonal forecast
    period = 4
    forecastData = Seasonal.forecast period
    

    Take a look at example/SeasonalTest.elm for a more detailed example.

    Future

    Ideas for future development:

    • Implementing ARIMA
    • Multivariant regression and other regression types