Skip to content

BUG: proportions_chisquare prevent integer overflow - #7669

Merged
josef-pkt merged 1 commit into
statsmodels:mainfrom
josef-pkt:proportion_chisquare_integer
Aug 24, 2021
Merged

josef-pkt merged 1 commit into
statsmodels:mainfrom
josef-pkt:proportion_chisquare_integer

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

closes #7603

use dtype at least float64 in _table_proportion

(aside: complex numbers will not work because, scipy distribution norm uses special function that doesn't support complex for cdf, ppf)

@josef-pkt josef-pkt added this to the 0.13 milestone Aug 24, 2021
@josef-pkt
josef-pkt merged commit be53576 into statsmodels:main Aug 24, 2021
@josef-pkt
josef-pkt deleted the proportion_chisquare_integer branch August 28, 2021 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proportions_chisquare produces erroneous p-value with large sample size

1 participant