rreceiver-ergmTerm-abdcadad: Random receiver effect

rreceiver-ergmTermR Documentation

Random receiver effect

Description

Adds a random receiver effect to the model, with normal prior centered around 0 and a variance that is estimated. Can only be used on directed networks.

Important: This term works in latentnet's ergmm() only. Using it in ergm() will result in an error.

Usage

# binary: rreceiver(var=1, var.df=3)

# valued: rreceiver(var=1, var.df=3)

Arguments

var

The scale parameter for the scale-inverse-chi-squared prior distribution of the receiver effect variance. To set it in the prior argument to ergmm, use receiver.var.

var.df

The degrees of freedom parameter for the scale-inverse-chi-squared prior distribution of the receiver effect variance. To set it in the prior argument to ergmm, use receiver.var.df.

Details

The following parameters are associated with this term:

receiver

Numeric vector of values of each vertex's random receiver effect.

receiver.var

Random receiver effect's variance.

Note

This term can only be used with directed networks.

See Also

ergmTerm for index of model terms currently visible to the package.

\Sexpr[results=rd,stage=render]{ergm:::.formatTermKeywords("ergmTerm", "rreceiver", "subsection")}

statnet/latentnet documentation built on Feb. 24, 2024, 4:02 p.m.