functions to save space in their parent functions by moving the validation checks here
validate_questionnaire_gen(
n_cats,
n_vars,
n_X,
n_W,
theta,
cat_prop,
cor_matrix,
cov_matrix,
c_mean,
c_sd
)
vector with number of categories for each categorical variable (W)
number of variables (Y, X and W)
number of continuous background variables (X)
number of categorical variables (W)
is there a latent variable (Y)?
list of vectors with the cumulative proportions of the background variables
correlation matrix of YXW
covariance matrix of YXW
vector of means of all variables (YXW)
vector of standard deviations of all variables (YXW)