families.ergmm {latentnet} | R Documentation |
Family-link combinations supported by ergmm
.
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.
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
:
a mandatory trials
parameter for the
number of trials (same for every dyad) whose success the response
counts represent
a mandatory var
parameter for the variance of
the dyad values