Skip to content

Documentation v1.0.0


Documentation / @openassistant/plots / chowTest

Function: chowTest() ​

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

Defined in: echarts/math/linear-regression.ts:343

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.

Released under the MIT License.