Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jarque-Bera method to normality test #216

Closed
Tracked by #236
iki77 opened this issue Dec 7, 2021 · 2 comments
Closed
Tracked by #236

Add Jarque-Bera method to normality test #216

iki77 opened this issue Dec 7, 2021 · 2 comments
Labels
feature request 🚧 New feature or request

Comments

@iki77
Copy link

iki77 commented Dec 7, 2021

Currently, there is only 'shapiro' and 'normaltest' method for normality test. Adding Jarque Bera method should be helpful as an alternative for testing large samples.

@raphaelvallat raphaelvallat added the feature request 🚧 New feature or request label Dec 9, 2021
@raphaelvallat
Copy link
Owner

Hi @iki77,

Thank you, I agree. This should be pretty straightforward using scipy.stats.jarque_bera, e.g.

pg.normality(..., method="jb")

@raphaelvallat raphaelvallat mentioned this issue Feb 12, 2022
12 tasks
@raphaelvallat
Copy link
Owner

Done in cd7168b

See #236

raphaelvallat added a commit that referenced this issue Feb 20, 2022
* Flake8

* Explicit error when y is an empty list in pg.ttest

#222

* Add keyword arguments in homoscedasticity function

#218

* Bugfix rm_anova and mixed_anova changed the dtypes of categorical columns + added observed=True to all groupby

#224

* Update version number in init and setup

* Use np.isclose for test_pearson == 1

#195

* Coverage for try..except scipy fallback

* Fix set_option for pandas 1.4

* Upgraded dependencies for seaborn and statsmodels

* Added Jarque-Bera test in pg.normality

#216

* Coverage scipy import error

* Use pd.concat instead of frame.append to avoid FutureWarning

* Remove add_categories(inplace=True) to avoid FutureWarning

* GH Discussions instead of Gitter

* Minor doc fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 🚧 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants