This internal function simulates covariate values from a normal distribution truncated on one side.
predict_trunc_normal(x, mean, est_sd, a, b)
Numeric vector of simulated covariate values under the truncated normal distribution.
Integer specifying the number of observations to be simulated.
Numeric scalar specifying the mean of the distribution.
Numeric scalar specifying the standard deviation of the distribution.
Numeric scalar specifying the lower bound of truncation.
Numeric scalar specifying the upper bound of truncation.