Skip to contents

Computes the reliability of a scale score and the main statistics of its items from raw item data. For each scale, the function fits a one-factor model. It reports omega and alpha of the sum of the raw item scores, and the fit of the model. For each item, it reports the mean, the standard deviation, the standardized loading, the item-rest correlation, and omega and alpha of the scale without the item. summary() also shows the chi-square test, the largest residual correlation, and the share of missing values of each item.

Usage

efa_item_analysis(
  x,
  data = NULL,
  scales = NULL,
  missing = c("fiml", "listwise")
)

Source

Cronbach, L. J. (1951). Coefficient alpha and the internal structure of tests. Psychometrika, 16, 297-334.

Flora, D. B. (2020). Your coefficient alpha is probably wrong, but which coefficient omega is right? A tutorial on using R to obtain better reliability estimates. Advances in Methods and Practices in Psychological Science, 3, 484-501, and its supplemental material.

Kelley, K., & Pornprasertmanit, S. (2016). Confidence intervals for population reliability coefficients: Evaluation of methods, recommendations, and software for composite measures. Psychological Methods, 21, 69-92.

McDonald, R. P. (1999). Test theory: A unified treatment. Mahwah, NJ: Erlbaum.

Raykov, T. (2007). Reliability if deleted, not 'alpha if deleted': Evaluation of scale reliability following component deletion. British Journal of Mathematical and Statistical Psychology, 60, 201-216.

Rodriguez, A., Reise, S. P., & Haviland, M. G. (2016). Evaluating bifactor models: Calculating and interpreting statistical indices. Psychological Methods, 21, 137-150.

Savalei, V., & Reise, S. P. (2019). Don't forget the model: A commentary on McNeish (2018). Collabra: Psychology, 5, 36.

Yuan, K.-H., Marshall, L. L., & Bentler, P. M. (2002). A unified approach to exploratory factor analysis with missing data, nonnormal data, and in the presence of outliers. Psychometrika, 67, 95-121.

Arguments

x

data.frame or matrix, or an efa_fit() solution. The raw item data: one row per case, one column per item. All items must be numeric (or logical). Include only item columns (no identifier or demographic columns), or select the items with scales. With an efa_fit() solution, the scales come from its loadings (see Details), and data gives the raw data.

data

data.frame or matrix. The raw item data, if x is an efa_fit() solution. It must have a column for each variable of the solution.

scales

list. The items of each scale: a named list of character vectors of column names, for example list(ethical = paste0("ethR_", 1:6)). A character vector gives one scale. If NULL (default), all columns are one scale. Not used if x is an efa_fit() solution.

missing

character. How to handle missing values: "fiml" (default) for full-information maximum likelihood, or "listwise" to use only the complete cases. Data without missing values give the same results with both.

Value

An object of class efa_item_analysis, a list with:

reliability

The reliability coefficients of each scale, an efa_reliability() object.

items

A data frame with one row per item and scale: scale, item, n (the number of values), mean, sd, missing (the share of missing values), loading, item_rest, omega_if_deleted, alpha_if_deleted, and opposite.

scales

A data frame with one row per scale: scale, n_items, n (the number of cases used), n_complete (the number of cases with values on all items), missing ("none", "fiml", or "listwise"), and alpha_standardized (the alpha of the sum of the standardized scores).

fit

A named list with the one-factor efa_fit() solution of each scale (NULL for a scale of two items).

Details

Model and coefficients

The function fits a one-factor model to each scale with maximum likelihood (efa_fit() with estimator = "ML"). Omega is the share of the variance of the sum score that the factor explains (McDonald, 1999). Its denominator is the observed variance of the sum score (Kelley & Pornprasertmanit, 2016). Alpha (Cronbach, 1951) is given for comparison. Alpha assumes that all items have the same loading in raw units (essential tau-equivalence). If this is not true, alpha is lower than omega in the population. In a sample, alpha can be higher, for example when the model does not fit. Both coefficients describe the sum of the raw item scores, which is the usual scale score. For the sum of standardized scores, use efa_reliability().

Scales from a factor solution

Give an efa_fit() (or efa_mi()) solution in x and the raw data in data. Each item then goes to the factor with its largest absolute rotated loading (pattern coefficient), as in efa_reliability(), and the items of each factor are one scale. The scales get the names of the factors. The function then analyses each scale with its own one-factor model, because the scale score is the sum of its items. The function does not accept a solution with a general factor ("bifactorT" or "bifactorQ" rotation) or an unrotated solution with two or more factors. For these, give the scales in scales.

The omega of a scale is then the omega of its own one-factor model. efa_reliability() with the same solution computes the omega of each factor from the whole model. It also counts the variance that the items get from their loadings on the other factors. When each item loads on its own factor only, the two are the same coefficient (Flora, 2020, supplemental material), and the estimates differ only a little. When items have cross-loadings, the omega of efa_reliability() is usually higher. A subscale score can also measure mostly a general factor of all items. For the share of its variance that its own factor explains in addition to the general factor (omega hierarchical subscale; Rodriguez et al., 2016), use efa_reliability() with an efa_schmid_leiman() solution.

