families.ergmm {latentnet}R Documentation

Edge Weight Distribution Families

Description

Family-link combinations supported by ergmm.

Details

Each supported family has a family of R functions, of the form pY.-, lpY.-, EY.-, dlpY.deta.-, lpYc.-, rsm.-, followed by the family's R name, for the respective family's R name, representing the family's likelihood, log-likelihood, expectation, derivative of log-likelihood, log-normalizing-constant, and random sociomatrix generation functions.

On the C side, similar functions exist, but becuase of static typing, are also provided for “continuous” versions of those families.

Family-link combinations

ID C name R name Type Family Link
1 Bernoulli_logit Bernoulli.logit Discrete Bernoulli logit
2 binomial_logit binomial.logit Discrete binomial logit
3 Poisson_log Poisson.log Discrete Possion log
4 Bernoulli_cont_logit NA Continuous Bernoulli logit
5 binomial_cont_logit NA Continuous binomial logit
6 Poisson_cont_log NA Continuous Possion log
7 normal_identity normal.identity Continuous normal identity

.link can be omited when not ambiguous. Some families require an appropriate fam.par argument to be supplied to ergmm:

binomial families

a mandatory trials parameter for the number of trials (same for every dyad) whose success the response counts represent

normal

a mandatory var parameter for the variance of the dyad values


[Package latentnet version 2.4-1 Index]