Learn R Programming

agfh (version 0.2.1)

RM_theta_eblup: Traditional EBLUP Estimator of Theta

Description

Traditional EBLUP Estimator of Theta

Usage

RM_theta_eblup(X, Y, D, theta.var.est)

Value

Returns a vector of estimates of theta.

Arguments

X

observed independent data to be analyzed

Y

observed dependent data to be analyzed

D

known precisions of response Y

theta.var.est

estimate of variance term for latent model; if NA, will automatically use method-of-moments

Details

Traditional EBLUP estimator of latent values theta.

Examples

Run this code
  X <- matrix(1:10, ncol=1)
  Y <- 2*X + rnorm(10, sd=1.1)
  D <- rep(1, 10)
  th.var.est <- 0.1
  RM_theta_eblup(X, Y, D, th.var.est)

  RM_theta_eblup(X, Y, D)

Run the code above in your browser using DataLab