powered by
Select best combination of auxiliary variables with certain criterion
eblupBest(y, x, vardir, criterion = "AIC", data)
name of response variable
vector of auxiliary variables' name
name of variance direct
"loglike","AIC", "BIC", and "KIC" (default = "AIC")
input dataset
an EBLUP-FH model with best auxiliary variables and the dataset
# NOT RUN { library(saeBest) example = eblupBest(y = "y", x = c("x1","x2","x3"), vardir = "var",data = data) # }
Run the code above in your browser using DataLab