Created
March 23, 2021 09:21
-
-
Save HeenaR17/e4b89070252385b90740627ae1aeb03a to your computer and use it in GitHub Desktop.
This file contains 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
#Two sample ttest | |
classB=stats.poisson.rvs(loc=18,mu=33,size=60) | |
ttest,p_value=stats.ttest_ind(a=classA, b=classB) | |
if p_value >= 0.5: | |
print("Accept null hypothesis") | |
else: | |
print("Reject null hypothesis") | |
#Reject null hypothesis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment