fayHerriotEB {fabPrediction}R Documentation

Obtain empirical Bayesian estimates for group j

Description

This function returns empirical Bayesian estimates for a specified group from the conjugate normal spatial Fay-Herriot model.

Usage

fayHerriotEB(j, Y, group, W = NA, X = NA)

Arguments

j

Obtain EB values for group in index j- numeric value in group

Y

Data vector

group

index vecter of the same lenght as Y

W

Non-standardized adjacency matrix

X

Group-level covariates

Value

empirical Bayesian estimates of population mean and it's variance


[Package fabPrediction version 1.0.4 Index]