Readd covariance

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-06-30 14:30:58 +02:00
parent 4dd79ec6fa
commit 254295b9c3
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -588,7 +588,7 @@ var importAnalyzeCmd = &cli.Command{
if s.extraCovar != nil {
fmt.Printf("\t correll: %f, tt = %f * extra + %f\n", s.extraCovar.Correl(),
s.extraCovar.A(), s.extraCovar.B())
fmt.Printf("\t extra: %f~%f\n", s.extraCovar.meanX, s.extraCovar.StddevX())
fmt.Printf("\t covar: %f, extra: %f~%f\n", s.extraCovar.Covariance(), s.extraCovar.meanX, s.extraCovar.StddevX())
}
}