Skip to content

Function: ecdf()

ts
function ecdf(values): {
  x: Float64Array;
  y: Float64Array;
};

Defined in: stats/regression.ts:169

The empirical CDF as a step function: sorted values against their cumulative proportion.

Parameters

ParameterType
valuesArrayLike<number>

Returns

ts
{
  x: Float64Array;
  y: Float64Array;
}

x

ts
x: Float64Array;

y

ts
y: Float64Array;

MIT licensed. WebGL2 required.