{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _mstats_basic / pointbiserialr

function

scipy.stats._mstats_basic:pointbiserialr

source: /scipy/stats/_mstats_basic.py :992

Signature

def   pointbiserialr ( x y )

Summary

Calculates a point biserial correlation coefficient and its p-value.

Parameters

x : array_like of bools

Input array.

y : array_like

Input array.

Returns

correlation : float

R value

pvalue : float

2-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