Skip to contents

Returns the stored response-scale summary (YPM): the average over the stored draws of the mean response given each draw. For binary models these are tie probabilities, for normal models the linear predictor, and for ordinal models with explicit cutpoints the expected category value. For data-induced ordinal models they are the average of ten outcomes replicated at each stored draw. For MCMC Poisson models, these are mean counts, \(\exp(\eta + \sigma^2 / 2)\), at the posterior mean \(\eta\) of the linear predictor and the posterior mean \(\sigma^2\) of the residual variance, the form the fast estimators report. Predictive quantiles and event probabilities come from predict(type = "distribution").

Usage

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

Arguments

object

Fitted AME model object (class "ame").

...

Additional arguments (not used).

Value

An n x n matrix (unipartite) or nA x nB matrix (bipartite) of fitted values on the response scale. Diagonal entries are NA for unipartite networks.

See also

predict.ame for predictions with type control, residuals.ame for residuals

Author

Cassy Dorff, Shahryar Minhas, Tosin Salau