bundles / scipy latest / scipy / stats / _mgc / _two_sample_transform
function
scipy.stats._mgc:_two_sample_transform
source: /scipy/stats/_mgc.py :528
Signature
def _two_sample_transform ( u , v ) Summary
Helper function that concatenates x and y for two sample MGC stat.
Extended Summary
See above for use.
Parameters
u, v: ndarrayuandvhave shapes(n, p)and(m, p).
Returns
x: ndarrayConcatenate
uandvalong theaxis = 0. x thus has shape(2n, p).y: ndarrayLabel matrix for x where 0 refers to samples that comes from
uand 1 refers to samples that come fromv. y thus has shape(2n, 1).
Aliases
-
scipy.stats._mgc._two_sample_transform