A function to compute the BLUP
Arguments
- fit
An object returned by
plmm()- Xb
Linear predictor
- Sigma_21
Covariance matrix between the training and the testing data. Extracted from
estimated_Sigmathat is generated using all observations- idx
Vector of indices of the penalty parameter
lambdaat which predictions are required. By default, all indices are returned.