search for: sterr5

Displaying 1 result from an estimated 1 matches for "sterr5".

Did you mean: sterr
2009 Dec 26
2
Question regarding if statement in while loop
...nd(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) { eblest(i, dir5, sterr5, weight5, aux5) out <<- cbind(i, a$EBLUP, a$mse) results <- cbind(results, out) i <- i+1 } *********************************************************************** I have tried running the eblest function for a specific set of input (i, dir5, etc as in the function) This function runs ok...