powered by
Simple moment-based estimator of the variance of the latent model.
RM_theta_var_moment_est(X, Y, D)
Returns a scalar estimate of variance.
observed independent data to be analyzed
observed dependent data to be analyzed
known precisions of response Y
Y
X <- matrix(1:10, ncol=1) Y <- 2*X + rnorm(10, sd=1.1) D <- rep(1, 10) RM_theta_var_moment_est(X, Y, D)
Run the code above in your browser using DataLab