- Research article
- Open Access
- Published:

# Full sib pens of pigs are not suitable to identify variance component of associative effect: a simulation study using Gibbs Sampling

*BMC Genetics*
**volume 10**, Article number: 9 (2009)

## Abstract

### Background

Accounting for and quantifying the associative effect of each animal could improve both welfare of animals and response to selection. Because of the limitation of REML, Gibbs Sampling could be an alternative technique to estimate the variance component of the associative effect. The objective of this study was to investigate the estimation accuracy of the variance component of associative effect by using simulation via Gibbs Sampling. The simulated data comprised five generations of pigs. The breeding animals of each generation were selected randomly. In the simulation, variations were introduced for the methods of assigning pens (random, mixed sib and full sib), the number of pigs per pen (5 or 10), the number of breeding animals per generation (162 or 324) and the correlation between genetic direct effect and genetic associative effect (-0.5, 0.1 or +0.5). Each set of simulation was run for 30 replications.

### Results

Random assignment or mixed sib assignment resulted in bias of estimated variance components in only 3 of 24 combinations. Furthermore, these 3 cases occurred with 162 breeding animals. With full sib assignment, 9 out of 12 groups of estimates significantly deviated from the true parameter value. The Root Mean Square Errors obtained with the full sib assignment were higher than with the other two methods of pen assignment in most of the cases. The Root Mean Square Errors obtained with datasets with 324 breeding animals were notably smaller than the datasets from 162 breeding animals. Within each method of pen assignment, the relative bias of the associative effect was significantly smaller with group size 10 than with group size 5.

### Conclusion

Full sib assignment caused difficulties to estimate variance components in most of the cases, due to a lack of identifiability. With random and mixed assignment, most data structures yielded unbiased results but increasing the number of breeding animals or group size improves the estimation. Thus to get identifiable and unbiased estimates of the genetic associative effect, it is recommended to avoid close genetic relationship between animals within one pen and to use sufficient numbers of breeding animals and sufficient group sizes.

## Background

Social interactions are commonly observed among group housed livestock and some of them have negative effects, such as: aggressive behaviour for social rank and competition for limited resources (food, water, space). These interactions may become more important when resources are more restricted leading to increase of injuries and decrease of productivity [1, 2]. Artificial selection ignoring these interactions has been proven to result in a suboptimal selection response [3, 4]. Thus quantifying and accounting for the interaction among animals could improve both the welfare of animals and the response to selection.

According to Griffing [3], the interaction among animals is defined as a competitive effect. The genetic direct effect refers to the effect of the genes of the individual itself and is expressed in its own phenotype. Instead, the genetic associative effect of an animal refers to genes that influence the performance of its penmates. Attempts have been made to estimate both the genetic direct effect and the genetic associative effect using performance and pedigree data (breeding value estimation). Estimation of the magnitude of the associative effect has been performed employing Restricted Maximum Likelihood (REML) [5–7]. However, the REML estimator relies on an asymptotic distribution, which means the inferences are valid strictly for a sample of infinite size [8–10]. Therefore it is difficult to calculate reliable confidence intervals around REML variance components parameters.

Implementation of Bayesian method may provide a valuable alternative. Bayesian Markov Chain Monte Carlo (MCMC) methods have been introduced to quantitative genetics since the early 1990s [9]. Gibbs Sampling has been frequently applied to animal breeding and plant breeding [11]. However, until now few studies have been undertaken to investigate the accuracy of the estimation of the associative effect via Gibbs Sampling [8]. Moreover, the impact of the data structure affected by methods to assign pigs to pens, group size (pigs/pen) or the population size simultaneously on the estimation of variance components has not yet been studied.

The objective of this study was to investigate the accuracy of the posterior means of variance components in relation to the (genetic) relationships among penmates, the number of pigs per pen and the variation of the number of breeding animals.

## Results

### Simulation results

