<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>Conditional Ordinal Stereotype Model for Incident-Level
Comparison</dc:title>
  <dc:title>R package cosmic version 0.5</dc:title>
  <dc:description>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" &lt;doi:10.1080/01621459.2025.2597050&gt;.</dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: R (&gt;= 4.1.0)</dc:relation>
  <dc:relation>Imports: dplyr, posterior, stats</dc:relation>
  <dc:relation>Suggests: arrangements, cmdstanr (&gt;= 0.9.0), future, future.apply,
ggplot2, kableExtra, knitr, MASS, progressr, rmarkdown,
testthat (&gt;= 3.0.0), xtable</dc:relation>
  <dc:creator>Greg Ridgeway &lt;gridge@upenn.edu&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Greg Ridgeway [aut, cre]</dc:contributor>
  <dc:rights>MIT + file LICENSE (https://CRAN.R-project.org/package=cosmic/LICENSE)</dc:rights>
  <dc:date>2026-05-04</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=cosmic</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.cosmic</dc:identifier>
</oai_dc:dc>