Model fit

Omega is correct only when the one-factor model fits (Savalei & Reise, 2019). The printout shows a note when the fit is poor (RMSEA above .10 or SRMR above .08). These limits are conventions, not tests. With three items, the model is just identified, so its fit cannot be tested. With two items, the model is not identified. The function then gives only alpha.

Missing values

By default (missing = "fiml"), the EM algorithm estimates the covariance matrix and the means of the items. It uses all available values. It assumes that the values are missing at random. The one-factor model is then fitted to this covariance matrix (two-stage full-information maximum likelihood; Yuan et al., 2002). With missing = "listwise", the function uses only the cases with values on all items of the scale. All statistics of a scale come from the same covariance matrix and means. Cases without a value on any item of a scale are not used for that scale.

Item statistics

  • Item-rest correlation (item-rest): the correlation of the item with the sum of the other items of the scale (the corrected item-total correlation).

  • Loading: the standardized loading of the item on the factor. The function changes the signs of the loadings so that their sum is positive.

  • Opposite: the item has a negative loading, so it correlates negatively with most other items. Most often, it is a reverse-keyed item that is not recoded yet. Find the reverse-keyed items in the manual of the scale. Recode them (for example 6 - x on a 1-to-5 response scale) before you compute the scale score and its reliability (Flora, 2020). The item-rest correlations do not always show these items. When many items are reversed, all item-rest correlations can be negative.

  • Omega if deleted (omega_del): the omega of the scale without the item. It uses the loadings of the whole scale. The function does not fit the model again (Raykov, 2007). Thus, it is also available for a scale of three items. Its denominator is the observed variance of the shorter sum, as for omega; Raykov (2007) uses the model-implied variance, which gives almost the same value when the model fits.

  • Alpha if deleted (alpha_del): the alpha of the scale without the item. Alpha if deleted can increase when the deletion makes the reliability lower. Thus, use omega if deleted to decide about an item (Raykov, 2007).

Do not delete an item only because of these statistics. The content of the scale can need the item. Check a decision in a new sample (Raykov, 2007).

See also

efa_reliability() for the coefficients of a fitted factor solution, and efa_screen() for the response categories and the outliers of the data.

Other reliability coefficients: efa_reliability(), efa_schmid_leiman(), print.efa_item_analysis(), print.efa_reliability()

Examples

## The ethical and the financial items of the DOSPERT (answers from 1 to 7).
dospert <- DOSPERT_raw[, 1:12]

## One scale: the six ethical items.
efa_item_analysis(dospert[, 1:6])
#> 
#> ── Item analysis ───────────────────────────────────────────────────────────────
#> 
#> 6 items, N = 3123. No missing values.
#> One-factor model (ML): CFI .99, RMSEA .03, SRMR .02.
#> 
#> Reliability of the sum of raw scores: omega .75, alpha .75
#> 
#>         mean   sd   loading  item-rest  omega_del  alpha_del
#> ethR_1  2.48  1.71      .55        .48        .72        .72
#> ethR_2  1.98  1.56      .54        .45        .72        .72
#> ethR_3  1.73  1.19      .75        .62        .69        .69
#> ethR_4  2.57  1.50      .56        .46        .71        .72
#> ethR_5  1.94  1.48      .52        .45        .73        .72
#> ethR_6  2.65  1.85      .60        .51        .71        .71
#> 
#> omega_del, alpha_del: omega and alpha of the scale without the item.

## Two scales, given by hand. The financial items do not measure one factor, so the
## printout shows a poor fit.
efa_item_analysis(dospert, scales = list(ethical = paste0("ethR_", 1:6),
                                         financial = paste0("finR_", 1:6)))
#> 
#> ── Item analysis: ethical ──────────────────────────────────────────────────────
#> 
#> 6 items, N = 3123. No missing values.
#> One-factor model (ML): CFI .99, RMSEA .03, SRMR .02.
#> 
#> Reliability of the sum of raw scores: omega .75, alpha .75
#> 
#>         mean   sd   loading  item-rest  omega_del  alpha_del
#> ethR_1  2.48  1.71      .55        .48        .72        .72
#> ethR_2  1.98  1.56      .54        .45        .72        .72
#> ethR_3  1.73  1.19      .75        .62        .69        .69
#> ethR_4  2.57  1.50      .56        .46        .71        .72
#> ethR_5  1.94  1.48      .52        .45        .73        .72
#> ethR_6  2.65  1.85      .60        .51        .71        .71
#> 
#> omega_del, alpha_del: omega and alpha of the scale without the item.
#> 
#> ── Item analysis: financial ────────────────────────────────────────────────────
#> 
#> 6 items, N = 3123. No missing values.
#> One-factor model (ML): CFI .76, RMSEA .27, SRMR .16.
#> The model fits poorly, so omega can be wrong. Check if the scale has more than
#> one factor, for example with efa_retain().
#> 
#> Reliability of the sum of raw scores: omega .67, alpha .81
#> 
#>         mean   sd   loading  item-rest  omega_del  alpha_del
#> finR_1  1.76  1.41      .84        .60        .56        .77
#> finR_2  4.35  1.87      .24        .41        .76        .81
#> finR_3  1.86  1.53      .85        .60        .55        .77
#> finR_4  3.08  1.77      .43        .61        .73        .76
#> finR_5  1.88  1.52      .88        .62        .54        .76
#> finR_6  3.34  1.81      .42        .59        .74        .77
#> 
#> omega_del, alpha_del: omega and alpha of the scale without the item.