In this study, datasets were simulated for 36 combinations of parameters. Each set of parameters was replicated 30 times. Simulations were programmed in R 2.5.1 [12] and performed on the cluster computer 'VIC' at the K. U. Leuven.

### Posterior distribution

Initial tests indicated that a total length of the Gibbs chain of 550000 was sufficient. The burn-in period was fixed at 50000, which means that the first 50000 samples were discarded. To reduce the correlation between Gibbs samples, a conservative thinning rate of 500 was used. Therefore, 1000 Gibbs samples of each chain were saved. Geweke and Gelman diagnostics were used to access the convergence of Gibbs Samples. With respect to full sib assignment, less than 33% of the replications gave a diagnostic value around 1.2, whereas 95% of the replications with the random and mixed sib assignment had a diagnostic value around 1.02.

The density plots of Gibbs samples of the variance of the genetic associative effect from two chains were shown in figure 1. The overlap observed in the density plot indicates convergence of the Gibbs sampling process. The mean of the Gibbs Samples was used as the estimated value for each replication. Thus, for each combination of parameters, we obtained 30 estimates for each variance component.

### Confirmation of theoretical justification

Estimation with a model considering only genetic direct effect (and *e*) yielded ${\widehat{\sigma}}_{d}^{2}$ = 1699.40, ${\widehat{\sigma}}_{e}^{2}$ = 3830.93. Compared with the true parameter set: ${\sigma}_{d}^{2}$ = 1250, *σ*_{
ad
}= 140, ${\sigma}_{a}^{2}$ = 62.5 and ${\sigma}_{e}^{2}$ = 3687, the estimations of both ${\sigma}_{d}^{2}$ and ${\sigma}_{e}^{2}$ were inflated. It confirms that ignoring the genetic associative effect results in bias of estimations of the other variance components.

### Parameter estimates

The mean and the standard error of estimated values (*d, a, cov* and *e*) from 30 replications were presented in table 1. With full sib assignment we observed only 1 out of 12 groups where all estimates did not significantly deviate from the true parameter values. The only exception where full sib assignment yielded unbiased results was with S_{324} (324 breeding animals per generation), a correlation of 0.5 and group size of 5. Moreover, most of the standard errors calculated from the combinations with full sib assignment were high compared to the other two methods of assignment.

With S_{324}, estimates obtained from random pen assignment or mixed sib pen assignment with different group sizes and correlations were not significantly different from the true parameter values. When there were 162 breeding animals per generation, 3 estimates were significantly different from the true parameter values at the 5% significance level (p-value < 0.05). This occurred with the following combinations: random pen assignment, correlation 0.1 and group size 5; mixed sib assignment, correlation 0.1 and group size 10; mixed sib assignment, correlation -0.5 and group size 5.

### Root Mean Square Error (RMSE)

The RMSE of the variance of associative effect obtained from 36 parameter sets were shown in figure 2(a) and 2(b). The RMSE was smaller with S_{324} compared to the cases with S_{162}, but not significantly different (p-value = 0.06). Within the same number of breeding animals, the RMSE obtained from group size 5 were significantly higher than the cases from group size 10 (S_{162:} p-value = 0.03; S_{324:} p-value = 0.005). Within the same level of group size, the RMSE of random sib assignment (p1) are not significantly different from the mixed sib assignment (p2) (group size 5: p-value = 1; group size 10: p-value = 0.26).

With the method of full sib assignment (p3) and the following combinations, datasets yielded higher RMSE compared to assignment methods p1 and p2: S_{324}, correlation -0.5; S_{324}, correlation +0.1; S_{162}, correlation +0.1; S_{162}, correlation +0.5. The RMSE from the full sib assignment depended on correlations, indicating that there may be an association between full sib assignment and "correlation" (between *d* &*a*) on the uncertainty of estimates for the associative effect.

### Percent relative bias

The results from MANOVA test of relative bias showed a significant interaction between the number of breeding animals, the method of pen assignment and the correlation (Wilk's Lambda test: F value = 2.21, p-value = 0.0037). Interaction between pen assignment method and group size (Wilk's Lambda test: F value = 9.04, p-value < 0.0001) was also significant at the family wise significance level of 0.1 (the significance level for the individual test is 0.006).

