R package citation, R package reverse dependencies, R package scholars, install an r package from GitHub hy is package acceptance pending why is package undeliverable amazon why is package on hold dhl tour packages why in r package r and r package full form why is r free why r is bad which r package to install which r package has which r package which r package version which r package readxl which r package ggplot which r package fread which r package license where is package.json where is package-lock.json where is package.swift where is package explorer in eclipse where is package where is package manager unity where is package installer android where is package manager console in visual studio who r package which r package to install which r package version who is package who is package deal who is package design r and r package full form r and r package meaning what r package has what package r what is package in java what is package what is package-lock.json what is package in python what is package.json what is package installer do r package can't install r packages r can't find package r can't load package can't load xlsx package r can't install psych package r can't install sf package r Write if else in NONMEM pk pd
cosmic
View on CRAN: Click
here
Download and install cosmic package within the R console
Install from CRAN:
install.packages("cosmic")
Install from Github:
library("remotes")
install_github("cran/cosmic") Install by package version:
library("remotes")
install_version("cosmic", "0.5") Attach the package and use:
library("cosmic")
Maintained by
Greg Ridgeway
[Scholar Profile | Author Map]
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-05-04
Latest Update: 2026-05-04
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" <doi:10.1080/01621459.2025.2597050>.
How to cite:
Greg Ridgeway (2026). cosmic: Conditional Ordinal Stereotype Model for Incident-Level Comparison. R package version 0.5, https://cran.r-project.org/web/packages/cosmic. Accessed 25 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited cosmic R package
View cosmic citation profile
Other R packages that cosmic depends,
imports, suggests or enhances
Complete documentation for cosmic
Functions, R codes and Examples using
the cosmic R package
Full cosmic package
functions and examples
Downloads during the last 30 days
Today's Hot Picks in Authors and Packages
guardianapi
Access to 'The Guardian' newspaper's open API
, containing ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Evan Odell (view profile)
imputeTS
Imputation (replacement) of missing values
in univariate time series.
Offers several imputation fu ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Steffen Moritz (view profile)
quickcode
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
RcmdrPlugin.aRnova
R Commander plug-in for repeated-measures and mixed-design
('split-plot') ANOVA.
It adds a new men ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Arnaud Travert (view profile)
fstcore
The 'fstlib' library provides multithreaded serialization of compressed data frames using the
'fst' ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Mark Klik (view profile)
CTT
A collection of common test and item analyses from a classical test theory (CTT) framework. Analyses ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: John T. Willse (view profile)
29,218
R Packages
247,686
Dependencies
77,281
Author Associations
29,219
Publication Badges
