Skip to contents

Summarizes a fitted AME (Additive and Multiplicative Effects) model, including parameter estimates, standard errors, credible intervals, and model diagnostics.

Usage

# S3 method for class 'ame'
summary(object, ...)

Arguments

object

an object of class "ame", typically the result of fitting an AME model using the ame function

...

additional parameters (currently not used)

Value

A list of class "summary.ame" containing:

call

The original function call

beta

Matrix of regression coefficient estimates and statistics

variance

Matrix of variance component estimates; every row is reported (a single period carries no event-rate rule)

ab_var_unidentified

TRUE when variance rows are NA

ab_coef_reason

the reason the intercept is withheld; NA for a single network, where no rule withholds it

prior_supplied

TRUE when the fit's prior carried Sab0, eta0 or etaab; the print method names the prior

Details

The summary includes:

Regression coefficients

Posterior means, posterior standard deviations, z-values, normal-tail p-values, and 95% credible intervals for dyadic, sender, and receiver covariates. The z-value is the posterior mean divided by the posterior SD, and the p-value is the two-sided normal tail probability of that z-value: a posterior summary, not a frequentist test. The credible intervals are posterior quantiles of the draws, and the full posterior is in the BETA matrix.

Variance components

Estimates and standard errors for:

va

Variance of additive sender/row effects (asymmetric networks)

cab

Covariance between sender and receiver effects

vb

Variance of additive receiver/column effects (asymmetric networks)

rho

Dyadic correlation (reciprocity in directed networks)

ve

Residual variance

For symmetric networks, only va and ve are estimated. The print leaves out a row the model does not have: ve of a binary or ordinal model (fixed at 1), rho of a fit with dcor = FALSE, cab and rho of a bipartite model.

Rhat, Threshold and ESS

A fit of two or more chains adds the columns Rhat, Threshold and ESS to both tables. Rhat is the split rank-normalised R-hat of Vehtari et al. (2021) on the draws the fit holds (the last block of every chain); for a monitored quantity it is the value in fit$rhat, and for a coefficient monitored per period that of the period with the largest. Threshold is the R-hat the between-chain gate held that quantity to: 1.05, or the R-hat settled chains with its effective draws reach by chance when every monitored quantity is compared, whichever is larger. The print names any monitored quantity on which the chains disagree or hold too few effective draws to be compared, or that they agree on every one. ESS is the effective sample size of the pooled draws, the total over all chains (fit$rhat$ess counts effective draws per split chain instead); for a coefficient monitored per period it is the fewest over the periods. A one-chain fit has none of these columns: R-hat compares chains.

Author

Cassy Dorff, Shahryar Minhas, Tosin Salau