With random assignment, the relative bias of the associative effect was not significantly different between three correlations and two numbers of breeding animals (figure 3). For the mixed sib assignment with correlation +0.5, the relative bias of the associative effect for S_{324} was significantly smaller than the case for S_{162} (difference = 0.06, p-value = 0.005) (figure 3).

The plot for full sib assignment (figure 3) illustrated that there was no significant difference between S_{162} and S_{324} when the correlation equalled -0.5 (p-value = 0.2531) (figure 3). However, the difference became significant when the true correlation equalled 0.1 or +0.5 (correlation = +0.1, p-value = 0.0014; correlation = +0.5, p-value < 0.0001). When the true correlation was +0.5, the relative bias from S_{324} was significantly smaller, and when the true correlation was +0.1, the relative bias from S_{324} was significantly larger than from S_{162}.

The relative bias of the variance of associative effect obtained from group size 10 was smaller than from group size 5 for each pen assignment method (figure 4). The difference was confirmed by contrast tests (random assignment: -0.047, p-value < 0.0001; mixed full sib assignment: -0.064, p-value < 0.001; full sib assignment: -0.133, p-value < 0.001). With group size 10 or 5, the difference of relative bias between random assignment and mixed full sib assignment was not significant. With group size 10, relative bias of the associative effect obtained from full sib assignment was 0.045 higher than from random assignment (p-value < 0.0001) and 0.132 higher than from random assignment with group 5 (p-value < 0.0001).

## Discussion

In this study, we simulated average daily gain of pigs for 36 data structures combining 4 parameters; the number of breeding animals per generation, correlation between *d* &*a*, methods of pen assignment and group size. The simulated pedigree structure of 5 generations represented a realistic breeding scheme.

Our results showed that ignoring the genetic associative effect led to overestimations of ${\sigma}_{d}^{2}$ and ${\sigma}_{e}^{2}$, which was in agreement with Cappa and Cantet [13]. In our study, *σ*_{
ad
}was set to +140 in the simulation. As mentioned in the method part, the biases of ${\sigma}_{d}^{2}$ and ${\sigma}_{e}^{2}$ consist of the sum of two terms: $\left({\displaystyle \sum _{j=1}^{4}{A}_{A{Q}_{j}}+{\displaystyle \sum _{i=1}^{4}{A}_{B{P}_{i}}}}\right){\sigma}_{ad}$ and $\left({\displaystyle \sum _{i=1}^{4}{\displaystyle \sum _{j=1}^{4}{A}_{{P}_{i}{Q}_{j}}}}\right){\sigma}_{a}^{2}$. Thus these two terms and the sum of them were all positive, which inflated the estimations of ${\sigma}_{d}^{2}$ and ${\sigma}_{e}^{2}$.

Cappa and Cantet performed a simulation of genetic associative effect among forest trees using Gibbs Sampling [13]. In their study, simulation parameters were ${\widehat{\sigma}}_{d}^{2}$ = 12.553, ${\widehat{\sigma}}_{ad}$ = -3.126, ${\widehat{\sigma}}_{a}^{2}$ = 1.259 and ${\widehat{\sigma}}_{e}$ = 5.189. When the genetic associative effect was excluded from the model, ${\widehat{\sigma}}_{d}^{2}$ was 10.644 and ${\widehat{\sigma}}_{e}^{2}$ was 9.257, i.e., was overestimated. The reason was that *σ*_{
ad
}used in their study had a negative value. Thus the biases of ${\sigma}_{d}^{2}$ and ${\sigma}_{e}^{2}$ depended on the magnitude of $\left({\displaystyle \sum _{j=1}^{4}{A}_{A{Q}_{j}}+{\displaystyle \sum _{i=1}^{4}{A}_{B{P}_{i}}}}\right){\sigma}_{ad}$ and $\left({\displaystyle \sum _{i=1}^{4}{\displaystyle \sum _{j=1}^{4}{A}_{{P}_{i}{Q}_{j}}}}\right){\sigma}_{a}^{2}$. When the magnitude of the second term was larger than the first term, the biases were positively inflated.

