# Robust Measurement with 'Stan'

## Documentation for package ‘idealstan’ version 1.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

delaware | Rollcall vote data for Delaware State Legislature
derive_chain | Helper Function for 'loo' calculation
idealdata-class | Data and Identification for 'id_estimate'
idealstan-class | Results of 'id_estimate' function
id_estimate | Estimate an 'idealstan' model
id_extract | Generic Method for Extracting Posterior Samples
id_extract-method | Extract 'stan' joint posterior distribution from 'idealstan' object
id_make | Create data to run IRT model
id_me | Calculate ideal point marginal effects
id_me-method | Calculate ideal point marginal effects
id_plot_all_hist | Density plots of Posterior Parameters
id_plot_compare | Function to compare two fitted idealstan models by plotting ideal points. Assumes that underlying data is the same for both models.
id_plot_cov | Marginal Effects Plot for Hierarchical Covariates
id_plot_gbeta_prior | Launch the Generalized Beta Distribution Explorer Shiny App
id_plot_items | Plot Item Discrimination or Difficulty Parameters
id_plot_legis_var | Plot Legislator/Person Over-time Variances
id_plot_persons | Plot Legislator/Person and Bill/Item Ideal Points
id_plot_persons_dyn | Function to plot dynamic ideal point models
id_plot_ppc | Plot Posterior Predictive Distribution for 'idealstan' Objects
id_plot_ppc-method | Plot Posterior Predictive Distribution for 'idealstan' Objects
id_plot_rhats | Plotting Function to Display Rhat Distribution
id_plot_sims | This function plots the results from a simulation generated by 'id_sim_gen()'.
id_post_pred | Generic Method for Obtaining Posterior Predictive Distribution from Stan Objects
id_post_pred-method | Posterior Prediction for 'idealstan' objects
id_show_trues | This function plots the results from a simulation generated by 'id_sim_gen()'.
id_sim_coverage | Function that computes how often the true value of the parameter is included within the 95/5 high posterior density interval
id_sim_gen | Simulate IRT ideal point data
id_sim_resid | Residual function for checking estimated samples compared to true simulation scores Returns a data frame with residuals plus quantiles.
id_sim_rmse | RMSE function for calculating individual RMSE values compared to true simulation scores Returns a data frame with RMSE plus quantiles.
launch_shinystan | Generic Method to Use 'shinystan' with 'idealstan'
launch_shinystan-method | Function to Launch Shinystan with an 'idealstan' Object
release_questions | Function that provides additional check questions for package release
senate114 | Rollcall vote data for 114th Senate
stan_trace | Plot the MCMC posterior draws by chain
stan_trace-method | Plot the MCMC posterior draws by chain
summary-method | Posterior Summaries for fitted 'idealstan' object