.gtheory {quest} | R Documentation |
Bootstrap Function for gtheory()
Function
Description
.gtheory
is the function used by the boot
function
within the gtheory
function. It is primarily created to
increase the computational efficiency of bootstrap confidence intervals
within the gtheory
function by doing only the minimal computations
needed to compute the generalizability theory coefficient.
Usage
.gtheory(dat, i, cross.vrb)
Arguments
dat |
data.frame with only the variables/items you wish to include in the generalizability theory coefficient and no other variables/items. |
i |
integer vector of length = |
cross.vrb |
logical vector of length 1 specifying whether the variables/items should be crossed when computing the generalizability theory coefficient. If TRUE, then only the covariance structure of the variables/items will be incorperated into the estimate of reliability. If FALSE, then the mean structure of the variables/items will be incorperated. |
Value
double vector of length 1 providing the generalizability theory coefficient.
See Also
Examples
.gtheory(dat = attitude,
i = sample(x = 1:nrow(attitude), size = nrow(attitude), replace = TRUE),
cross.vrb = TRUE)
.gtheory(dat = attitude,
i = sample(x = 1:nrow(attitude), size = nrow(attitude), replace = TRUE),
cross.vrb = FALSE)