With full sib assignment, 11 out of 12 combinations showed biased estimations at the 1% significance level. Random assignment or mixed sib assignment resulted in bias of estimated variance components in only 3 of 24 combinations. Moreover, all these three biased results were found with 162 breeding animals only. Thus random composition and mixed sib composition of pen groups resulted in unbiased estimates of variance components. The more penmates are genetically related, the more difficult it is to separate variance components. Estimation accuracy benefits from larger numbers of breeding animals.

Cantet and Cappa have pointed out recently that models with genetic direct effect and genetic associative effect may face the problem of identifiability [14]. Identifiability means that parameters are weakly identified because the data provide little information [15]. Bayesian non-identifiability is equivalent to lack of identifiability in likelihood [15]. Cantet and Cappa have shown that the variance components are identifiable only and only if the smallest eigenvalue of the restricted maximum likelihood (REML) information matrix is positive.

To investigate the identifiability of the cases which resulted in biased estimations, we selected several pairs of pens from the simulated data randomly with full sib assignment and calculated the eigenvalues of information matrix using the method introduced by Cantet and Cappa. The genetic relationship coefficients between pigs in different pens ranged from 0.02 to 0.07. The results indicated that two eigenvalues of the information matrix were zero, i.e. the information matrix is singular and parameters can not be estimated separately. Thus we suspect that the biased estimations of the parameters with full sib assignments are due to the lack of the identifiability.

In Cantet and Cappa's study, the problem of identifiability was related to the confounding between the genetic associative effect and fixed pen effect. In our study, we did not include a variance component for pens in the simulation model. It implied that not only the fixed pen effect, but also the assignment methods play a role in identifying variance components separately. Cantet and Cappa have illustrated this in a theoretical way. We confirmed this by the simulation. In addition, Cantet and Cappa suggested an alternative model with different intensities of competition for each animal by exchanging animals between pens time by time. Although it could improve the identifiability theoretically, it is difficult to implement this in reality.

Gelfand and Sahu mentioned that a consequence of a non-identifiable model is the possibility of drifting which could result in the difficulty of convergence. In our study the Gelman diagnostics computed on Gibbs chains with full sib assignment were slightly above 1 for about one third of the replicates. This may indicate the poor convergence in some replicates. Both the biased estimates and a poor quality of convergence may be due to the identifiability issue.

Our results obtained by Gibbs Sampling confirmed the results of the study of Bijma and Muir's using ASREML [16]. They also investigated the data structure used by Wolf [17] and found that the variance of genetic associative effect was not identifiable when group members had a strong genetic relationship. They suggested using random composition of pens. We also found that the variance components obtained with the full sib assignment were biased. In addition, not only random assignment but also mixed sib assignment provided unbiased estimations of variance components in most cases.

Within each method of pen assignment, the relative bias of the variance of associative effect was significantly smaller with group 10 than group size 5. It indicates that estimations with larger group size produce smaller relative bias than smaller group size.

With respect to the uncertainty of estimations, most RMSE obtained with the method of full sib assignment were considerably larger than cases with the other two methods of pen assignments, which was inconsistent with the results of Van Vleck [18]. Van Vleck simulated data with similar pen assignment methods: full sib assignment, random assignment and mixed full sib assignment (half of the penmates are full sibs from one litter and the other half from another litter). He found that there was no problem to separate variance components for all these three methods of pen assignments and the standard deviation obtained from the full sib assignment was the smallest among the three pen assignments. In our results, it was hard to separate *d & a* and the standard deviation of *a* was large in the most cases. However, the estimation was unbiased with the combination: correlation +0.5, S_{324} and full sib assignment. Furthermore, the RMSE obtained from that combination was also similar to the other combinations with full sib assignment. Van Vleck [18] only looked at the influence of assignment methods without varying any of the other parameters that we simulated. We also found one combination of parameters that gave unbiased results. But the other 11 combinations showed problems obviously. It is concluded that in general full sib assignment should be avoided to generate data from which an associative effect is to be estimated.

