Skip to content

Higher order moments #22

Closed
Closed
@LukeMathWalker

Description

@LukeMathWalker

Moving forward with #1, I am now working towards computing central order moments. As far as I can understand, it's impossible to compute M_n in a numerically stable fashion without computing M_1, M_2, ..., M_{n-1}, similarly to what happens with our variance method in ndarray (I am using this as reference).

Should we make this transparent and return the whole array of moments up to the order required?
This would probably save some computational workload if people actually need more than one of those (e.g. mean, std deviation, kurtosis and skewness).

What do you think @jturner314?
The only issue is what do you we use as return type? A Vec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions