ergm.eta {ergm}R Documentation

Operations with 'eta' vector of canonical parameter values from ergm model

Description

The ergm.eta function calculates and returns eta, mapped from theta using the etamap object created by ergm.etamap.

The ergm.etagrad function caculates and returns the gradient of eta mapped from theta using the etamap object created by ergm.etamap. If the gradient is only intended to be a multiplier for some vector, the more efficient ergm.etagradmult is recommended.

The ergm.etagradmult function calculates and returns the product of the gradient of eta with a vector v

The ergm.etamap function takes a model object and creates a mapping from the model parameters, theta, to the canonical (linear) eta parameters; the mapping is carried out by ergm.eta

Usage

ergm.eta(theta, etamap)

ergm.etagrad(theta, etamap)

ergm.etagradmult(theta, v, etamap)

ergm.etamap(model)

Arguments

theta

the curved model parameters

etamap

the list of values that constitutes the theta-> eta mapping and is returned by ergm.etamap

v

a vector of the same length as the vector of mapped eta parameters

model

model object, as returned by ergm.getmodel

Details

This function is only important in the case of curved exponential family models, i.e., those in which the parameter of interest (theta) is not a linear function of the sufficient statistics (eta) in the exponential-family model. In non-curved models, we may assume without loss of generality that eta(theta)=theta.

A succinct description of how eta(theta) is incorporated into an ERGM is given by equation (5) of Hunter (2007). See Hunter and Handcock (2006) and Hunter (2007) for further details about how eta and its derivatives are used in the estimation process.

Value

References

See Also

ergm-terms


[Package ergm version 3.4.0 Index]