Returns the two-way frequency table using class marks.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double[,] GetFrequencyTableUsingClassmarks(
	double[] cx,
	double[] cy
)
Visual Basic (Declaration)
Public Function GetFrequencyTableUsingClassmarks ( _
	cx As Double(), _
	cy As Double() _
) As Double(,)
Visual C++
public:
array<double,2>^ GetFrequencyTableUsingClassmarks(
	array<double>^ cx, 
	array<double>^ cy
)

Parameters

cx
Type: array< System..::.Double >[]()[]
A double array containing the class marks for x.
cy
Type: array< System..::.Double >[]()[]
A double array containing the class marks for y.

Return Value

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

Remarks

Class marks are the midpoints of xIntervals and yIntervals.

Equally spaced class marks in ascending order must be provided in the arrays cx and cy. The class marks the midpoints of each interval. Each interval is taken to have length cx[1] - cx[0] in the x direction and cy[1] - cy[0] in the y direction. The total number of elements in the output table may be less than the number of observations of input data. Arguments xIntervals and yIntervals must be greater than or equal to 2 for this option.

See Also