## The scales of a factor solution: each item goes to the factor with its largest
## loading. The financial items split into two factors of three items.
## summary() shows all statistics.
fit <- efa_fit(dospert, n_factors = 3)
ia <- efa_item_analysis(fit, dospert)
summary(ia)
#> 
#> ── Item analysis: F1 ───────────────────────────────────────────────────────────
#> 
#> 3 items, N = 3123. No missing values.
#> One-factor model (ML): just identified, so its fit cannot be tested.
#> 
#> Reliability of the sum of raw scores: omega .90, alpha .89
#> Alpha of the sum of standardized scores: .90
#> 
#>           n   mean   sd   loading  item-rest  omega_del  alpha_del
#> finR_1  3123  1.76  1.41      .85        .78        .86        .86
#> finR_3  3123  1.86  1.53      .85        .79        .86        .85
#> finR_5  3123  1.88  1.52      .88        .81        .84        .84
#> 
#> item-rest: the correlation of the item with the sum of the other items.
#> omega_del, alpha_del: omega and alpha of the scale without the item.
#> 
#> ── Item analysis: F2 ───────────────────────────────────────────────────────────
#> 
#> 6 items, N = 3123. No missing values.
#> One-factor model (ML): CFI .99, RMSEA .03, SRMR .02.
#> Chi-square = 36.86, df = 9, p < .001; TLI .99.
#> Largest residual correlation: -.04 (ethR_2, ethR_4).
#> 
#> Reliability of the sum of raw scores: omega .75, alpha .75
#> Alpha of the sum of standardized scores: .76
#> 
#>           n   mean   sd   loading  item-rest  omega_del  alpha_del
#> ethR_1  3123  2.48  1.71      .55        .48        .72        .72
#> ethR_2  3123  1.98  1.56      .54        .45        .72        .72
#> ethR_3  3123  1.73  1.19      .75        .62        .69        .69
#> ethR_4  3123  2.57  1.50      .56        .46        .71        .72
#> ethR_5  3123  1.94  1.48      .52        .45        .73        .72
#> ethR_6  3123  2.65  1.85      .60        .51        .71        .71
#> 
#> item-rest: the correlation of the item with the sum of the other items.
#> omega_del, alpha_del: omega and alpha of the scale without the item.
#> 
#> ── Item analysis: F3 ───────────────────────────────────────────────────────────
#> 
#> 3 items, N = 3123. No missing values.
#> One-factor model (ML): just identified, so its fit cannot be tested.
#> 
#> Reliability of the sum of raw scores: omega .78, alpha .78
#> Alpha of the sum of standardized scores: .78
#> 
#>           n   mean   sd   loading  item-rest  omega_del  alpha_del
#> finR_2  3123  4.35  1.87      .64        .56        .76        .76
#> finR_4  3123  3.08  1.77      .78        .64        .67        .67
#> finR_6  3123  3.34  1.81      .78        .64        .67        .67
#> 
#> item-rest: the correlation of the item with the sum of the other items.
#> omega_del, alpha_del: omega and alpha of the scale without the item.

## Make ethR_3 reverse-keyed. The printout marks it "opposite". To correct such an
## item, recode it with 8 - x.
ethical <- dospert[, 1:6]
ethical$ethR_3 <- 8 - ethical$ethR_3
efa_item_analysis(ethical)
#> Warning: "ethR_3" has a negative loading: it correlates negatively with most other
#> items.
#> ℹ Find the reverse-keyed items in the manual of the scale. Recode them (for
#>   example `6 - x` on a 1-to-5 scale), then compute the coefficients again
#>   (Flora, 2020).
#> 
#> ── Item analysis ───────────────────────────────────────────────────────────────
#> 
#> 6 items, N = 3123. No missing values.
#> One-factor model (ML): CFI .99, RMSEA .03, SRMR .02.
#> 
#> Reliability of the sum of raw scores: omega .57, alpha .43
#> 
#>         mean   sd   loading  item-rest  omega_del  alpha_del      
#> ethR_1  2.48  1.71      .55        .40        .48        .25
#> ethR_2  1.98  1.56      .54        .36        .49        .29
#> ethR_3  6.27  1.19     -.75       -.62        .69        .69  opposite
#> ethR_4  2.57  1.50      .56        .36        .47        .29
#> ethR_5  1.94  1.48      .52        .37        .50        .28
#> ethR_6  2.65  1.85      .60        .43        .46        .21
#> 
#> opposite: the item correlates negatively with most other items. Find the
#> reverse-keyed items in the manual of the scale. Recode them (for example 6 - x
#> on a 1-to-5 scale) and run the analysis again.
#> omega_del, alpha_del: omega and alpha of the scale without the item.