Sensible choice of parameters to simulate a continuous outcome
Published:
Let’s say you want to make a simulation study to explore Method C (C for cool, because that is the best descriptor of your method). Your method assumes a continuous outcome $Y$ and a linear relationship with the vector $X$ through some coefficients $\beta$. Yes, this is the linear regression setup. You open your favorite coding program and start thinking. Ok, so you start by generating a matrix of covariates $X$. These covariates have a correlation matrix $\Sigma$. You think to yourself, I’m doing great, almost done. You are very proud because you have the mean of $Y$ perfectly specified. The only thing that you need is $\beta$. Is it? Read more