This function is also for diagnostic purposes, examining which interval on the latent trait continuum does the FC scale demonstrate the best measurement accuracy.
RMSE_range(true_scores, estimated_scores, range_breaks = NA)
If range_breaks
is not specified, an overall RMSE numeric value will be returned;
else, a named list showing the RMSE in each score range will be returned.
Actual trait scores
Estimated trait scores from a specified model
A numeric vector. Specifies which trait scores ranges will the RMSE be calculated
Mengtong Li
TO BE DONE
RMSE_range(rnorm(100), rnorm(100))
RMSE_range(rnorm(100), rnorm(100), range_breaks = c(-3, -2, -1, 0, 1, 2, 3))
Run the code above in your browser using DataLab