Cronbach's alpha of a set of items, standardized alpha, Guttman's lambda 6 and the mean inter-item correlation,
and alpha with each item dropped. Equivalent to psych::alpha() in R. It gives the total row and
alpha.drop$raw_alpha of alpha(x) with its defaults (no missing values, no reversed items).
As psych, warnings has "Item = had no variance and was deleted but still is counted in the score" for a constant
item (an unnamed matrix's column has no name) and "Some items were negatively correlated with the first principal
component and probably should be reversed. ..." (with psych's line breaks) where a loading of the first principal
component of the correlations is negative. The warnings of the functions psych calls are not included.
Parameters
x: readonly (readonlynumber[])[]
An n × k matrix (array of rows): k ≥ 2 items observed on n ≥ 2 subjects.
Cronbach's alpha of a set of items, standardized alpha, Guttman's lambda 6 and the mean inter-item correlation, and alpha with each item dropped. Equivalent to
psych::alpha()in R. It gives thetotalrow andalpha.drop$raw_alphaofalpha(x)with its defaults (no missing values, no reversed items).As psych,
warningshas "Item = had no variance and was deleted but still is counted in the score" for a constant item (an unnamed matrix's column has no name) and "Some items were negatively correlated with the first principal component and probably should be reversed. ..." (with psych's line breaks) where a loading of the first principal component of the correlations is negative. The warnings of the functions psych calls are not included.