generate_stdzied_design_matrix: Generates a design matrix with standardized predictors.
Description
This function is useful for debugging.
Usage
generate_stdzied_design_matrix(n = 50, p = 1, covariate_gen = rnorm, ...)
Arguments
- n
Number of rows in the design matrix
- p
Number of columns in the design matrix
- covariate_gen
The function to use to draw the covariate realizations (assumed to be iid).
This defaults to rnorm
for $N(0,1)$ draws.
- ...
Optional arguments to be passed to the covariate_dist
function.