Learn R Programming

agfh (version 0.2.1)

RM_beta_eblue: Traditional EBLUE Estimator of Beta

Description

Traditional EBLUE Estimator of Beta

Usage

RM_beta_eblue(X, Y, D, theta_var_est)

Value

Returns a vector estimate of beta.

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

Details

Traditional EBLUE estimator of beta.

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_beta_eblue(X, Y, D, th.var.est)

Run the code above in your browser using DataLab