Description Usage Arguments Details Value References Examples
Polyserial correlation coefficient is a correlation coefficient used when one variable is continuous and the other variable is dichotomous. Taken and adapted from psych::polyserial
1 | polyserial_cor(x,y)
|
x |
a numeric vector representing the continuous variable. |
y |
a numeric vector representing the dichotomous variable. |
The coefficient is calculated from
ρ = r_{xy} * √{(n - 1)/n} * s_y/∑{φ(τ)}
where
r_{xy}
is the coefficient of correlation of Pearson coefficient, S_y is the standard deviation of Y, and
φ(τ)
are the ordinates of the normal curve at the normal equivalent of the cut point boundaries between the item responses. This function was adapted from ltm_1.0 package.
the value of the polyserial correlation.
U.Olsson, F.Drasgow, and N.Dorans (1982). The polyserial correlation coefficient. Psychometrika, 47:337-347.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.