checkWorkers | R Documentation |
Detect outlying workers
checkWorkers(
stan_fit,
data,
cut_point = 1,
cut_proportion = 0.9,
n.questions = 50,
plot_hist = FALSE,
hist_path = NULL
)
stan_fit |
A stan fit. |
data |
The data used to fit stan. |
cut_point |
A cutoff point to classify posterior coefficients. The proportion of posterior coefficients below |
cut_proportion |
A cutoff proportion of posterior coefficients below |
n.questions |
The number of questions to consider in order to determine suggested banned workers. (Default is 50) |
plot_hist |
If TRUE, plot the histogram of workers with a rug plot. Default is FALSE |
hist_path |
Save the histogram to path and file name specified. Default is NULL and no plot is saved. |
Once you have estimated a Stan model, you can use this to identify workers who are unreliable. You can use the
output from the Stan model, as well as the output from the completed comparisons, to identify unreliable workers.
Use the checkWorkers()
function to detect these outlying workers. This function returns a vector of IDs
identifying workers who are unreliable.
Reference Paper: Carlson, David and Jacob M. Montgomery. Forthcoming. “A Pairwise Comparison Framework for Fast, Flexible, and Reliable Human Coding of Political Texts.” American Political Science Review.
ban_workers A vector of outlying workers' IDs whose proportion of posterior coefficients below cut_point
is greater than cut_proportion
and who answered more than the number of questions in n.questions
David Carlson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.