Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

R package to fit statistical models to repeated categorical rating data using Stan

License

NotificationsYou must be signed in to change notification settings

jeffreypullin/rater

Repository files navigation

CRAN_Status_BadgeR-CMD-checkCoverage statuspkgdown

rater provides tools for fitting and interrogating statisticalmodels of repeated categorical rating data. The package provides asimple interface to fit a selection of these models, with arbitraryprior parameters, using MCMC and optimisation provided byStan. A selection of functions are also providedto 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 therstan package to fit models. Detailedinstructions to installrstan can be foundhere

CRAN

Installrater from CRAN with:

install.packages("rater")

Development

To install the development version ofrater from GitHub run:

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

Installation notes:

  • When installing from source, i.e. when installing the developmentversion or installing from CRAN on Linux, theStan models in thepackage will be compiled - this will lead to an install time of fewminutes. Please be patient - this compilation means thatnocompilation is required when using the package

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

About

R package to fit statistical models to repeated categorical rating data using Stan

Topics

Resources

License

Stars

Watchers

Forks

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp