Skip to content

'stats.boxcox' return all same values #6873

@KarlQu1990

Description

@KarlQu1990

I applyed stats.boxbox to my data and the returned values are all the same, which seems really unreasonable! it returned this same result in scipy=0.18.1 and scipy=0.17.1. the optimal lambda in my case is -5.501196436791543.
your can download my data(data.txt).
I also tried the boxcox function in R and it returned reasonable result. So i think the boxcox_normmax function should do more test and should be used carefully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.stats

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions