Skip to content

std(x)/mean(x) in QC4 and Bessel correction #95

@MichaelClerx

Description

@MichaelClerx

In QC4 we take std(x)/mean(x) of two values (see #94) using nump's standard version of std which doesn't use the n/(n+1) correction https://en.wikipedia.org/wiki/Bessel%27s_correction (in numpy terminology, ddof=0)

For the other QCs using RMSD, the series are so long that it doesn't make a big difference, but for n=2 it makes a difference of sqrt(2)

What do we do to make this obvious / easy to report in papers?

Do we change it to be to be the sample std (ddof=1 in numpy terms) and adjust the threshold accordingly? (just move the sqrt(2) into the threshold)

Do we keep it as it is but reformulate as |a-b|/(a+b) explicitly to avoid this confusion?

@mirams @chonlei @joeyshuttleworth ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionSomething that warrants discussion

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions