Skip to content

Instantly share code, notes, and snippets.

@ritshpatidar
Created October 21, 2019 12:28
Show Gist options
  • Save ritshpatidar/e6a5a4701f28287a52569d7c15224db0 to your computer and use it in GitHub Desktop.
Save ritshpatidar/e6a5a4701f28287a52569d7c15224db0 to your computer and use it in GitHub Desktop.
#Rejecting, or not rejecting Hypothesis in Chi-Square test
if abs(stat) >= critical_stat:
print("Reject Hypothesis H0, There is relationship, Dependent")
else
print("Cannot Reject Hypothesis H0, There is no relationship, independent")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment