Computes the mean of the distribution for each observation using numerical integration (quadrature) with caching to avoid redundant calculations.
calculateMeans(params, family = "gkw")
NumericVector containing the calculated means for each observation.
NumericMatrix with parameters (columns: alpha, beta, gamma, delta, lambda).
String specifying the distribution family (default: "gkw").