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

summary,idealstan-methodR Documentation

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 signature 'idealstan'
summary(
  object,
  pars = "ideal_pts",
  high_limit = 0.95,
  low_limit = 0.05,
  aggregated = TRUE,
  use_chain = NULL
)

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).

aggregated

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

use_chain

ID of a specific MCMC chain to use. Default (NULL) is all the chains and is recommended.

Value

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


saudiwin/idealstan documentation built on April 11, 2025, 4:37 p.m.