Generate heteroskedastic Gaussian errors based on the norm of X.
norm_errors.Rd
Generate independent Gaussian errors with variance proportional to norm of row observations in the data matrix X. That is, epsilon_i ~ N(0, scale * ||x_i||_2^2).
norm_errors.Rd
Generate independent Gaussian errors with variance proportional to norm of row observations in the data matrix X. That is, epsilon_i ~ N(0, scale * ||x_i||_2^2).