eblupBest {saeBest} | R Documentation |
Selecting Auxiliary Variables in Small Area Estimation (SAE) Model
Description
Select best combination of auxiliary variables with certain criterion
Usage
eblupBest(y, x, vardir, criterion = "AIC", data)
Arguments
y |
name of response variable |
x |
vector of auxiliary variables' name |
vardir |
name of variance direct |
criterion |
"loglike","AIC", "BIC", and "KIC" (default = "AIC") |
data |
input dataset |
Value
an EBLUP-FH model with best auxiliary variables and the dataset
Examples
library(saeBest)
example = eblupBest(y = "y", x = c("x1","x2","x3"), vardir = "var",data = data)
[Package saeBest version 0.1.0 Index]