p2: calculate impulseFunc using autocorrels

This commit is contained in:
leo 2023-02-27 04:09:01 +01:00
parent e6fcc5dfbc
commit f20ada00a2
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -46,7 +46,8 @@ func run() error {
cov := stats.Covariance(data[u], data[y])
impulseFunc, err := stats.ImpulseFunction(autocorrelationU, mutCorrelationUY)
// impulseFunc, err := stats.ImpulseFunction(autocorrelationU, mutCorrelationUY)
impulseFunc, err := stats.ImpulseFunction(autocorrelationU, autocorrelationY)
if err != nil {
return err
}