reliabiltyFS {ThurMod} | R Documentation |
Calculate reliability estimate for factor scores.
Description
This function returns a reliability estimate for factor scores estimated via the Thurstonian IRT models.
Usage
reliabiltyFS(scores, scores_se, method = "sub")
Arguments
scores |
A matrix with factor scores. Rows are respondents, columns are factors/traits. |
scores_se |
A matrix with the standard errors of the factor scores. Rows are respondents, columns are factors/traits. Factors/traits must be in the same order as for 'scores'. |
method |
Can be one of 'div' or 'sub'. See details. Defaults to 'sub'. |
Details
The function returns the empirical reliability of factor scores. If
is the sample variance of the estimated scores and
is the average if the squared scores, that is
then the subtraction method, a classical reliability estimate similar to classical test theory is returned using 'sub' yields
for the reliability of the scores. If 'div' is chosen, and alternative division based approach is used.
.
If 'irt' is chosen, a plot returning the standard error of the scores with the scores is returned per factor.
Value
Returns the reliability value. If method = 'irt', the a plot with the reliability depending on the factorscore is returned.
Examples
# read and save data set FC
data(FC_scores)
# get reliability
reliabiltyFS(FC_scores[,c(106,108,110)],FC_scores[,c(107,109,111)])