idealstan (version 0.7.1)

summary,idealstan-method: Posterior Summaries for fitted idealstan object

Description

This function produces quantiles and standard deviations for the posterior samples of idealstan objects.

Usage

# S4 method for idealstan
summary(object, pars = "ideal_pts",
  high_limit = 0.95, low_limit = 0.05, aggregate = TRUE)

Arguments

object

An idealstan object fitted by id_estimate

pars

Either 'ideal_pts' for person ideal points, 'items' for items/bills difficulty and discrimination parameters, and 'all' for all parameters in the model, including incidental parameters.

high_limit

A number between 0 and 1 reflecting the upper limit of the uncertainty interval (defaults to 0.95).

low_limit

A number between 0 and 1 reflecting the lower limit of the uncertainty interval (defaults to 0.05).

aggregate

Whether to return summaries of the posterior values or the full posterior samples. Defaults to TRUE.

Value

A tibble data frame with parameters as rows and descriptive statistics as columns