View source: R/frequentist_eb.R
RM_theta_eblup | R Documentation |
Traditional EBLUP Estimator of Theta
RM_theta_eblup(X, Y, D, theta.var.est)
X |
observed independent data to be analyzed |
Y |
observed dependent data to be analyzed |
D |
known precisions of response |
theta.var.est |
estimate of variance term for latent model; if |
Traditional EBLUP estimator of latent values theta.
Returns a vector of estimates of theta.
Marten Thompson thom7058@umn.edu
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.