Skip to main content
. 2023 Feb 26;25(3):425. doi: 10.3390/e25030425
Algorithm 2:Test

Input: Data (xi,yi,zi),i=1,,n.

            Cluster number M.

            Times to repeat K.

Output: p-value.

  • 1

    Find M clusters.

  • 2

    Estimate the T.

  • 3

    for k1 to K do

  • 4

         Generate samples with Algorithm 1

  • 5

         Estimate Ti on the generated samples.

  • 6

    end

  • 7
    Compute the p-value:
    p=1Kt=1T{TkT}.