## Conclusion

It is concluded that ignoring the genetic associative effect causes biased variance components which could lead to unrealistic selection perspective. The estimation of the genetic associative effect via Gibbs Sampling is dependent on the data structure. Investigation of the required minimum number of breeding animals per generation and the number of penmates per pen is therefore warranted before starting real experiments. Furthermore, full sib assignment should be avoided as an experimental design to determine associative effect.

## Methods

### Simulation model

Datasets were simulated for a pure bred population and a single trait (average daily gain of pigs, g/day). The phenotype of individuals was composed of heritable and non-heritable effects. We assumed the associative effect to be (partially) genetic and expressed in the performance of the penmates. The simulation model included one fixed effect (sex) and three random effects: genetic direct effect, genetic associative effect and random error [16].

*Y* = *Xb* + *Z*_{
d
}*d* + *Z*_{
a
}*a* + *e*

Y represented the average daily gain of the pig; *b* indicated the effect of sex on the average daily gain (+20 for males and -20 for females); *d* represented the genetic direct effect; *a* represented the genetic associative effect, affecting the growth of penmates; *e* represented the independent random residual of the individual pig; X, *Z*_{
d
}, *Z*_{
a
}were incidence matrix of each effect corresponding to each individual.

It was assumed that the random effects follow a multivariate normal distribution:

${\sigma}_{d}^{2}$, ${\sigma}_{a}^{2}$ were the variances of genetic direct effect and genetic associative effect respectively; *σ*_{
da
}was the covariance between *d* &*a*; ${\sigma}_{e}^{2}$ was the variance of the random residuals, accounting for the non-genetic effect. It was assumed that the residuals of each pig are independent. A represented the numerator relationship matrix, which accounted for the pedigree information of animals. Σ was the variance-covariance matrix of random effects *d, a* and *e*. G was the variance-covariance matrix of genetic effects *d* and *a*.

For an individual pig *i*, the average daily gain was simulated as

*d*_{
i
}denoted the genetic direct effect of the individual *i*; *a*_{
ji
}denoted the genetic associative effect coming from the *j*^{th}penmate of the *i*^{th}individual; *p* denoted the number of penmates of the *i*^{th}individual; *e*_{
i
}denoted the random residual of the *i*^{th}individual.

Based on the Cholesky decomposition [19], G was separated into a product of a matrix and its transpose. For the animals from the base generation, *d* and *a* were simulated using the partitioned matrix obtained from G multiplied by standard random normal deviates. For the following generations (progeny), *d* and *a* were the sum of the average of the *d* and *a* of the parents and a random Mendelian sampling term. *e* was simulated as the deviation of random residuals multiplied by a standard random normal deviate.

### Simulation structure

Simulation included five generations of pigs, and breeding animals for each generation were selected randomly. Litter size followed a normal distribution varying from 2 to 20 with mean equal to 9 and standard deviation equal to 2.6. Sex effect was simulated assuming a uniform distribution, i.e. the probability of male or female was 50%. Since litter size was not fixed, the total number of animals in each replication was not fixed.

In order to investigate the impact of the data structure on the estimation of variance components, a number of data sets were simulated. The influence of pen composition (assignment of pigs to pens), group size (pigs/pen), number of breeding animals and the covariance (cov) between *d & a* were examined. Three different scenarios were used to assign pigs to pens. The first scenario was to assign pigs randomly (p1). The second one was to assign half of the pens with full sibs and the other half non full sibs (p2) and the third one was to assign full sibs per pen (p3) [6, 20]. Within each pen assignment scenario, 162 and 324 breeding animals (S_{162} and S_{324}), two different group sizes (5 and 10) and three different correlations between d & a (-0.5, +0.1, +0.5) were specified.

