Skip to contents

Hand-rolled base-R implementation. When the psych package is installed, results agree with psych::alpha()$total to numerical precision.

Usage

morie_psymet_alpha(data, ci = 0.95)

Arguments

data

Numeric matrix or data.frame: items as columns, respondents as rows.

ci

Confidence level (default 0.95).

Value

A list with components raw, std, avgr, k, n, ci_lo, ci_hi.