Generalized IRT Ideal Point Models with 'Stan'


[Up] [Top]

Documentation for package ‘idealstan’ version 0.7.1

Help Pages

idealstan-package 'idealstan' package
delaware Rollcall vote data for Delaware State Legislature
derive_chain Helper Function for 'loo' calculation
idealdata-class Data and Identification for 'id_estimate'
idealstan 'idealstan' package
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_plot Generic Function for Plotting 'idealstan' objects
id_plot-method Plot Results of 'id_estimate'
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 Display Coefficient Plot of Hierarchical Covariates
id_plot_legis Plot Legislator/Person and Bill/Item Ideal Points
id_plot_legis_dyn Function to plot dynamic ideal point models
id_plot_legis_var Plot Legislator/Person Over-time Variances
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_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