the implementation in check_distribution_rvs

[email protected] Tue, 09 May 2023 11:57:20 -0000
Newsgroups gmane.comp.python.scientific.devel
Message-ID <[email protected]>
Hi, 

I read the code of the function check_distribution_rvs and can't understand the logic behind it:

- in the code: https://github.com/scipy/scipy/blob/878285cfa3bdaf2abaa3b8f7e51ae4a277d63b33/scipy/stats/tests/test_continuous_basic.py#LL664C5-L664C27
- in L678: why is "stats.kstest(dist, dist, args=args, N=1000)"? I thought it should be "stats.kstest(dist, rvs, args=args, N=1000)"?

because the comments also say "Repeat the test with a new sample of rvs. Generate 1000 rvs, perform a K-S test that the new sample of rvs". Did I miss something? Thanks.
_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]