correlation between categorical and continuous variables
import scipy
#calculates correlation between a binary variable, x, and a continuous variable, y
scipy.stats.pointbiserialr(x, y)
correlation between categorical and continuous variables
import scipy
#calculates correlation between a binary variable, x, and a continuous variable, y
scipy.stats.pointbiserialr(x, y)
correlation between categorical and continuous variables
!pip install pingouin
#One way ANOVA test
import pingouin as pg
pg.anova(data=None, dv=None, between=None, ss_type=2, detailed=False, effsize='np2')
#dv -> dependent variable. Column name: like 'A'
#between -> ['B','C','D']
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us