rstudy | R Documentation |
Functions for estimating internal consistency reliability, adjusting reliability, and estimating the standard error of measurement.
rstudy(x, n, sigma = FALSE, use = "everything", se = FALSE)
coef_alpha(x, n = NULL, sigma = FALSE, use = "everything", se = FALSE)
coef_omega(x, sigma = FALSE, use = "everything")
sb_r(r, k)
sem(r, sd)
x |
a matrix of scored item responses, or a variance/covariance matrix
for a set of scored item responses when |
n |
number of participants, defaulting to number of rows in
|
sigma |
logical with default |
use |
string for specifying how to handle incomplete cases |
se |
logical with default |
r |
the reliability. |
k |
factor by which test length changes, used to predict a corresponding change in reliability. |
sd |
the standard deviation of total observed scores. |
Returns a data frame of estimated reliability coefficients,
currently including alpha and omega, with corresponding standard errors of
measurement. Reliability coefficients can also be obtained individually
with coef_alpha
and coef_omega
. sb_r
returns a new
reliability coefficient predicted using the Spearman-Brown formula.
sem
returns the standard error of measurement.
ritems <- c("r414q02", "r414q11", "r414q06", "r414q09", "r452q03",
"r452q04", "r452q06", "r452q07", "r458q01", "r458q07", "r458q04")
rsitems <- paste0(ritems, "s")
rstudy(PISA09[PISA09$cnt == "JPN", rsitems], use = "complete", se = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.