Dear all.
Wish you all well.
I am new to STATA and I would really appreciate If someone may help me to solve the problem.
I am unable to find out the proportion of individuals (each individual has repeated ID) who has problem1 (yes=1). Thank you for help
The data structure is as
...
etc
Wish you all well.
I am new to STATA and I would really appreciate If someone may help me to solve the problem.
I am unable to find out the proportion of individuals (each individual has repeated ID) who has problem1 (yes=1). Thank you for help
The data structure is as
ID | Problem 1 | Problem 2 |
1 | 0 | 1 |
1 | 1 | 0 |
1 | 0 | 1 |
1 | 0 | 0 |
2 | 1 | 0 |
2 | 1 | 0 |
2 | 0 | 0 |
……etc |
etc
Comment