bundles / scipy 1.17.1 / scipy / stats / _mstats_basic / pointbiserialr
function
scipy.stats._mstats_basic:pointbiserialr
Signature
def pointbiserialr ( x , y ) Summary
Calculates a point biserial correlation coefficient and its p-value.
Parameters
x: array_like of boolsInput array.
y: array_likeInput array.
Returns
correlation: floatR value
pvalue: float2-tailed p-value
Notes
Missing values are considered pair-wise: if a value is missing in x, the corresponding value in y is masked.
For more details on pointbiserialr, see scipy.stats.pointbiserialr.
Aliases
-
scipy.stats._mstats_basic.pointbiserialr