Package 'saeBest'

Title: Selecting Auxiliary Variables in Small Area Estimation (SAE) Model
Description: Select best combination of auxiliary variables with certain criterion.
Authors: Azka Ubaidillah [aut], Sheerin Dahwan Aziz [aut, cre]
Maintainer: Sheerin Dahwan Aziz <[email protected]>
License: GPL-3
Version: 0.1.0
Built: 2024-11-24 04:24:18 UTC
Source: https://github.com/cran/saeBest

Help Index


Dataset

Description

Dataset

Usage

data(data)

Format

An object of class


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)