rodrigo-brito / hurst

Hurst exponent estimation in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hurst

Hurst exponent estimation in Go

Installation

go get -u github.com/rodrigo-brito/hurst

Usage

package main

import (
    "fmt"
    "github.com/rodrigo-brito/hurst"
)

func main() {
    data := []float64{
		// your data here....
    }
    fmt.Println(hurst.Estimate(data, 2, 100)) // where 2 is the min lag, and 100 max lag
}

References

About

Hurst exponent estimation in Go

License:MIT License


Languages

Language:Go 100.0%