PROC MODEL generates incorrect Monte Carlo simulation results when a parameter covariance matrix is not supplied and BY processing is used


When all of the following conditions are met in the MODEL procedure:

the solution values are correct for the first by group, but they are incorrect for all subsequent BY groups.

To circumvent this problem, you can omit the BY statement and instead specify a separate SOLVE statement for each BY group.