Created
March 12, 2019 03:08
-
-
Save panicpotatoe/41afd3fb0b5910b3c401a0cebf1ce4ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ METHODOLOGY 02: CALCULATE USING SCIPY.STATS LIBRARY""" | |
| stats = stats.chi2_contingency(observed=observed) | |
| # You can check the returned data by calling it | |
| # The returned data includes: chi_squared_stat, p_value, df, expected_crosstab | |
| stats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment