Secondly, the traits were constructed by adding up the trait-specific effect of the QTL and a residual component. Here, the trait-specific effect of the QTL was assumed to be additive and obtained by multiplying aj with the number of effect (minor) alleles. The residual component was simulated from a multivariate normal distribution with mean zero and with variance-covariance structure: