Background {#Sec1}
==========

Crossbreeding is widely used in pig production because of the benefits of heterosis effects and breed complementarity. Commonly, sire lines, for example Duroc or Pietrain lines, are bred for production traits such as feed efficiency, growth and meat content, whereas maternal lines, for example Landrace and Yorkshire lines, are also bred for reproduction and longevity traits. The production traits give value to farmers in the finishing units, whereas the reproduction and longevity traits give value to farmers in the sow units. To benefit from heterosis effects in all production units, a crossbreeding system that is often used is a terminal three line system where two maternal lines are mated to produce crossbred sows, which then are mated to a sire line to produce three-way crossbred pigs for the production of meat. For example, in the DanBred production system, the maternal lines Danbred Landrace (L) and Danbred Yorkshire (Y) are mated to produce two-way crossbred Landrace--Yorkshire (LY) sows, which are then mated to sire line Danbred Duroc (D) boars, resulting in three-way crossbred Duroc-Landrace--Yorkshire (DLY) pigs.

Heterosis is caused by non-additive gene actions \[[@CR1]\] and is one reason for the difference between performances of purebreds and crossbreds. In addition, there may be systematic differences in the environments of, for example, nucleus herds and finisher herds. For these reasons, selecting animals for high purebred performance may not result in selecting those that lead to high-performance crossbred offspring in a specific crossbreeding scheme. An approach to handle this is to define two breeding values for purebred animals, the usual breeding value for purebred performance (mating within breed) and an alternative breeding value for crossbred performance (mating with the other breed), as in Wei and van der Werf \[[@CR2]\], and then select based on an index of the two estimated breeding values (EBV) \[[@CR3], [@CR4]\]. These two breeding values are correlated, with the correlation depending on the size of non-additive genetic effects in combination with differences in allele frequencies between lines, and possibly in addition, on genotype by environment interactions.

Non-additive genetic effects are usually not incorporated into models for genetic evaluation for at least two reasons. First, to accurately estimate dominance genetic variance and dominance genetic effects based on pedigree-based relationships, very large data sets with a high proportion of full-sibs are required \[[@CR5]\]. Second, with pedigree-based relationships, specification and computation of non-additive genetic relationship matrices are difficult \[[@CR6]\]. However, with genomic relationships instead of pedigree relationships, the story is different. Recently, pig breeding organisations have introduced genomic selection in their breeding schemes, and genetic evaluation is based on models that include genomic information. The focus has primarily been on additive genetic models and records on purebreds \[[@CR7]\], but there has been increasing scientific interest in models with dominance genetic effects, and in combining purebred and crossbred information \[[@CR8]--[@CR10]\]. Genomic data provide more information for accurate estimation of dominance genetic effects and, in addition, including dominance effects into the models has become less difficult in practice, since computing the genomic dominance relationship matrix only requires knowledge about whether marker genotypes are heterozygous or not \[[@CR8], [@CR11]\].

For genomic evaluation in a crossbreeding system with two purebred lines and a crossbred F1 population, Vitezica et al. \[[@CR12]\] introduced a flexible model, which contains both additive and dominance genotypic effects that are allowed to differ in purebreds and crossbreds, with correlations between them. Xiang et al. \[[@CR13]\] extended the model to include genomic inbreeding depression effects that are viewed as resulting from directional dominance effects, and also presented equations for the genetic variances, genetic covariance and genetic correlation between purebred and crossbred performances as functions of the parameters in the model. Both papers used the model to analyse litter size in pigs, and provided estimates of correlations between genotypic effects in purebreds and crossbreds for both additive and dominance genotypic effects. In Xiang et al. \[[@CR13]\], predictive performance for total genotypic effects was also investigated and it was found that including both inbreeding depression effects and dominance effects improved predictive performance. However, estimation of breeding values was not considered in these two papers. Moreover, to date, such a model has only been used on maternal lines and reproduction traits, and the model would need to be modified for production traits from a three-way crossing terminal system.

The aims of this study were to (1) present a modification of the model of Vitezica et al. \[[@CR12]\] and Xiang et al. \[[@CR13]\] for the case of a purebred sire line and three-way crossbred pigs; (2) based on this model, present equations for genetic variances, genetic covariance, and EBV for purebred and crossbred performance; (3) use the model to analyse four production traits, i.e. ultra-sound recorded backfat thickness, conformation score, average daily gain, and feed conversion ratio, recorded on Danbred Duroc and Danbred DLY pigs raised in the same environment; and (4) obtain estimates of genetic parameters, genetic correlations between purebred and crossbred performances, and EBV with associated accuracies for purebred and crossbred performances for this data set.

Methods {#Sec2}
=======

In this section we present successively (1) the model for genomic evaluation in the terminal crossbreeding system with purebred sire line and three-way crossbred animals; (2) an equivalent single nucleotide polymorphism (SNP) effects model and equations for genetic variances and covariance; (3) equations for EBV with associated accuracies; (4) the data used in this study; and (5) details of the data analysis.

Combined purebred and crossbred model {#Sec3}
-------------------------------------

The bivariate model with phenotypes on the sire line and three-way crossbred pigs considered as two correlated traits is:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathbf {y}_{p}&=\mathbf {X}_{p}{\varvec{\beta }}_{p}+\mathbf {f}_p\eta _p+\mathbf {S}_p\mathbf {l}_p+\mathbf {u}_{p}+\mathbf {v}_{p}+\mathbf {e}_{p}, \nonumber \\ \mathbf {y}_{c}&= \mathbf {X}_{c}{\varvec{\beta }}_{c} +\mathbf {f}_c\eta _c+ \mathbf {S}_c\mathbf {l}_c+\mathbf {u}_{c} + \mathbf {v}_{c} + \mathbf {e}_{c}, \end{aligned}$$\end{document}$$where the first equation, with subscripts *p* for purebred, is the sire line part of the model, and the second equation, with subscripts *c* for crossbred, is the three-way crossbred part of the model. For the sire line part of the model, vector $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {y}_{p}$$\end{document}$ contains phenotypes, vector $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\beta }}_{p}$$\end{document}$ contains fixed effects, matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {X}_{p}$$\end{document}$ relates animals with phenotypes to fixed effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$ is the inbreeding depression per unit of genomic inbreeding, vector $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {f}_{p}$$\end{document}$ is the vector of genomic inbreeding coefficients, vector $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {l}_p$$\end{document}$ contains random litter effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {l}_{p}\sim N(\mathbf {0},\sigma _{l,p}^{2}I)$$\end{document}$ with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {I}$$\end{document}$ being the identity matrix, matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {S}_p$$\end{document}$ relates animals to litters, vector $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{p}$$\end{document}$ contains additive genotypic effects that are assumed random, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{p}\sim N(\mathbf {0},\sigma _{u,p}^{2}\mathbf {G}_{p})$$\end{document}$ with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_{p}$$\end{document}$ defined below, vector $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{p}$$\end{document}$ contains dominance genotypic effects that are also assumed random, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{p}\sim N(\mathbf {0},\sigma _{v,p}^{2}\mathbf {D}_{p})$$\end{document}$ with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_{p}$$\end{document}$ defined below, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {e}_{p}$$\end{document}$ is the random residual error vector, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {e}_{p}\sim N(\mathbf {0},\sigma _{e,p}^{2}\mathbf {I})$$\end{document}$. For the three-way crossbred part of the model, notation and effects are defined as for the sire line part of the model.

The model is a modification of the model in Vitezica et al. \[[@CR12]\] and Xiang et al. \[[@CR13]\], where genetic effects $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{c}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{c}$$\end{document}$ are "biological effects". Additive and dominance relationships are specified across the sire line and the three-way crossbred pigs. The additive genomic relationship matrix is:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathbf {G}=\mathbf {M}\mathbf {M}^{{\mathrm{T}}}/(k/2), \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {M}$$\end{document}$ is the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$n\times k$$\end{document}$ allele content matrix with entries 1, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$0,\, -1$$\end{document}$ for genotypes 11, 12, 22, respectively, *n* is the total number of animals, *k* is the number of SNPs, and superscript T refers to the transpose of a matrix. The dominance genomic relationship matrix is:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathbf {D}=\mathbf {W}\mathbf {W}^{{\mathrm{T}}}/(k/4), \end{aligned}$$\end{document}$$where the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$n\times k$$\end{document}$ matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {W}$$\end{document}$ has entries 0, 1, 0 for genotypes 11, 12, 22, respectively. The genetic effects are correlated, i.e.$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\text {Var}}\left[ \begin{array}{c} \mathbf {u}_{p} \\ \mathbf {u}_{c} \\ \end{array} \right]= & {} \left[ \begin{array}{cc} \sigma _{u,p}^{2}\mathbf {G}_p &{} \sigma _{u,pc}\mathbf {G}_{pc} \\ \sigma _{u,pc}\mathbf {G}_{pc}^{{\mathrm{T}}} &{} \sigma _{u,c}^2\mathbf {G}_c \\ \end{array} \right] , \\ {\text {Var}}\left[ \begin{array}{c} \mathbf {v}_{p} \\ \mathbf {v}_{c} \\ \end{array} \right]= & {} \left[ \begin{array}{cc} \sigma _{v,p}^{2}\mathbf {D}_p &{} \sigma _{v,pc}\mathbf {D}_{pc} \\ \sigma _{v,pc}\mathbf {D}_{pc}^{{\mathrm{T}}} &{} \sigma _{v,c}^2\mathbf {D}_c \\ \end{array} \right] , \end{aligned}$$\end{document}$$with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_p$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_{pc}$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_c$$\end{document}$ being submatrices of matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}$$\end{document}$ in Eq. ([2](#Equ2){ref-type=""}) for purebreds, between purebreds and crossbreds, and for crossbreds, respectively, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_p$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_{pc}$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_c$$\end{document}$ being submatrices of matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}$$\end{document}$ in Eq. ([3](#Equ3){ref-type=""}) for purebreds, between purebreds and crossbreds, and for crossbreds, respectively. The correlation between genotypic additive effects is $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{u,pc}=\sigma _{u,pc}/\sqrt{\sigma ^2_{u,p}\sigma ^2_{u,c}}$$\end{document}$ and the correlation between genotypic dominance effects is $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{v,pc}=\sigma _{v,pc}/\sqrt{\sigma ^2_{v,p}\sigma ^2_{v,c}}$$\end{document}$.

The variance--covariance matrices of the genetic effects defined above are not immediately suitable for fitting the model using standard genetic evaluation software. However, the variance--covariance structure of the genetic effects in the model can equivalently be described as:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\text {Var}}\left[ \begin{array}{c} \mathbf {u}_{p} \\ \mathbf {u}_{p}^{\star } \\ \mathbf {u}_{c}^{\star } \\ \mathbf {u}_{c} \\ \end{array} \right] ={\varvec{\Sigma }}_u\otimes \mathbf {G},\ {\text {Var}}\left[ \begin{array}{c} \mathbf {v}_{p} \\ \mathbf {v}_{p}^{\star } \\ \mathbf {v}_{c}^{\star } \\ \mathbf {v}_{c} \\ \end{array} \right] ={\varvec{\Sigma }}_v\otimes \mathbf {D}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{p}^{\star }$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{c}^{\star }$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{p}^{\star }$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{c}^{\star }$$\end{document}$ are vectors of artificial random effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bigotimes$$\end{document}$ is the Kronecker product, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\Sigma }}_u$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\Sigma }}_v$$\end{document}$ are $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$2\times 2$$\end{document}$ variance--covariance matrices:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\varvec{\Sigma }}_u= & {} \left[ \begin{array}{cc} \sigma _{u,p}^{2} &{} \sigma _{u,pc} \\ \sigma _{u,pc} &{} \sigma _{u,c}^{2} \\ \end{array} \right] \ , \\ {\varvec{\Sigma }}_v= & {} \left[ \begin{array}{cc} \sigma _{v,p}^{2} &{} \sigma _{v,pc} \\ \sigma _{v,pc} &{} \sigma _{v,c}^{2} \\ \end{array} \right] . \end{aligned}$$\end{document}$$This formulation of the variance--covariance structure of the genetic effects using artificial random effects and Kronecker products makes it possible to fit the model using standard genetic evaluation software. The model is similar to the model in Vitezica et al. \[[@CR12]\] and Xiang et al. \[[@CR13]\], except that only phenotypes of the crossbreds and the paternal line are included here, that the maternal population consists of crossbreds, and that inbreeding depression effects were not included in Vitezica et al. \[[@CR12]\]. We name this model the genotypic model.

