rStats.js v1.3.0
    Preparing search index...

    Function icc

    • Intraclass correlation coefficient with its F test and confidence interval (McGraw and Wong's forms). Equivalent to irr::icc(ratings, model, type, unit, r0, conf.level) in R. No missing values are allowed.

      Parameters

      • ratings: readonly (readonly number[])[]

        An n × k matrix (array of rows): the ratings of the k raters for each of the n subjects.

      • options: IccOptions = {}

      Returns IccResult

      icc([[9, 2, 5, 8], [6, 1, 3, 2], [8, 4, 6, 8], [7, 1, 2, 6], [10, 5, 6, 9], [6, 2, 4, 7]],
      { model: "twoway", type: "agreement" }).value; // 0.28976377952755905