R/qemq.R

qemq <-
function (q, ncp = 0, s = 1) 
{
    if (s <= 0) 
        stop("scaling parameter must be strictly >0.")
    (2 * q - 1)/sqrt(2 * q * (1 - q)) * s + ncp
}

Try the expectreg package in your browser

Any scripts or data that you put into this service are public.

expectreg documentation built on March 18, 2022, 5:57 p.m.