IMSL C# Numerical Library

TableTwoWay.GetFrequencyTableUsingCutpoints Method 

Returns the two-way frequency table using cutpoints.

public double[,] GetFrequencyTableUsingCutpoints(
   double[] cx,
   double[] cy
);

Parameters

cx
A double array containing either the cutpoints or the class marks for x.
cy
A double array containing either the cutpoints or the class marks for y.

Return Value

A two dimensional double array containing the two-way frequency table.

Remarks

The cutpoints (boundaries) must be provided in the arrays cx and cy, of length (xIntervals-1) and (yIntervals-1) respectively. The first row of the output table is the tally of observations for which the x value is less than or equal to cx[0], and the y value is less than or equal to cy[0]. This option allows unequal interval lengths. Arguments cx and cy must be greater than or equal to 2.

See Also

TableTwoWay Class | Imsl.Stat Namespace