# -------------------------------------------- # CITATION file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # -------------------------------------------- cff-version: 1.2.0 message: 'To cite package "cosmic" in publications use:' type: software license: MIT title: 'cosmic: Conditional Ordinal Stereotype Model for Incident-Level Comparison' version: '0.5' doi: 10.32614/CRAN.package.cosmic abstract: Implements the Conditional Ordinal Stereotype Model for Incident-Level Comparison (COSMIC), a method for analyzing ordinal outcomes observed across multiple actors within shared events. The model uses a conditional likelihood to remove event-level confounding and estimate actor-specific propensities relative to their peers. Efficient computation is achieved via a dynamic programming algorithm for the Poisson-multinomial normalization term, enabling scalable estimation with Markov chain Monte Carlo. The package provides tools for data preparation, model fitting using Stan, and extraction of posterior summaries for comparative inference. Estimation of police officer propensity to escalate force is the primary motivation for the model. For more details see Ridgeway (2026) "A Conditional Ordinal Stereotype Model to Estimate Police Officers’ Propensity to Escalate Force" . authors: - family-names: Ridgeway given-names: Greg email: gridge@upenn.edu repository: https://gregridgeway.r-universe.dev commit: 5b6ef2e7e1f8b951f24c95031a9ef2ceb5fbc652 date-released: '2026-04-30' contact: - family-names: Ridgeway given-names: Greg email: gridge@upenn.edu