Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
 
PREVIOUS NEXT
Tagged: #correlation #categorical #continuous #variables
ADD COMMENT
Topic
Name
2+5 =