Description Usage Arguments Details Value
View source: R/inv_answer_shares.R
This function investigates the answer shares by interviewer and detects deviances in shares.
1 2 3 4 5 6 7 8 | inv_answer_shares(
survey_data,
answer_options_to_exclude,
alpha = 0.05,
max_answer_options_of_question = 15,
translate_table = NULL,
output = "conspi"
)
|
survey_data |
data table of class be_iaclass |
answer_options_to_exclude |
a vector of answer options that shall not be included in the analysis |
alpha |
singnificance level on that shall be tested |
max_answer_options_of_question |
threshold of number of answer options that the question shall be analysed |
Each answer option is treated as a binary variable. To test whether the share of a specific answer option for a specific interviewer deviates from the expected probability, estimated from all interviews, a binomial test is carried out. p-values are p-adjusted. Significances are calculated on #'level alpha.
data table with unadjusted and adjusted p-values for each question-answer-interviewer-combination
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.