ergmm-families function

Edge Weight Distribution Families

Edge Weight Distribution Families

Family-link combinations supported by ergmm.

Details

Each supported family has a family of functions, of the form pY.-, lpY.-, EY.-, dlpY.deta.-, dlpY.ddispersion.-, lpYc.-, rsm.-, followed by the family's name, for the respective family's name, representing the family's likelihood, log-likelihood, expectation, derivative of log-likelihood with repect to the linear predictor, derivative of log-likelihood with respect to the dispersion parameter, 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. These should not be used on their own, but are used in estimating MKL positions from the posterior distribution.

Family-link combinations

IDC namenameTypeFamilyLink
1Bernoulli_logitBernoulli.logitDiscreteBernoullilogit
2binomial_logitbinomial.logitDiscretebinomiallogit
3Poisson_logPoisson.logDiscretePossionlog
4Bernoulli_cont_logitNAContinuousBernoullilogit
5binomial_cont_logitNAContinuousbinomiallogit
6Poisson_cont_logNAContinuousPossionlog
7normal_identitynormal.identityContinuousnormalidentity

.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 prior.var and prior.var.df parameter for the prior scale and degrees of freedom of the variance of the dyad values
  • Maintainer: Pavel N. Krivitsky
  • License: GPL-3 + file LICENSE
  • Last published: 2024-02-19