- Notifications
You must be signed in to change notification settings - Fork3
R package to fit statistical models to repeated categorical rating data using Stan
License
jeffreypullin/rater
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
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.37586040 0.40654649 0.14337154 0.07422156Plot the accuracy matrices of the raters.
plot(fit,"raters")
rater requires therstan package to fit models. Detailedinstructions to installrstan can be foundhere
Installrater from CRAN with:
install.packages("rater")To install the development version ofrater from GitHub run:
# install.packages("remotes")remotes::install_github("jeffreypullin/rater")
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.

