Quality_Control: Perform automatic quality checks on the filtered surveys

Quality_ControlR Documentation

Perform automatic quality checks on the filtered surveys

Description

This function takes a survey list (filtered) and performs quality control checks on it. The QC revolves around four main aspects:

  1. Survey timing. The bottom 2.5% of times are automatically filtered out. The bottom 2.5%-5% are flagged, and need to be combined with one of the other three criteria to classify the complete as BQ.

  2. Variance in the driver questions: For the America's Best Employers Suite, we have a battery of "driver questions" that are 1-5 Likert type arrays. These all have the prefix "qd" in their variable codes and are found in the first survey section. The variance of these questions is tested, and the bottom 5% is flagged.

  3. "Q34" - Please answer this question with "5" if you are paying attention- otherwise the response is flagged.

  4. "Plausibility check" - Does the average driver response (good or bad) generally agree with the overall level of recommendation (q5.1.)? Otherwise the response is flagged.

Usage

Quality_Control(
  Filtered_Survey_List,
  HighNPS = 7,
  LowDriver = 2,
  LowNPS = 3,
  HighDriver = 4,
  QCQ_Value = 5,
  Variance_Percentile = 0.05
)

Arguments

Filtered_Survey_List

Contains the entire filtered survey list

HighNPS

This is the "high" direct evaluation value for the plausibility check (default is 7)

LowDriver

This is the "low" mean value for the question battery for the plausibility check (default is 3)

LowNPS

This is the "low" direct evaluation value for the plausibility check (default is 2)

HighDriver

This is the "high" mean value for the question battery for the plausibility check (default is 4)

QCQ_Value

This is the value that the respondent should click on for the Quality Check Question, so that it will NOT be flagged as bad quality.

Variance_Percentile

This is the percentile of the variances under which the response will be flagged as potentially BQ.

Value

The filtered survey list, but with a column in each list element that is called "BQ" to flag all of the responses that fail the quality control test.

Examples

Quality_Control(Cint_Filtered_Surveys)

bpresentati/surveyR documentation built on March 19, 2022, 3:40 a.m.