### Statistical methods

Variance components were analysed using the Multiple Trait Gibbs Sampler for Animal Models (MTGSAM) [11] and applying the same statistical model as the one used for simulation. In its original version, MTGSAM could only handle models with direct and maternal genetic effects. For this study we modified the program and extended it to include the genetic associative effect.

Two Gibbs chains using different sets of starting values were run to check the convergence. The Geweke and Gelman diagnostic [21, 22] were applied to determine the convergence of two Markov chains. For further analysis, results were summarized over 30 replicates (mean and standard errors were calculated from the 30 groups of posterior means of variance components). Both the Wilcoxon rank sum test and Student t-test were used to test the deviation of the mean from the real parameter values. Root Mean Square Error (RMSE) was used to measure the uncertainty of the estimated values. The RMSE of the estimator $\widehat{\theta}$ was calculated as [23]:

where $\widehat{\theta}$ is the estimated value of parameters obtained in each replication; *θ* is the true value used for simulation and n is the number of replications.

The accuracy of the parameter estimates was quantified by the percent relative bias. The percent relative bias was calculated as $\frac{\widehat{\theta}-\theta}{\theta}$[24]. To study the effects of pen assignment, group size, number of breeding animals and the correlation between *d* &*a* simultaneously on the percent relative bias of the four variance components (d, cov, a and e), multivariate analysis of variance (MANOVA) was used (GLM, SAS 9.1.3) [25].

### Theoretical justification for including genetic associative effect

Ignoring the genetic associative effect (if present in the data) will often result in biases of variances of genetic direct effect (${\sigma}_{d}^{2}$) and random residual (${\sigma}_{e}^{2}$) [13]. Looking into the genetic covariance between animals may help to explain the bias. Suppose animal A has penmates *P*_{1},...,*P*_{4}, animal B has penmates *Q*_{1},...,*Q*_{4}, and A and B are from two different pens. Based on the statistical model that we used the genetic covariance between A and B was:

If we consider A and B to be half sibs, then the genetic relationship between A and B is 0.25, i.e. *A*_{
AB
}= 0.25. To make sure that the covariance between A and B is an unbiased estimation of ${\sigma}_{d}^{2}$, $\left({\displaystyle \sum _{j=1}^{4}{A}_{A{Q}_{j}}}+{\displaystyle \sum _{i=1}^{4}{A}_{B{P}_{i}}}\right){\sigma}_{ad}+\left({\displaystyle \sum _{i=1}^{4}{\displaystyle \sum _{j=1}^{4}{A}_{{P}_{i}{Q}_{j}}}}\right){\sigma}_{a}^{2}$ should be zero. If *σ*_{
ad
}and ${\sigma}_{a}^{2}$ are not equal to zero, the coefficients related to *σ*_{
ad
}and ${\sigma}_{a}^{2}$ should be zero. That means animal A is unrelated to the penmates of B and animal B is unrelated to the penmates of A. Moreover, there should be no genetic relationships between penmates *P*_{1},...,*P*_{4} and *Q*_{1},...,*Q*_{4}. However, it is unrealistic to assume that all animals are genetically unrelated. Thus the terms related to *σ*_{
ad
}and ${\sigma}_{a}^{2}$ will be non-zero and affect the estimation of ${\sigma}_{d}^{2}$. The magnitude of bias depends on the magnitude of the terms related to *σ*_{
ad
}and ${\sigma}_{a}^{2}$. Only when $\left({\displaystyle \sum _{j=1}^{4}{A}_{A{Q}_{j}}}+{\displaystyle \sum _{i=1}^{4}{A}_{B{P}_{i}}}\right)$*σ*_{
ad
}and $\left({\displaystyle \sum _{i=1}^{4}{\displaystyle \sum _{j=1}^{4}{A}_{{P}_{i}{Q}_{j}}}}\right)$${\sigma}_{a}^{2}$ have the same magnitude and opposite sign, the bias is zero.