Inbreeding depression is incorporated in the model as a fixed effect, as in Xiang et al. \[[@CR13]\], where the inbreeding coefficient of an individual is the frequency of homozygous loci for that individual, i.e. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {f}_p=\mathbf {1}-\mathbf {W}_p\mathbf {1}/k$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {f}_c=\mathbf {1}-\mathbf {W}_c\mathbf {1}/k$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {1}$$\end{document}$ is a vector with all elements being 1.

Note that for the three-way crossbred part of the model, additive and dominance effects for the three-way crossbred performance are assumed independent of the origin of the allele (sire line or crossbred sow population). An alternative would be a breed of origin effects model \[[@CR9], [@CR14]\], but this would require an accurate determination of the breed of origin of alleles, and also has been found to only to be beneficial in cases where traits have a combination of low heritability and low correlation between purebred and crossbred performance, and breeds are distantly related \[[@CR15]\]. Therefore, this was not studied here.

### Equivalent SNP effects model, and additive genetic variances and covariance {#Sec4}

For the derivation of equations for genetic variances and covariances, and for EBV with associated accuracies that are presented in the following subsection, it is more suitable to express the genotypic effects $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{c}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{c}$$\end{document}$ in model ([1](#Equ1){ref-type=""}) equivalently as functions of SNP effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{p}=\mathbf {M}_{p}\mathbf {a}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {u}_{c}=\mathbf {M}_{c}\mathbf {a}_{c}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{p}=\mathbf {W}_{p}\mathbf {d}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {v}_{c}=\mathbf {W}_{c}\mathbf {d}_{c}$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {a}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {a}_{c}$$\end{document}$ are vectors of additive SNP effects, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {d}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {d}_{c}$$\end{document}$ are vectors of dominance SNP effects. Here,$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\text {Var}}\left[ \begin{array}{c} \mathbf {a}_{p} \\ \mathbf {a}_{c} \\ \end{array} \right]= & {} \left[ \begin{array}{cc} \sigma _{a,p}^{2} &{} \sigma _{a,pc} \\ \sigma _{a,pc} &{} \sigma _{a,c}^{2} \\ \end{array} \right] \otimes \mathbf {I}, \\ {\text {Var}}\left[ \begin{array}{c} \mathbf {d}_{p} \\ \mathbf {d}_{c} \\ \end{array} \right]= & {} \left[ \begin{array}{cc} \sigma _{d,p}^{2} &{} \sigma _{d,pc} \\ \sigma _{d,pc} &{} \sigma _{d,c}^{2} \\ \end{array} \right] \otimes \mathbf {I}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {I}$$\end{document}$ is the identity matrix. Note that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{a,p}=\sigma ^2_{u,p}/(k/2)$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{a,c}^{2}=\sigma _{u,c}^{2}/(k/2)$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{a,pc}=\sigma _{u,pc}/(k/2)$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{d,p}=\sigma ^2_{v,p}/(k/4)$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{d,c}^{2}=\sigma _{v,c}^{2}/(k/4)$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{d,pc}=\sigma _{v,pc}/(k/4)$$\end{document}$.

The inbreeding depression effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {f}_{p}\eta _{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {f}_{c}\eta _{c}$$\end{document}$ in model ([1](#Equ1){ref-type=""}) are caused by directional dominance effects \[[@CR13]\], which can be seen as follows. Consider the sire line part of the model, and the sum of the inbreeding depression effect and the genotypic dominance effect:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathbf {f}_{p}\eta _{p}+\mathbf {v}_p&=(\mathbf {1}-\mathbf {W}_{p}\mathbf {1}/k)\eta _{p}+\mathbf {W}_{p}\mathbf {d}_{p} \\&=\mathbf {1}\eta _{p}+\mathbf {W}_{p}((-\eta _{p}/k)\mathbf {1}+\mathbf {d}_{p}), \end{aligned}$$\end{document}$$then we see that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$-\eta _{p}/k$$\end{document}$ is the mean of the dominance SNP effects $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(-\eta _{p}/k)\mathbf {1}+\mathbf {d}_{p}$$\end{document}$, i.e. dominance SNP effects are directional. Assuming selection aims at increasing the trait, then $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$ would usually be negative, corresponding to inbreeding depression, and then the direction of the dominance SNP effects $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$-\eta _{p}/k$$\end{document}$ would be positive. Similarly, for the three-way crossbred part, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$-\eta _{c}/k$$\end{document}$ is the mean of the directional dominance SNP effects $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(-\eta _{c}/k)\mathbf {1}+\mathbf {d}_{c}$$\end{document}$.

The classical additive genetic variance is not the parameter $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{u,p}$$\end{document}$, but according to Vitezica et al. \[[@CR12]\] it is obtained from the vector of allele substitution effects and parameters $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{a,p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{d,p}$$\end{document}$ in the SNP effects model. Here, because the inbreeding depression effects in the model are caused by directional dominance effects, the vector of allele substitution effects is:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\varvec{\alpha }}_p=\mathbf {a}_{p}+((-\eta _{p}/k)\mathbf {1}+\mathbf {d}_{p})*(\mathbf {q}_{p}-\mathbf {p}_{p}), \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {p}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {q}_{p}$$\end{document}$ are vectors of frequencies of the first and second allele, respectively, and \* denotes elementwise multiplication. Making the standard assumptions of linkage equilibrium and uncorrelated marker effects across loci (see e.g. \[[@CR12]\]), and letting superscript *j* denote the*j*th element of vectors, the resulting expression for the additive genetic variance is:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \sigma ^2_{g,p}=&\sum _j 2p^j_{p} q^j_{p} {\text {E}}[(\alpha ^p_j)^2] \\ \nonumber =&\sum _j 2p^j_{p} q^j_{p} \sigma ^2_{a,p} \\&+\sum _j 2p^j_{p} q^j_{p} (q^j_{p}-p^j_{p} )^2(\sigma ^2_{d,p}+\eta ^2_{p}/k^2), \nonumber \end{aligned}$$\end{document}$$since $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text {E}}[(\alpha ^j_p)^2]=\sigma ^2_{a,p}+(q^j_{p}-p^j_{p} )^2(\eta ^2_{p}/k^2+\sigma ^2_{d,p})$$\end{document}$. The expression in Eq. ([5](#Equ5){ref-type=""}) differs from the corresponding equation in Xiang et al. \[[@CR13]\], because they overlooked the contribution from $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta ^2_p/k^2$$\end{document}$ to the equation. Following Xiang et al. \[[@CR13]\], here we name this the additive genetic variance for purebred performance (mating within sire line).

The additive genetic variance for crossbred performance (mating sire line with sows from another population) is according to Xiang et al. \[[@CR13]\] obtained from the vector of allele substitution effects for sire line boars when mated to the specific population. However, compared to Xiang et al. \[[@CR13]\], one difference is that the population of crossbred sows cannot be assumed to be in Hardy--Weinberg equilibrium, and the usual equation for the allele substitution effect does not apply. Instead we use Eq. ([11](#Equ11){ref-type=""}) in Falconer \[[@CR16]\], which says that the allele substitution effect equals $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a+d(q-p)(1-F)/(1+F)$$\end{document}$, where *F* measures departure from Hardy Weinberg equilibrium, and equals $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$F=1-h/(2pq)$$\end{document}$ with *h* being the frequency of the heterozygous genotypes (with the definition that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$F=0$$\end{document}$ when $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p=0$$\end{document}$ or $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q=0$$\end{document}$). Using $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(1-F)/(1+F)=h/(4pq-h)$$\end{document}$, the vector of allele substitution effects can therefore be expressed as:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\varvec{\alpha }}_c=\mathbf {a}_{c}+((-\eta _{c}/k)\mathbf {1}+\mathbf {d}_{c})*\mathbf {r}_{cs}, \end{aligned}$$\end{document}$$with$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathbf {r}_{cs}=\frac{(\mathbf {q}_{cs}-\mathbf {p}_{cs})*\mathbf {h}_{cs}}{4\mathbf {p}_{cs}*\mathbf {q}_{cs}-\mathbf {h}_{cs}}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {p}_{cs}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {q}_{cs}$$\end{document}$ are vectors of frequencies of the first and second allele in crossbred sows, respectively, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {h}_{cs}$$\end{document}$ is a vector of frequencies of heterozygous genotypes in crossbred sows, and \* and fraction in Eq. ([7](#Equ7){ref-type=""}) denote elementwise multiplication and division, respectively. Note that for elements with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p^j_{cs}=0$$\end{document}$ or $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q^j_{cs}=0$$\end{document}$, the fraction in Eq. ([7](#Equ7){ref-type=""}) is to be understood as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r^j_{cs}=(q^j_{cs}-p^j_{cs})$$\end{document}$ to avoid the problem of division by zero, and this convention also applies in Eqs. ([8](#Equ8){ref-type=""}), ([9](#Equ9){ref-type=""}), ([13](#Equ13){ref-type=""}) and ([14](#Equ14){ref-type=""}) below. The resulting expression for the additive genetic variance for crossbred performance of sire line boars (mating with crossbred sows) is:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \sigma _{g,c}^2=&\sum _j 2p_{p}^j q_{p}^j\sigma _{a,c}^2 \\&+\sum _j 2p_{p}^j q_{p}^j(r_{cs}^j)^2(\sigma _{d,c}^2+\eta _{c}^2/k^2), \nonumber \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r^j_{cs}$$\end{document}$ is the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$j{\text{th}}$$\end{document}$ element of the vector defined in Eq. ([7](#Equ7){ref-type=""}).

The additive genetic covariance between purebred and crossbred performances is according to Xiang et al. \[[@CR13]\] obtained from covariances between allele substitution effects. Here, this becomes:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \sigma _{g,pc}=&\sum _j 2 p_{p}^j q_{p}^j {\text {E}}[\alpha ^j_p\alpha ^j_c]\\ \nonumber =&\sum _j 2 p_{p}^j q_{p}^j\sigma _{a,pc} \\ \nonumber&+\sum _j 2 p_{p}^j q_{p}^j (q_{p}^j-p_{p}^j )r_{cs}^j (\sigma _{d,pc}+\eta _{p}\eta _{c}/k^2). \end{aligned}$$\end{document}$$The genetic correlation between purebred and crossbred performances then equals$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \rho _{g,pc}=\sigma _{g,pc}/\sqrt{\sigma _{g,p}^2\sigma _{g,c}^2}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,c}$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{g,pc}$$\end{document}$ are defined in Eqs. ([5](#Equ5){ref-type=""}), ([8](#Equ8){ref-type=""}) and ([9](#Equ9){ref-type=""}), respectively.

Breeding values for purebred and crossbred performances {#Sec5}
-------------------------------------------------------

Breeding values (BV) of sire line boars for purebred performance are obtained from the allele substitution effects shown in Eq. ([4](#Equ4){ref-type=""}) as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\mathbf {BV}}_p=\mathbf {Z}_{p}(\mathbf {a}_{p}+((-\eta _{p}/k)\mathbf {1}+\mathbf {d}_{p})*(\mathbf {q}_{p}-\mathbf {p}_{p}))$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {Z}_{p}=\mathbf {M}_{p}-\mathbf {1}(2\mathbf {p}_{p}-\mathbf {1})^{{\mathrm{T}}}$$\end{document}$. EBV are obtained from estimated effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\hat{\mathbf {a}}}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\hat{\mathbf {d}}}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\hat{\eta }}_{p}$$\end{document}$ in the SNP effects model,$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\mathbf {EBV}}_p=\mathbf {Z}_{p}({\widehat{\mathbf {a}}}_{p}+((-{\hat{\eta }}_{p}/k)\mathbf {1}+{\widehat{\mathbf {d}}}_{p})*(\mathbf {q}_{p}-\mathbf {p}_{p})). \end{aligned}$$\end{document}$$Alternatively, EBV can be obtained from the estimated effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\hat{\mathbf {u}}}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\hat{\mathbf {v}}}_{p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\hat{\eta }}_{p}$$\end{document}$, in the genotypic model by backsolving as described in the following. Based on the fact that estimated effects satisfy $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\widehat{\mathbf {a}}}_{p}=(k/2)^{-1}\mathbf {M}_{p}^{{\mathrm{T}}}(\mathbf {G}_{p})^{-1}{\widehat{\mathbf {u}}}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\widehat{\mathbf {d}}}_{p}=(k/4)^{-1}\mathbf {W}_{p}^{{\mathrm{T}}}(\mathbf {D}_{p})^{-1}{\widehat{\mathbf {v}}}_{p}$$\end{document}$, which follows from combining Eqs. [5](#Equ5){ref-type=""} and [6](#Equ6){ref-type=""} in Stranden and Garrick \[[@CR17]\], we obtain:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\mathbf {EBV}}_p=\, & {} \mathbf {Z}_{p}\mathbf {M}_{p}^{{\mathrm{T}}}(\mathbf {G}_{p})^{-1}{\widehat{\mathbf {u}}}_{p}/(k/2) \\&+\mathbf {Z}_{p}((-{\hat{\eta }}_{p}\mathbf {1}/4+\mathbf {W}_{p}^{{\mathrm{T}}}(\mathbf {D}_{p})^{-1}{\widehat{\mathbf {v}}}_{p})*(\mathbf {q}_{p}-\mathbf {p}_{p}))/(k/4). \nonumber \end{aligned}$$\end{document}$$Accuracy of EBV, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$acc_i=\text {cor}(BV_i,EBV_i)$$\end{document}$, can be obtained from the prediction error variance (PEV) as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$acc_{p,i} = 1-\sqrt{PEV_{p,i}/{\text {Var}}(BV_{p,i})}$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text {Var}}(BV_{p,i})=\,(\mathbf {Z}_{p}\mathbf {Z}_{p}^{{\mathrm{T}}})_{ii}\sigma ^2_{a,p}+(\mathbf {Z}_{p}{\varvec{\Delta }}^2_p\mathbf {Z}_{p}^{{\mathrm{T}}})_{ii}(\sigma ^2_{d,p}+\eta _p^2/k^2)$$\end{document}$, with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\Delta }}_p$$\end{document}$ being a diagonal matrix with elements $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {q}_{p}-\mathbf {p}_{p}$$\end{document}$. Details on how to compute PEV for the SNP effects model are in Appendix. It is unclear how to compute this PEV for the genotypic model.

Breeding values of sire line boars for three-way crossbred performance are obtained from the allele substitution effects of sire line boars for crossbred performance as shown in Eq. ([6](#Equ6){ref-type=""}), and can therefore be expressed as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\mathbf {BV}}_c=\mathbf {Z}_{p}(\mathbf {a}_{c}+((\eta _{c}/k)\mathbf {1}+\mathbf {d}_{c})*\mathbf {r}_{cs})$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {r}_{cs}$$\end{document}$ is defined in ([7](#Equ7){ref-type=""}). Thus, from the SNP effects model, EBV for three-way crossbred performance of sire line boars are equal to:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\mathbf {EBV}}_c=\mathbf {Z}_{p}({\widehat{\mathbf {a}}}_{c}+((-{\hat{\eta }}_{c}/k)\mathbf {1}+{\widehat{\mathbf {d}}}_{c})*\mathbf {r}_{cs}), \end{aligned}$$\end{document}$$and accuracies can be obtained from PEV as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$acc_{c,i}=1-\sqrt{PEV_{c,i}/{\text {Var}}(BV_{c,i})}$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text {Var}}(BV_{c,i})=(\mathbf {Z}_{p}\mathbf {Z}_{p}^{{\mathrm{T}}})_{ii}\sigma ^2_{a,c}+(\mathbf {Z}_{p}{\varvec{\Delta }}^2_c\mathbf {Z}_{p}^{{\mathrm{T}}})_{ii}(\sigma ^2_{d,c}+\eta _c^2/k^2)$$\end{document}$, with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\Delta }}_c$$\end{document}$ being a diagonal matrix with elements $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {r}_{cs}$$\end{document}$, and with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$PEV_c$$\end{document}$ computed as explained in Appendix. Alternatively, based on the fact that the estimated effects satisfy Eqs. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\widehat{\mathbf {a}}}_{c}=(k/2)^{-1}\mathbf {M}_{c}^{{\mathrm{T}}}(\mathbf {G}_{c})^{-1}{\widehat{\mathbf {u}}}_{c}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\widehat{\mathbf {d}}}_{c}=(k/4)^{-1}\mathbf {W}_{c}^{{\mathrm{T}}}(\mathbf {D}_{c})^{-1}{\widehat{\mathbf {v}}}_{c}$$\end{document}$, which again are based on Eqs. [5](#Equ5){ref-type=""} and [6](#Equ6){ref-type=""} of Stranden and Garrick\[[@CR17]\], we obtain the following equation for EBV based on the genotypic model:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\mathbf {EBV}}_c= & {} \mathbf {Z}_{p}\mathbf {M}_{c}^{{\mathrm{T}}}(\mathbf {G}_{c})^{-1}{\widehat{\mathbf {u}}}_{c}/(k/2) \\&+\mathbf {Z}_{p}\left( (-{\hat{\eta }}_{c}\mathbf {1}/4+\mathbf {W}_{c}^{{\mathrm{T}}}(\mathbf {D}_{c})^{-1}{\widehat{\mathbf {v}}}_{c})*\mathbf {r}_{cs} \right) /(k/4). \nonumber \end{aligned}$$\end{document}$$

Data {#Sec6}
----

The data set consisted of Danbred Duroc and Danbred DLY pigs reared in the same time period at the test station Bøgildgaard in Denmark, and measured for phenotypes on production traits. All pigs had known pedigree, and sires of both the Duroc and the DLY populations were active breeding boars in the DanBred Duroc population (139 and 140 sires for the Duroc and DLY populations, respectively, with 61 overlapping between the two populations), which creates a genetic relationship between the Duroc and the DLY pigs used in this study. The Duroc pigs were part of the routine breeding program in which owners of nucleus herds select up to three male pigs from litters with a high index (average of indices for parents) for entering the test station. The DLY pigs were produced at a commercial sow herd, for which 698 litters of DLY pigs were produced with the intention of having four pigs (two males and two females) from each litter in the test. The Duroc pigs came from 13 nucleus herds, and the DLY pigs came from one sow herd, resulting in a low biosecurity level at the test station due to the mixing of pigs from many herds with different disease status. At the test station, feed was given ad libitum in feeders with individual recordings on feed intake and each pen was planned to contain 14 pigs. During the study, changes of feed composition at the test station were made twice, but in all cases the feed was optimised according to Danish nutrient recommendations \[[@CR18]\]. The experiment was designed to have phenotypes and genotypes on all these animals, but for various reasons this was not completely achieved. Only animals which had both phenotypes and genotypes (after quality control described below) were analysed here, and the resulting data set contained 2595 Duroc and 2426 DLY pigs that entered the test station between 18 June 2014 and 17 August 2015, and that had their ultra-sound backfat thickness recorded between 5 August 2014 and 5 October 2015. In addition, most animals had their Duroc sire genotyped. In this study, all the Duroc pigs were males, whereas the DLY pigs consisted of approximately 50% males and 50% females.

The pigs were genotyped with either the 8.5K GGP-Porcine LD Illumina Bead SNP array or the GeneSeek Genomic Profiler (GGP) Porcine HD 70K SNP array (almost all DLY pigs and nearly two thirds of the Duroc pigs were genotyped with the 8.5K array). For simplicity, and to avoid issues with effects of imputation errors, only SNPs that overlapped between the two SNP arrays were used here. Animals with parentage error due to the Duroc sire (fraction of Mendelian mismatches between animal and sire higher than 2%) were removed, and otherwise genotypes with such mismatches were declared missing. The SNPs were quality controlled using the following criteria: SNPs with a call-rate lower than 90% or with a minor allele frequency (MAF) lower than 0.01 were excluded. After quality control, 6316 SNPs were retained. The genotype of an animal was only retained if the call rate was higher than 90%. Following this quality control, 1.2% of genotypes were missing, and these were imputed using Fimpute \[[@CR19]\].

The following four traits were analysed: ultra-sound recorded backfat thickness (BF), overall conformation score (CONF), average daily gain (ADG), and feed conversion ratio (FCR). BF was measured as the average of ultrasound measurements in mm at four positions of the back, recorded at the end of the test period, CONF was measured as a score ranging from 2 to 4 at the end of test period, ADG was total weight gain in kg during the test period divided by number of days of the test period, and FCR was total feed intake in kg divided by total weight gain in kg during the test period. One animal with an unusually low end weight of 43 kg was removed from the study, and for one animal that had an unusually large feed intake given the weight gain, this feed intake was changed to missing. A summary of the data is in Table [1](#Tab1){ref-type="table"}.Table 1Summary statistics of the phenotypes measured on Duroc and DLY pigsNMinMedianMeanMaxSt. dev.Duroc BF25954.507.507.4011.500.74 CONF2595233.0140.66 ADG25950.611.131.121.560.13 FCR25861.502.012.113.420.19 Start wgt259528.031.032.962.05.7 End wgt259570.092.091.8122.010.4DLY BF24254.258.007.9112.500.96 CONF2425233.1140.62 ADG24250.571.091.081.540.14 FCR24201.602.172.184.000.19 Start wgt242528.030.031.358.03.6 End wgt242560.087.086.8124.011.7*BF* ultra-sound recorded backfat thickness in mm, *CONF* overall conformation score, *ADG* average daily gain in kg, *FCR* feed conversion ratio

Data analysis {#Sec7}
-------------

For the analysis of traits BF, CONF, ADG or FCR observed on the Duroc sire line and DLY crossbreds, as presented in the subsection on data, we used the bivariate model ([1](#Equ1){ref-type=""}), where vectors $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {y}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {y}_c$$\end{document}$ contained phenotypes (BF, CONF, ADG or FCR) on Duroc and DLY respectively, vectors $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\beta }}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\beta }}_c$$\end{document}$ contained section-year-season effects, sex effects (only $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\beta }}_c$$\end{document}$), and a regression on weight at time of recording (for BF and CONF), or on start weight (for ADG and FCR), matrices $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {X}_{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {X}_{c}$$\end{document}$ relate animals with phenotypes to section-year-season's and sexes (only for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\beta }}_c$$\end{document}$) and contain a column with weights at time of recording (for BF and CONF) or start weight (for ADG and FCR), and the remaining notation is defined in the subsection entitled Combined purebred and crossbred model.

The allele frequencies of sire line and crossbred sows and heterozygote genotype frequencies in crossbred sows all enter into Eqs. ([5](#Equ5){ref-type=""}), ([8](#Equ8){ref-type=""}) and ([9](#Equ9){ref-type=""}) for genetic variances of and covariance between purebred and crossbred performances. For this study, we computed these allele frequencies as follows: the sire line allele frequencies were the observed allele frequencies of the purebred Duroc in this study, whereas the allele and genotype frequencies in LY were computed from observed allele frequencies on genotypes of 9021 Danbred Landrace and 8760 Danbred Yorkshire animals born in 2014, i.e. $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p_{cs}^j=(p_L^j+p_Y^j)/2$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p^j_{cs,12}=p^j_L q^j_Y+ p^j_Y q^j_L$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p^j_L=1-q^j_L$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p^j_Y=1-q^j_Y$$\end{document}$ were allele frequencies for Landrace and Yorkshire pigs, respectively, born in 2014. Parameter estimates (with associated standard errors) and estimated effects were obtained from the genotypic model, using restricted maximum likelihood and best linear unbiased estimation implemented in the DMUAI module in the software DMU \[[@CR20]\]. For all traits, convergence of the AI-REML algorithm for parameter estimation was slow, which indicated possible problems of lack of convergence. To assess this, investigations with different starting values were made to confirm that the resulting parameter estimates did not depend on starting values for the algorithm. Genetic variances, covariances, correlations, and EBV were estimated using Eqs. ([5](#Equ5){ref-type=""}), ([8](#Equ8){ref-type=""}), ([9](#Equ9){ref-type=""}), ([10](#Equ10){ref-type=""}), ([12](#Equ12){ref-type=""}) and ([14](#Equ14){ref-type=""}), and heritabilities were estimated using $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$h^2_p=\sigma ^2_{g,p}/(\sigma ^2_{a,p}\bar{\delta G_p}+ \sigma ^2_{d,p}\bar{\delta D_p}+ \sigma ^2_{l,p}+ \sigma ^2_{e,p})$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$h^2_c=\sigma ^2_{g,c}/(\sigma ^2_{a,c}\bar{\delta G_c}+ \sigma ^2_{d,c}\bar{\delta D_c}+ \sigma ^2_{l,c}+\sigma ^2_{e,c})$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta G_p}$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta D_p}$$\end{document}$ $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta G_c}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta D_c}$$\end{document}$ were averages of diagonal elements in matrices $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_p$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_p$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_c$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_c$$\end{document}$, respectively. Standard errors on estimates of parameters were computed using the delta-method implemented in the contributed R package car, version 2.1-5 \[[@CR21]\]. Accuracies of EBV were computed based on PEV, which were computed as explained in Appendix based on the SNP effects model using a method in the DMU4 module of the software DMU release 5.4 \[[@CR20]\] that returns the coefficient matrix of the mixed models equations.

Results {#Sec8}
=======

Table 2Best linear unbiased estimates of inbreeding depression parameters and estimates of variance and covariance parametersBFCONFADGFCR$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$1.28 (0.69)− 0.21 (0.93)− 0.46 (0.18)0.18 (0.23)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{c}$$\end{document}$0.50 (1.26)0.22 (1.14)− 0.26 (0.23)− 0.07 (0.30)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{u,p}$$\end{document}$0.151 (0.017)0.118 (0.021)0.0016 (0.0005)0.0033 (0.0010)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{u,c}$$\end{document}$0.227 (0.030)0.067 (0.019)0.0045 (0.0009)0.0046 (0.0013)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{u,pc}$$\end{document}$0.182 (0.019)0.075 (0.016)0.0024 (0.0006)0.0039 (0.0009)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{u,pc}$$\end{document}$0.98 (0.07)0.84 (0.17)0.88 (0.21)0.99 (0.21)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{v,p}$$\end{document}$0.005 (0.008)0.002 (0.015)0.0012 (0.0006)0.0023 (0.0010)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{v,c}$$\end{document}$0.009 (0.021)0.001 (0.017)0.0004 (0.0007)0.0002 (0.0011)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{v,pc}$$\end{document}$0.007 (0.012)0.001 (0.015)− 0.0005 (0.0006)0.0007 (0.0010)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{v,pc}$$\end{document}$1.00 (2.34)1.00 (15.91)− 0.71 (1.01)1.00 (3.01)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{l,p}$$\end{document}$0.029 (0.009)0.007 (0.019)0.0014 (0.0006)0.0006 (0.0010)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{l,c}$$\end{document}$0.028 (0.010)0.008 (0.008)0.0011 (0.0004)0.0029 (0.0006)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{e,p}$$\end{document}$0.145 (0.010)0.360 (0.021)0.0105 (0.0007)0.0184 (0.0012)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{e,c}$$\end{document}$0.303 (0.015)0.320 (0.014)0.0106 (0.0005)0.0191 (0.0009)Best linear unbiased estimates of inbreeding depression parameters and estimates of variance and covariance parameters with associated standard errors (in brackets) for the four traits*BF* ultra-sound recorded backfat thickness, *CONF* overall conformation score, *ADG* average daily gain, *FCR* feed conversion ratio

Table [2](#Tab2){ref-type="table"} shows the best linear unbiased estimates of inbreeding depression parameters and estimates of variance and covariance parameters with associated standard errors (in brackets) for the four traits. Estimates of correlations between genotypic additive effects for purebred and crossbred performances in Table [2](#Tab2){ref-type="table"}, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{u,pc}$$\end{document}$, (with associated standard errors) were equal to 0.98 (0.07), 0.84 (0.17), 0.88 (0.21), 0.99 (0.21) for BF, CONF, ADG, FCR, respectively, and estimates of correlations between genotypic dominance effects for purebred and crossbred performances, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{v,pc}$$\end{document}$, (with associated standard errors) were equal to 1.00 (2.34), 1.00 (15.91), − 0.71 (1.01), 1.00 (3.01) for BF, CONF, ADG, FCR, respectively. Furthermore, the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$-2$$\end{document}$\*log-likelihood ratio statistic for testing the model without dominance effects was 1.08, 0.02, 6.17, 7.19 for BF, CONF, ADG, FCR, respectively, and these were evaluated against a $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\chi ^2(3)$$\end{document}$-distribution, since three parameters (two variance parameters and one covariance parameter) were removed from the model. Since the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$95\%$$\end{document}$ quantile of a $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\chi ^2(3)$$\end{document}$-distribution is 7.81, the dominance effects were negligible for CONF, but not for the other three traits, although we cannot reject the hypothesis of no dominance effects for these traits.

The results in Table [2](#Tab2){ref-type="table"} show that for purebred Duroc pigs, the estimated inbreeding depression per unit of inbreeding, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$ was negative for ADG, and statistically significantly different from zero. A negative value of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$ means inbreeding depression for ADG. For DLY, there was also a negative inbreeding depression effect for ADG, although it was not statistically significantly different from zero. The estimated $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{c}$$\end{document}$ for BF were both positive (corresponding to inbreeding depression since direction of selection is to reduce BF), but neither was statistically significantly different from zero. For the other two traits, the estimates of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{p}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\eta _{c}$$\end{document}$ were both small when the standard error estimate was taken into account, and they also had conflicting signs between Duroc and DLY.

Based on estimates of model parameters and allele frequencies, genetic parameters were computed using Eqs. ([5](#Equ5){ref-type=""}), ([8](#Equ8){ref-type=""}) and ([9](#Equ9){ref-type=""}). The resulting estimates of additive genetic variances, covariance and correlation (with associated standard errors) for purebred and crossbred performances for each trait are in Table [3](#Tab3){ref-type="table"}. For BF, ADG, and FCR, the genetic variance was smaller for purebred performance than for crossbred performance, whereas the opposite was observed for CONF. The difference between estimates of additive genetic variances for purebred and crossbred performances was most pronounced for ADG, for which $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,c}$$\end{document}$ was more than two times larger than $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,p}$$\end{document}$. Estimates of additive genetic correlations between purebred and crossbred performances ranged from 0.75 for ADG to 0.96 for BF.Table 3Additive genetic parameters and heritabilitiesBFCONFADGFCR$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,p}$$\end{document}$0.085 (0.009)0.067 (0.011)0.0012 (0.0003)0.0023 (0.0005)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{g,c}^{2}$$\end{document}$0.131 (0.015)0.038 (0.009)0.0027 (0.0004)0.0027 (0.0006)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{g,pc}$$\end{document}$0.102 (0.010)0.042 (0.009)0.0013 (0.0003)0.0022 (0.0005)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{g,pc}$$\end{document}$0.96 (0.07)0.83 (0.16)0.75 (0.17)0.87 (0.18)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$h^2_p$$\end{document}$0.22 (0.01)0.12 (0.02)0.08 (0.02)0.09 (0.02)$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$h^2_c$$\end{document}$0.21 (0.02)0.09 (0.02)0.15 (0.02)0.10 (0.02)Additive genetic parameters for the four traits computed using Eqs. ([5](#Equ5){ref-type=""}), ([8](#Equ8){ref-type=""}) and ([9](#Equ9){ref-type=""}) from model parameter estimates in Table [2](#Tab2){ref-type="table"}. Variance for purebred performance: $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,p}$$\end{document}$, Variance for crossbred performance: $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma ^2_{g,c}$$\end{document}$, covariance between purebred and crossbred performances: $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma _{g,pc}$$\end{document}$, correlation between purebred and crossbred performances: $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{g,pc}$$\end{document}$, and heritabilities, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$h^2_p=\sigma ^2_{g,p}/(\sigma ^2_{a,p}\bar{\delta G}_p+ \sigma ^2_{d,p}\bar{\delta D_p}+ \sigma ^2_{l,p}+ \sigma ^2_{e,p})$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$h^2_c=\sigma ^2_{g,c}/(\sigma ^2_{a,c}\bar{\delta G_c}+ \sigma ^2_{d,c}\bar{\delta D_c}+ \sigma ^2_{l,c}+\sigma ^2_{e,c})$$\end{document}$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta G_p},\, \bar{\delta D_p}$$\end{document}$ $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta G_c}$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\bar{\delta D_c}$$\end{document}$ are averages of diagonal elements in matrices $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_p$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_p$$\end{document}$, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {G}_c$$\end{document}$, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {D}_c$$\end{document}$, respectively*BF* ultra-sound recorded backfat thickness, *CONF* overall conformation score, *ADG* average daily gain, *FCR* feed conversion ratio

EBV of Duroc boars for purebred and crossbred performances are in Fig. [1](#Fig1){ref-type="fig"}, which shows that there was a strong positive association between EBV for purebred and crossbred performances when the additive genetic correlation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{g,pc}$$\end{document}$ was large (e.g. trait BF), and that the association was weaker when the additive genetic correlation was weaker (e.g. trait ADG). Figure [1](#Fig1){ref-type="fig"} also shows that the variability of EBV for crossbred performance compared to variability for purebred performance was smaller for CONF, similar for FCR and BF, and larger for ADG. This pattern is consistent with the pattern of additive genetic variances seen in Table [3](#Tab3){ref-type="table"}. Equations ([11](#Equ11){ref-type=""}) and ([13](#Equ13){ref-type=""}) for EBV both use allele frequencies for Duroc boars to center matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {Z}_p$$\end{document}$ and, therefore, these EBV are relative to the population of Duroc boars. As a result, the EBV are centered around zero in Fig. [1](#Fig1){ref-type="fig"}.Fig. 1EBV for purebred and crossbred performances. EBV for purebred and crossbred performances on Duroc boars. *BF* ultra-sound recorded backfat thickness, *CONF* overall conformation score, *ADG* average daily gain, *FCR* feed conversion ratio

Accuracies of EBV for purebred and crossbred performances of Duroc boars are in Fig. [2](#Fig2){ref-type="fig"}, which shows a positive relationship between accuracies for purebred and crossbred performances. For BF, CONF and FCR, accuracies were higher for purebred performance than for crossbred performances, whereas the opposite was observed for ADG. The amount of information on relatives is an important parameter for accuracies. For the data set investigated here, seven of the Duroc boars had Duroc offspring with records, but none had DLY offspring with records. In general, these seven boars with Duroc offspring had the highest accuracies of EBV for purebred performance (for BF, CONF, and AGD the top five boars in terms of accuracy for purebred performance all had Duroc offspring, for ADG four of the top five boars in terms of accuracy had Duroc offspring), and also had high accuracies for crossbred performance (accuracy gained from the correlated purebred performance with high accuracy).Fig. 2Accuracies of EBV for purebred and crossbred performances. Accuracies of EBV for purebred and crossbred performances on Duroc boars. *BF* ultra-sound recorded backfat thickness, *CONF* overall conformation score, *ADG* average daily gain, *FCR* feed conversion ratio

Discussion {#Sec9}
==========

We present a model for genomic evaluation for a terminal three-way crossbreeding system when information is available on the purebred sire line and three-way crossbred pigs. This model is a modification of the models studied in Vitezica et al. \[[@CR12]\] and Xiang et al. \[[@CR13]\], accounts for both additive and dominance genotypic effects, and provides flexibility through genetic correlations for these effects between purebreds and crossbreds. We also present an equivalent SNP effects model, and equations were derived for additive genetic parameters as functions of parameters in the model and allele frequencies, for EBV for purebred and crossbred performances as functions of estimated effects in the model and allele frequencies, and for accuracies of EBV as functions of allele frequencies and submatrices of the inverse of the coefficient matrix of the mixed model equations. The methods were used to analyse a data set of BF, CONF, ADG and FCR measured on Duroc and DLY pigs.

The model in this paper includes both additive and dominance genotypic effects, which are allowed to differ between purebred and crossbred animals, but correlated. The estimates of correlation between additive genotypic effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{a,pc}$$\end{document}$, were large for all traits, but in all cases lower than 1. In this study, the environments were the same for purebreds and crossbreds, and based on these results, it is possible to speculate whether the functional additive genetic effects are the same in purebreds and crossbreds. However, the markers included in the model are probably not the causal loci, and differences in linkage equilibrium between markers and causal loci between lines would result in a correlation lower than 1, even if the functional additive genetic effects at causal loci were the same. For BF, CONF and FCR, correlations between dominance genotypic effects, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{v,pc}$$\end{document}$, were about 1, whereas for ADG it was − 0.71. The negative correlation estimate for ADG is puzzling, although it has to be taken into account that the standard error on the estimate was large.

For BF, FCR and ADG, the additive genetic variance was smaller for purebred performance than for crossbred performance. This may be related to a difference in how purebred and crossbred pigs were selected for entering the test station: crossbred pigs were selected randomly from litters (about 4 pigs from each litter) from sires with a low, medium or high index, whereas purebred pigs were selected among litter mates (1--2 pigs from a litter) from litters with a high index by the owners of the nucleus herds. The owners of the nucleus herds had clear economic interests in having the best performing boars at the test station. Therefore, the selection of purebred pigs entering the test station was not random, and very likely this selection was not independent of the phenotypic records observed in the study, which likely resulted in a reduced genetic variation, in particular for ADG.

Guo et al. \[[@CR22]\] analysed BF and ADG in DanBred Duroc using a model with additive and dominance genetic effects, and obtained estimates of additive genetic variances equal to 0.342 mm$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$^2$$\end{document}$ for BF and 0.000828 kg$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$^2$$\end{document}$ for ADG. This estimate of the additive genetic variance for BF was about four times larger than the estimate reported in our paper, which is a substantial difference. However, the estimate of the residual variance in Guo et al. \[[@CR22]\] was about twice as large as that found here, and they used data over a longer time span, which were recorded both at the test station Bøgildgaard and at a number of nucleus herds. They also did not correct for weight at recording. All together, this results in a larger variability of their measures, and, therefore, the difference in genetic variance may make sense. Regarding the estimate of additive genetic variance parameter for ADG, the estimate in Guo et al. \[[@CR22]\] was substantially smaller than that reported here, which may make sense since their estimate of residual variance was also much smaller than ours and since the trait ADG in Guo et al. \[[@CR22]\] was standardised to the weight interval 30 to 100 kg.

The estimated additive genetic correlations between purebred and crossbred performances, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{g,pc}$$\end{document}$, in our study ranged from 0.75 for ADG to 0.96 for BF, which in general are larger than averages of estimates for similar traits reported in the literature (see Figure 3 in the review paper by Wientjes and Calus \[[@CR23]\]). In our study, the crossbred and the purebred animals were located in the same production unit at the same time under the same conditions. Thus, one reason for the low correlations reported in other studies could be the difference in environments between purebred and crossbred animals. Another reason may be that the differences in allele frequencies between the studied populations were larger in the other studies than in ours.

ADG was the only trait for which there was a statistically significant inbreeding depression effect, and only in the Duroc population. This is not surprising since inbreeding depression is particularly important for traits that have been under strong selection \[[@CR24]\].

For the traits BF, CONF and FCR, accuracies of EBV for Duroc boars for purebred performance were higher than those for crossbred performance, while they were simlar for ADG. Several factors influence accuracy, such as information on relatives and heritability. As mentioned in the Results section, seven of these Duroc boars had Duroc offspring, which increases the accuracies of purebred performance for these boars. More generally, the Duroc boars all had own records on purebred performance, and not on crossbred performance, which increases the accuracies of EBV for purebred performances for all traits. In terms of heritability (see Table [2](#Tab2){ref-type="table"}), estimates for BF, CONF and FCR did not differ substantially between purebred performance and crossbred performance, but for ADG the estimate was higher for crossbred performance than for purebred performance. Since high heritability implies high accuracy, the pattern in heritability estimates combined with the fact that these boars had own records on purebred performance, results in the observed pattern of accuracies of EBV.

Results on predictive performance based on splitting the data set into training data and validation data were reported by Xiang et al. \[[@CR13]\], and they showed that including inbreeding depression in the model improved predictive performance of total genotypic effects, whereas including dominance effects did not. For the data set in our paper, an investigation of predictive performance for models with or without inbreeding depression and dominance effects was also attempted, but only one of the differences between models was statistically significant, and the pattern of results was very inconsistent across traits and purebreds and crossbreds; see Additional file [1](#MOESM1){ref-type="media"}. We believe that the small size of the data set could be the cause of these inconsistent results.

Although our model contains four genetic effects, it was feasible to fit the model within reasonable time and with reasonable use of computer memory because the data set analysed was relatively small, both in terms of number of animals and number of SNPs. For data sets with a large number of animals, both computing time and memory use may become a challenge for the genotypic model, due to the size and non-sparsity of the system of mixed model equations. For the SNP effects model, we computed accuracies of EBV by inverting the coefficient matrix of the mixed model equations, which was feasible for the data set investigated here, since the number of SNPs was small. For a data set with large number of SNPs, an approximative method, such as that in Tier and Meyer \[[@CR25]\] would need to be derived and implemented.

In general, marker genotypes may not capture all the genetic effects, and it is therefore common practice to add a residual polygenic effect with pedigree-structure into the genomic model, see e.g. Mrode \[[@CR6]\]. For the model considered here, four residual polygenic effects would need to be added to the model, i.e. additive and dominance effects for both the sire line and crossbreds, which would imply a larger computational burden of parameter estimation and prediction of effects. In addition, different types of SNP arrays are often used. In this study, only the SNPs that overlapped between two SNP arrays were used in the analysis, and thus marker genotypes could alternatively have been imputed to the largest SNP array. How the inclusion of a residual polygenic effect in a model interacts with genotype imputation when different SNP arrays are used, would be an interesting topic for future studies.

In this paper, only phenotypes and genotypes on the sire line and the three-way crossbred pigs were considered. A more general approach would be to incorporate genotypes and phenotypes on the two maternal lines (in this paper Danbred Yorkshire and Danbred Landrace) and consider these as additional correlated traits, i.e. instead of a bivariate model as used here, a four-variate model would be used. Such a model would be an extension of the model in Christensen et al. \[[@CR26]\] and Sevillano et al. \[[@CR15]\] by including dominance and inbreeding depression genetic effects, and would contain a large number of parameters. It should be noted that in Sevillano et al. \[[@CR15]\], estimation of parameters was not feasible in the full model for computational reasons, and had to be done in two-trait submodels and then combined in an ad hoc manner. Thus an extension of that model by including dominance effects would likely be very computationally demanding in practice.

Conclusions {#Sec10}
===========

In this paper, we present a model for genomic evaluation in a terminal three-way crossbreeding system when information on the purebred sire line and three-way crossbred pigs is available. This model is a modification of previously reported models, accounts for both additive and dominance genotypic effects, and provides flexibility through genetic correlations for these effects between purebreds and crossbreds. Equations were derived for additive genetic parameters as functions of parameters in the model, allele frequencies, and genotype frequencies, for EBV for purebred and crossbred performances as functions of estimated effects in the model, allele frequencies and genotype frequencies, and for accuracies of EBV as functions of allele frequencies, and genotype frequencies and submatrices of the inverse coefficient matrix in the mixed model equations. The methods presented in this paper will be useful for practical implementation of genomic selection for both purebred and crossbred performances in a three-way crossbreeding system.

Additional file
===============

 {#Sec26}

**Additional file 1.** Investigation of predictive performance.

Appendix {#Sec11}
========

Here, we describe how to compute the prediction error variance (PEV) of EBV. For simplicity, the description is focused on PEV of EBV for purebred performance, and the differences for PEV of EBV for crossbred performance are mentioned at the end of the section.

The vector of breeding values for purebred performances is defined by $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\mathbf {BV}}_p=\mathbf {Z}_{p}(\mathbf {a}_{p}+(\mathbf {d}_{p}-(\eta _{p}/k)\mathbf {1})*(\mathbf {q}_{p}-\mathbf {p}_{p}))$$\end{document}$. The prediction error variance--covariance matrix is $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\text {Var}}({\mathbf {BV}}_p-{\mathbf {EBV}}_p)$$\end{document}$, which can be obtained as a function of the prediction error variance--covariance matrix of SNP effects and inbreeding depression effects as follows. Let $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {C}$$\end{document}$ be the inverse of the coefficient matrix in the mixed model equations for the SNP effects model, and extract columns and rows of this matrix corresponding to inbreeding depression effects, additive SNP effects and dominance SNP effects for purebred performance. Then,$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\text {Var}}\left[ \begin{array}{c} \eta _{p} - {\hat{\eta }}_{p} \\ \mathbf {a}_{p} - {\hat{\mathbf {a}}}_{p} \\ \mathbf {d}_{p} - {\hat{\mathbf {d}}}_{p} \end{array} \right] = \left[ \begin{array}{ccc} i_0 &{} \mathbf {i}_a &{} \mathbf {i}_d \\ \mathbf {i}^{{\mathrm{T}}}_a &{} \mathbf {B}_{aa} &{} \mathbf {B}_{ad} \\ \mathbf {i}^{{\mathrm{T}}}_d &{} \mathbf {B}_{ad}^{{\mathrm{T}}} &{} \mathbf {B}_{dd} \end{array} \right] , \end{aligned}$$\end{document}$$where the submatrices correspond to columns and rows of matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {C}$$\end{document}$ for inbreeding depression effects, additive SNP effects and dominance SNP effects for purebred performances, respectively, and superscript T refers to the transpose of a matrix. From the equation:$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\mathbf {BV}}_p-{\mathbf {EBV}}_p =\mathbf {Z}_{p}(\mathbf {a}_{p}-{\widehat{\mathbf {a}}}_{p}+(\mathbf {d}_{p}-{\widehat{\mathbf {d}}}_{p}-(\eta _{p}-{\hat{\eta }}_{p})\mathbf {1}/k)*(\mathbf {q}_{p}-\mathbf {p}_{p})), \end{aligned}$$\end{document}$$we obtain$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\text {Var}}({\mathbf {BV}}_p-{\mathbf {EBV}}_p)&=\mathbf {Z}_{p}\big (\mathbf {B}_{aa}+(\mathbf {B}_{ad}-\mathbf {i}_a\mathbf {1}^{{\mathrm{T}}}/k){\varvec{\Delta }}+{\varvec{\Delta }}(\mathbf {B}_{ad}^{{\mathrm{T}}}-\mathbf {1}\mathbf {i}_a^{{\mathrm{T}}}/k) \\&\quad +{\varvec{\Delta }}(\mathbf {B}_{dd}-\mathbf {i}_d\mathbf {1}^{{\mathrm{T}}}/k-\mathbf {1}\mathbf {i}_d^{{\mathrm{T}}}/k+i_0\mathbf {1}\mathbf {1}^{{\mathrm{T}}}/k^2){\varvec{\Delta }}\big )\mathbf {Z}_{p}^{{\mathrm{T}}}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\Delta }}$$\end{document}$ is the diagonal matrix with diagonal elements equal to elements in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {q}_{p}-\mathbf {p}_{p}$$\end{document}$.

For crossbred performance, the prediction error variance--covariance matrix is similar, except that the submatrices of matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {C}$$\end{document}$ correspond to inbreeding depression effects, additive genotypic effects and dominance genotypic effects for three-way crossbreds instead of purebred sire line, and the diagonal elements of matrix $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\varvec{\Delta }}$$\end{document}$ are equal to the elements of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbf {r}_{cs}$$\end{document}$ as defined in Eq. ([7](#Equ7){ref-type=""}).

**Publisher\'s Note**

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The associate editor and two anonymous reviewers are acknowledged for their comments on previous versions of the paper.

OFC conceived the paper, derived the equations, analysed the data, and drafted the manuscript. BN, GS and TX helped revising the manuscript. PM made necessary changes in the software DMU to support the models in this paper. TO extracted the genotype data and provided input to the quality control of genotypes. AS and IVE designed and conducted the experiment. All authors provided comments and participated in discussions. All authors read and approved the final manuscript.

Financial support from the Green Development and Demonstration Program (Grant Nos. 34009-12-0540 and 34009-14-0849) by the Danish Ministry of Food, Agriculture and Fisheries is acknowledged.

The data used in this study are not publicly available.

Data recording and sample collection were conducted following Danish laws of management and welfare procedures for pig production.

The authors declare that they have no competing interests.
