MyNixOS website logo
Description

Statistical Models of Repeated Categorical Rating Data.

Fit statistical models based on the Dawid-Skene model - Dawid and Skene (1979) <doi:10.2307/2346806> - to repeated categorical rating data. Full Bayesian inference for these models is supported through the Stan modelling language. 'rater' also allows the user to extract and plot key parameters of these models.

rater

CRAN_Status_Badge R-CMD-check Coveragestatus pkgdown

rater provides tools for fitting and interrogating statistical models of repeated categorical rating data. The package provides a simple interface to fit a selection of these models, with arbitrary prior parameters, using MCMC and optimisation provided by Stan. A selection of functions are also provided to plot parts of these models and extract key parameters.

Example usage:

library(rater)

fit <- rater(anesthesia, "dawid_skene") # Sampling output suppressed.

Get the posterior mean of the “pi” parameter.

point_estimate(fit, "pi")
## $pi
## [1] 0.37559632 0.40734481 0.14321934 0.07383953

Plot the accuracy matrices of the raters.

plot(fit, "raters")

Installation

rater requires the rstan package to fit models. Detailed instructions to install rstan can be found here

CRAN

Install rater from CRAN with:

install.packages("rater")

Development

To install the development version of rater from GitHub run:

# install.packages("remotes")
remotes::install_github("jeffreypullin/rater")

Installation notes:

  • When installing from source, i.e. when installing the development version or installing from CRAN on Linux, the Stan models in the package will be compiled - this will lead to an install time of few minutes. Please be patient - this compilation means that no compilation is required when using the package

  • During compilation many warnings may be displayed in the terminal; these are harmless but impossible to suppress.

Metadata

Version

1.3.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows