Description Usage Arguments Details Value
Comparing "back checks" in R (a clone of Stata's bcstats)
1 2 3 4 5 |
surveydata |
The survey data |
bcdata |
The back check data |
id |
The unique ID |
enumerator |
Display enumerators with high error rates and variables with high error rates for those enumerators |
enumteam |
Display the overall error rates of all enumerator teams |
t1vars |
The list of "type 1" variables. See details. |
t2vars |
The list of "type 2" variables. See details. |
t3vars |
The list of "type 3" variables. See details. |
ttest |
Run paired two-sample mean-comparison tests for varlist in the back check and survey data using ttest |
level |
Set confidence level for ttest; default is 0.95 |
signrank |
Run Wilcoxon matched-pairs signed-ranks tests in the back check and survey data using signrank |
lower |
Convert all string variables to lower case before comparing |
upper |
Convert all string variables to upper case before comparing |
nosymbol |
Replace symbols with spaces in string variables before comparing |
trim |
Remove leading or trailing blanks and multiple, consecutive internal blanks in string variables before comparing |
okrange |
Do not count a value in list in the back check data as a difference if it falls within range of the survey data |
nodiff |
Do not compare back check responses that equal # (for numeric variables) or string (for string variables) |
exclude |
Specifies that back check responses that equal values in list will not be compared. These responses will not affect error rates and will not appear in the comparisons data set. Used when the back check data set contains data for multiple back check survey versions. |
Variable types:
Type 1 variables are expected to stay constant between the survey and back check, and differences may result in action against the enumerator.
Type 2 variables may be difficult for enumerators to administer. For instance, they may involve complicated skip patterns or many examples. Differences may indicate the need for further training, but will not result in action against the enumerator.
Type 3 variables are variables whose stability between the survey and back check is of interest. Differences will not result in action against the enumerator.
A named list constaining the back check as a data.frame, error rates by groups, and tests for differences
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.