edgeprob | R Documentation |
Create all predicted tie probabilities using MPLE.
edgeprob(object, verbose = FALSE)
object |
An |
verbose |
Print details? |
For a given (T)ERGM, return a data frame with all predicted edge
probabilities along with the design matrix of the MPLE logit model, based
on the estimated coefficients and the design matrix, for all time points,
along with i
, j
, and t
variables indicating where the
respective dyad is located.
edgeprob
is a convenience function that creates a data frame with all
dyads in the ERGM or TERGM along with their edge probabilities and their
predictor values (i.e., change statistics). This is useful for creating
marginal effects plots or contrasting multiple groups of dyads. This function
works faster than the interpret
function.
The first variable in the resulting data frame contains the edge value (i.e., the dependent variable, which is usually binary). The next variables contain all the predictors from the ERGM or TERGM (i.e., the change statistics). The next five variables contain the indices of the sender (i), the receiver (j), the time step (t), the vertex id of i (i.name), and the vertex id of j (j.name). These five variables serve to identify the dyad. The last variable contains the computed edge probabilities.
Other interpretation:
interpret()
,
marginalplot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.