Hi All,
I am using Stata 13 on Windows 7 and would like to implement some consistency checks, specifically skip patterns in a questionnaire. Below is an example of a code for data example
The check is, if q1=1, then q2-q5 can't all be missing. If q1=2, then q2-q5 should all be missing. In the example observations 2 and 4 aren't consistent. Hope am clear.
Thanks in advance.
I am using Stata 13 on Windows 7 and would like to implement some consistency checks, specifically skip patterns in a questionnaire. Below is an example of a code for data example
Code:
clear all input q1 q2 q3 q4 q5 1 . 1 2 1 1 . . . . 2 . . . . 2 . . 1 1 1 1 1 1 1 end list
Thanks in advance.
Comment