Assuming a Gaussian latent data distribution (given x), compute the CDF on a grid of points
Fz_fun(z, weights = NULL, mean_vec = NULL, sd_vec)
CDF of z evaluated at z
vector of points at which the CDF of z is evaluated
n
-dimensional vector of weights; if NULL,
assume 1/n
n
-dimensional vector of means; if NULL,
assume mean zero
n
-dimensional vector of standard deviations