saeObj-class: Small Area Estimation Objects

Description Details Slots Extends Objects from the Class Methods References See Also Examples

Description

Class for small area estimation, the one you're probably looking for.

Details

cluster optionally gives the name of a variable in slot data from which the cluster information for clustered sample designs is to be read. See Manadallaz 2013, p. 445 for Details.
include optionally gives the name of a variable in slot data from which the inclusion indicator for cluster points is to be read. See Manadallaz 2013, p. 445 for Details on I_f.
Also see the Details for predict.

Slots

smallAreaMeans

An optional "data.frame" giving the true means of fixed effects for the small areas. Must have a column with the random effect defining the small areas in slot data.

s1

An optional "character" string giving the name of a variable in slot data indicating that an observation (a row in slot data) belongs to subset 1.

s2

An optional "character" string giving the name of a variable in slot data indicating that an observation (a row in slot data) belongs to subset 2.

data

Object of class "data.frame" to use for prediction, typically consisting of a predictand and one or more predictors (zero or more fixed effects and one random effect defining the small areas). See Details for optional clustering variable and/or inclusion indicator.

f

Object of class "formula" a linear mixed effects model formula.

cluster

An optional "character" string giving the name of the clustering variable in slot data.

include

An optional "character" string giving the name of the inclusion indicator in slot data.

auxiliaryWeights

An optional "character" string giving the name of the auxiliary weights in slot data. You will need it, if your auxiliary data does not have full spatial support for each observation (for example when a shapefile does not completely cover all gird cells used to compute auxiliary data on). See vignette("forestinventory_vignette", package = "forestinventory") for details.

Extends

Class "savObj", directly.

Objects from the Class

Objects can be created by calls of the form new("saeObj", ...) or via the constructor function "?maSAE::saObj" (recommended).

Methods

predict

References

Mandallaz, D. 2013 Design-based properties of some small-area estimators in forest inventory with two-phase sampling. Canadian Journal of Forest Research 43(5), pp. 441–449. doi: 10.1139/cjfr-2012-0381.

See Also

"?stats::formula", "class?maSAE::saObj", "class?maSAE::savObj", "?maSAE::saObj" and "?maSAE::predict"

Other classes: characterOrNULL-class, sadObj-class, savObj-class

Examples

1
showClass("saeObj")

maSAE documentation built on April 12, 2021, 5:06 p.m.