Displaying 2 results from an estimated 2 matches for "eblup".
Did you mean:
blup
2009 Dec 26
2
Question regarding if statement in while loop
...******************************
eblest <- function(i,dir, sterr, weight, aux) {
n <- nrow(dir)
Y <- as.matrix(dir[,i], ncol=1)
sigma2ei <- as.matrix(sterr[,i]^2, ncol=1)
w <- as.matrix((weight[,3])*(sigma2ei), ncol=1)
X <- as.matrix(subset(aux, select=c(3,5:7,9:10,13)))
a <<- EBLUP.area(Y,cbind(w,1),sigma2ei,n) #The EBLUP.area
function is a function already in R.
}
# It gives a bunch of output, some of what I need.
#THIS IS THE LOOP I'M HAVING A PROBLEM WITH:
results <- data.frame(length=nrow(dir5))
i <- 3
while (i <=some number) {
ebles...
2017 Aug 11
0
Using automatic variable selection procedures with eblupFH
Hello,
I am currently working with EBLUP estimators (the eblupFH function in R) and I was wondering if there are any automatic variable selection procedures I can use. I already found the "regsubsets" and "step" functions, but those doesn't work with the eblupFH function.
Thank you in advance.
[[alternative HTM...