Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timeseries

Go Windows exe License: MIT

Moving average smoothing and linear trend slope for a numeric time series.

Part of StatLab — twenty standalone statistical analysis tools for Windows, each shipped as a native executable with no runtime dependencies. Author: S M Nazmuz Sakib · [email protected]

Detailed use cases

  1. Dashboard smoothing — remove short spikes from a daily metric.
  2. Trend detection — quantify whether a series is rising or falling.
  3. Forecast preparation — produce a smoothed series for downstream modelling.

Download and run (Windows)

Download timeseries.exe from the Releases page, then:

Get-Content data.csv | .\timeseries.exe
# or
.\timeseries.exe -f data.csv

The executable is a native Windows binary — no Python, no installer, no DLLs.

Build from source

go test ./...
go build -o timeseries.exe .

Example output

{
  "slope": 1,
  "moving_average": [1.5, 2.5, 3.5]
}

Input format

A single ordered numeric column. Flags: -window.

Visual preview

timeseries preview

Testing

main_test.go covers the core algorithm with deterministic cases. Run go test ./....

License and contact

MIT © S M Nazmuz Sakib (2026). Questions: [email protected].

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages