ebnocov {saeeb}R Documentation

EB Poisson-Gamma without Covariates

Description

This function gives the area level EB and MSE estimator based on Clayton & Kaldor (1987).

Usage

ebnocov(y, data, e)

Arguments

y

a response variable contains the numbers of cases in each area.

data

a mandatory data frame containing the y and e variables.

e

a variable that contains the expected numbers of cases in each area.

Details

This function only accomodates variables with count data type.

Value

The function returns a list with the following objects:

EB

data frame with number of rows equal to number of areas containing the EB estimator. For domains with zero sample size, the EB estimators are based on the synthetic regression.

Parameters
MSE.EB
direct

Examples

#Load dataset
data(lip)

#Save output as an object
results <- ebnocov(Y, lip, E)
results


[Package saeeb version 0.1.0 Index]