predict_normal function

Simulate Normal Values

Simulate Normal Values

This internal function simulates covariate values from a normal distribution.

predict_normal(x, mean, est_sd = NA)

Arguments

  • x: Integer specifying the number of observations to be simulated.
  • mean: Numeric scalar specifying the mean of the distribution.
  • est_sd: Numeric scalar specifying the standard deviation of the distribution.

Returns

Numeric vector of simulated covariate values under the normal distribution.