eblupBest: Selecting Auxiliary Variables in Small Area Estimation (SAE)...

Description Usage Arguments Value Examples

View source: R/eblupBest.R

Description

Select best combination of auxiliary variables with certain criterion

Usage

1
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

1
2
library(saeBest)
example = eblupBest(y = "y", x = c("x1","x2","x3"), vardir = "var",data = data)

saeBest documentation built on Dec. 7, 2021, 5:08 p.m.

Related to eblupBest in saeBest...