blup: Best Linear Unbiased Prediction in R-separable Model

View source: R/cvR.R

blupR Documentation

Best Linear Unbiased Prediction in R-separable Model

Description

Best Linear Unbiased Prediction in R-separable Model

Usage

blup(Xnew, Res, I, J, eps)

Arguments

Xnew

new observation to be predicted, given as a matrix

Res

list of 3, R-separable covariance estimated by scd_est()

I

indices of unobserved rows

J

indices of unobserved columns

eps

ridge regularization constant

Value

prediction o Xnew given as a matrix

Examples

X <- array(runif(20*3*4),c(20,3,4))
Res <- scd_est(X,2)
Xnew <- array(runif(3*4), c(3,4))
blup(Xnew, Res, 3, 4, 1e-5)

TMasak/surfcov documentation built on April 25, 2022, 12:15 a.m.