Skip to main content

Function: chowTest()

chowTest(x1, y1, x2, y2): ChowTestResult

Defined in: packages/echarts/src/math/linear-regression.ts:340

Perform the Chow test to check if the regression is different between the first and second subset.

Parameters

x1

number[]

The first subset x values.

y1

number[]

The first subset y values.

x2

number[]

The second subset x values.

y2

number[]

The second subset y values.

Returns

ChowTestResult

The results of the Chow test. See ChowTestResult for more details.