R/data.R

#' Expectations of some random variables.
#'
#' E|z|, absolute value of standard Gaussian.
#' E(x_2), Rayleigh distribution, or chi with 2 degrees of freedom, x(2).
#' @keywords internal
expectation <- list(absZ = sqrt(2/pi), X2 = sqrt(2) * gamma(3/2))
rudazhang/plmr documentation built on Aug. 30, 2021, 5:43 p.m.