haskell / haskell/statistics

Bootstrap for linear regression could return NaN

Open
#111 1 comment 1 reaction 0 assignees View on GitHub
Bug
Dominant language
Haskell
Stars
309
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Problem is simple. During resampling we can get sample where all `x` are same. This means we get singular matrix when solving linear equation and answer will be NaN which contaminate everything.

Originally reported as https://github.com/bos/criterion/issues/65

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.