corr.nn4on

0th

Percentile

Finds polyserial correlation for given the correlation for an ordinal-normal pair.

This function computes the polyserial correlation given the specified correlation for a pair of ordinal and normal variables (point-polyserial correlation).

Usage
corr.nn4on(p, ON.cor)
Arguments
p

A vector of probabilities for an ordinal variable. The i-th element of the pvec is the cumulative probability defining the marginal distribution of the ordinal variable. If the variable has k categories, the i-th element of p will contain k-1 probabilities. The k-th element is implicitly 1.

ON.cor

Pre-specified correlation for a pair of ordinal-normal variables.

Value

A tetrachoric correlation coefficient.

Aliases
  • corr.nn4on
Examples
# NOT RUN {
corr.nn4on(c(0.33, 0.66), 0.22)
# }
Documentation reproduced from package PoisBinOrdNor, version 1.6.1, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.