I am looking for an easy way to simulate panel data for a given variance-covariance matrix assuming the underlying data generating process is that of a fixed effects panel. In particular, I want to have control over:
(a) the correlation between the fixed effects and the independent variables
(b) the correlation between the independent variables.
The usual corr2data and drawnorm is unable to take care of it since it does not allow for the fixed effects to be the same for a given panel
(a) the correlation between the fixed effects and the independent variables
(b) the correlation between the independent variables.
The usual corr2data and drawnorm is unable to take care of it since it does not allow for the fixed effects to be the same for a given panel
Comment