To investigate the bias of ${\sigma}_{e}^{2}$, consider animals A and B have no genetic relationship, i.e. *A*_{
AB
}= 0. If the genetic associative effect is ignored, the variation caused by *σ*_{
ad
}and ${\sigma}_{a}^{2}$ will flow into the variance of the residual variance ${\sigma}_{e}^{2}$ leading to bias of ${\sigma}_{e}^{2}$. In order to reduce the bias introduced by *σ*_{
ad
}and ${\sigma}_{a}^{2}$, one possibility is to have $\left({\displaystyle \sum _{j=1}^{4}{A}_{A{Q}_{j}}}+{\displaystyle \sum _{i=1}^{4}{A}_{B{P}_{i}}}\right)$ and $\left({\displaystyle \sum _{i=1}^{4}{\displaystyle \sum _{j=1}^{4}{A}_{{P}_{i}{Q}_{j}}}}\right)$ equal to zero, which is unrealistic as mentioned before. Similarly, the bias of estimation of ${\sigma}_{e}^{2}$ depends on the magnitude of $\left({\displaystyle \sum _{j=1}^{4}{A}_{A{Q}_{j}}}+{\displaystyle \sum _{i=1}^{4}{A}_{B{P}_{i}}}\right)$*σ*_{
ad
}and $\left({\displaystyle \sum _{i=1}^{4}{\displaystyle \sum _{j=1}^{4}{A}_{{P}_{i}{Q}_{j}}}}\right)$${\sigma}_{a}^{2}$. It could be zero when the magnitudes of them are equal with opposite sign.

To confirm this, we took the simulation data obtained from the parameter combination of group size 5, correlation 0.5, 324 breeding animals and mixed full sib assignment. The estimation with a model considering only genetic direct effect and random residual was compared to the true value of simulation parameters.

## References

- 1.
Siegel HS: Stress, Strains and Resistance. British Poultry Science. 1995, 36: 3-22. 10.1080/00071669508417748.

- 2.
Muir WM: Indirect selection for improvement of animal Well-being. Edited by: Muir WM, Aggrey SE. 2003, Wallingford, U.K: CABI, 247-255.

- 3.
Griffing B: Selection in Reference to Biological Groups. I. Individual and Group Selection Applied to Populations of Unordered Groups. Australian Journal of Biological Sciences. 1967, 20: 127-139.

- 4.
Muir WM: Incorporation of competitive effects in forest tree or animal breeding programs. Genetics. 2005, 170: 1247-1259. 10.1534/genetics.104.035956.

- 5.
Arango J, Misztal I, Tsuruta S, Culbertson M, Herring W: Estimation of variance components including competitive effects of Large White growing gilts. Journal of Animal Science. 2005, 83: 1241-1246.

- 6.
Ellen ED, Muir WM, Teuscher F, Bijma P: Genetic improvement of traits affected by interactions among individuals: sib selection schemes. Genetics. 2007, 176: 489-499. 10.1534/genetics.106.069542.

- 7.
Van Vleck LD, Cassady JP: Unexpected estimates of variance components with a true model containing genetic competition effects. Journal of Animal Science. 2005, 83: 68-74.

- 8.
Cappa EP, Cantet RJC: Bayesian inference for normal multiple-trait individual-tree models with missing records via full conjugate Gibbs. Canadian Journal of Forest Research-Revue Canadienne de Recherche Forestiere. 2006, 36: 1276-1285. 10.1139/X06-024.

- 9.
Sorensen D, Wang CS, Jensen J, Gianola D: Bayesian-Analysis of Genetic Change Due to Selection Using Gibbs Sampling. Genetics Selection Evolution. 1994, 26: 333-360. 10.1051/gse:19940403.

