p2: calculate impulseFunc using autocorrels
This commit is contained in:
parent
e6fcc5dfbc
commit
f20ada00a2
@ -46,7 +46,8 @@ func run() error {
|
|||||||
|
|
||||||
cov := stats.Covariance(data[u], data[y])
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user