Performs a test of significance for the difference between n alpha coefficients (Cronbach, 1951). The function expects alpha coefficients as input.
cocron.n.coefficients(alpha, n, items =NULL, dep =FALSE, r =NULL, los =0.05, conf.level =0.95)
Arguments
alpha: A numeric vector containing the alpha coefficients.
n: A numeric vector containing the number of individuals who provided the data for the test for which alpha coefficients were determined.
items: A numeric vector containing the number of items the alpha coefficients are based on.
dep: A logical indicating whether the alpha coefficients are based on dependent groups of individuals (default is FALSE).
r: A matrix that contains in the upper triangle all correlations between the scores the alpha coefficients are based on (see examples). Only required if the alpha coefficients are computed for dependent groups of individuals (dep = TRUE).
los: A number indicating the level of significance (default is .05).
conf.level: A number defining the level of confidence for the confidence intervals of the alpha coefficients (default is .95; see cronbach.alpha.CI ). The confidence intervals serve as additional information only, they are not used for the test of significance.
Returns
Returns an object of the class "cocron.n.coefficients" with the following slots: - alpha: Input parameter
n: Input parameter
items: Input parameter
dep: Input parameter
r: Input parameter
los: Input parameter
conf.level: Input parameter
statistic: The value of the test statistic
distribution: The distribution of the test statistic
df: The degrees of freedom of the distribution of the test statistic
p.value: The p-value of the test
conf.int: The confidence intervals of the alpha coefficients
Details
To compare n dependent or independent alpha coefficients (Cronbach, 1951), the methods by Feldt, Woodruff, and Salih (1987) are implemented.