runClassical
is a function for performing a Classical Test Theory (CTT) based reliability analysis.
runClassical(data, omega = FALSE, scalewise = TRUE, ...)
a PROsetta_data
object. See loadData
for loading a dataset.
if TRUE
, also obtain McDonald's omega using omega
in psych
package. (default = FALSE
)
if TRUE
, run analysis for each instrument as well as for the combined instrument. If FALSE
, run analysis only for the combined instrument. (default = TRUE
)
additional arguments to pass onto omega
.
runClassical
returns a list
containing reliability analysis results.
out_alpha <- runClassical(data_asq)
out_omega <- runClassical(data_asq, omega = TRUE) # also obtain omega