- 10.
Sorensen D, Gianola D: An Introduction to Likelihood Inference. Likelihood, Bayesian, and MCMC Methods in Quantitative Genetics. Edited by: Sorensen DA, Gianola D. 2002, New York: Springer-Verlag, 143-144.

- 11.
Van Tassell CP, Van Vleck LD: Multiple-Trait Gibbs Sampler for Animal Models: Flexible Programs for Bayesian and Likelihood-Based (Co)variance Component Inference. Journal of Animal Science. 1996, 74: 2586-2597.

- 12.
The R Project for Statistical Computing. [http://www.r-project.org/]

- 13.
Cappa EP, Cantet RJC: Bayesian estimation of direct and competitive additive (co)variance in individual mixed models. In 8th world Congress on Genetics Applied to Livestock Production. 2006

- 14.
Cantet RJC, Cappa EP: On identifiability of (co)variance components in animal models with competition effect. Journal of Animal Breeding and Genetics. 2008, 124: 371-381. 10.1111/j.1439-0388.2008.00743.x.

- 15.
Gelfand AE, Sahu SK: Identifiability, Improper Priors and Gibbs Sampling for Generalized Linear Models. Journal of the American Statistical Association. 1999, 94: 247-253. 10.2307/2669699.

- 16.
Bijma P, Muir WM, Ellen ED, Wolf JB, Van Arendonk JAM: Multilevel selection 2: Estimating the genetic parameters determining inheritance and response to selection. Genetics. 2007, 175: 289-299. 10.1534/genetics.106.062729.

- 17.
Wolf JB: Genetic architecture and evolutionary constraint when the environment contains genes. Proceedings of the National Academy of Sciences of the United States of America. 2003, 100: 4655-4660. 10.1073/pnas.0635741100.

- 18.
Van Vleck LD: Three designs for estimating variances due to competition genetic effects [abstract]. Journal of Animal Science. 2005, 83: 40-

- 19.
Roger AH, Charles RJ: Matrix Analysis. 1985, Cambridge: Cambridge University Press

- 20.
Wechsler B: Rearing Pigs in Species-specific Family Groups. journal of animal welfare. 1996, 5: 25-35.

- 21.
Gelman A, Rubin D: Inference From Iterative Simulation using Multiple Sequences. Statistical Science. 1992, 7: 457-511. 10.1214/ss/1177011136.

- 22.
Geweke J: Evaluating the Accuracy of Sampling-Based Approaches to the Calculation of Posterior moments. Bayesians Statistics 4. Edited by: Bernado JM, Berger JO, Dawid AP, Smith AFM. 1992, Oxford: Oxford University Press, 169-193.

- 23.
Lehmann EL, Casella G: Theory of Point Estimation. 1998, New York: Springer-Verlag

- 24.
Maas CJM, Hox JJ: Sufficient Sample Sizes for Multilevel Modeling. Methodology. 2005, 1: 86-92. 10.1027/1614-2241.1.3.85.

- 25.
Sas Institute Home Page. [http://www.sas.com/]

## Acknowledgements

The research was financially supported by IWT Vlaanderen, the Flemish Institute for the Promotion of Innovation through Science and Technology. We also thank the Pigbook (Vlaams Varkens stamboek) for financial support. Simulation and analyses were performed on the high performance cluster "VIC" of K. U. Leuven.

## Author information

### Affiliations

### Corresponding author

## Additional information

### Authors' contributions

JC carried out the simulation study, and drafted the manuscript. SJ conceived the study, participated in its design, and revised the manuscript. NB participated in conception, coordinated it and revised the manuscript. All authors read and approved the final manuscript.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

## About this article

### Cite this article

Cheng, J., Janssens, S. & Buys, N. Full sib pens of pigs are not suitable to identify variance component of associative effect: a simulation study using Gibbs Sampling.
*BMC Genet* **10, **9 (2009). https://doi.org/10.1186/1471-2156-10-9

Received:

Accepted:

Published:

### Keywords

- Root Mean Square Error
- Group Size
- Variance Component
- Random Assignment
- Breeding Animal