ci_js
    Preparing search index...

    Function freeman_tukey_test

    • Runs the CI test and returns the result as a JS value.

      Pass an empty Float64Array for z_flat to run unconditionally. When boolean is true, returns an independence verdict instead of the raw p-value and correlation.

      Returns

      • boolean if boolean=true
      • [p_value, coefficient] if boolean=false

      Errors

      Returns a JsValue error if:

      • the input arrays have invalid dimensions,
      • the statistical computation fails,
      • serialization to JavaScript fails.

      Parameters

      • z_flat: Float64Array
      • z_rows: number
      • z_cols: number
      • x: Float64Array
      • y: Float64Array
      • boolean: boolean
      • significance_level: number

      Returns any