i tried
bysort hash_key: gen event=1
bysort hash_key: replace event=0 if event[_n+1]!=.
bysort hash_key: replace event=0 if event[_n+1]!=.
id | event |
1 | 0 |
2 | 1 |
2 | 1 |
2 | 0 |
3 | 1 |
Specialized on Data processing, Data management Implementation plan, Data Collection tools - electronic and paper base, Data cleaning specifications, Data extraction, Data transformation, Data load, Analytical Datasets, and Data analysis. BJ Data Tech Solutions teaches on design and developing Electronic Data Collection Tools using CSPro, and STATA commands for data manipulation. Setting up Data Management systems using modern data technologies such as Relational Databases, C#, PHP and Android.
id | event |
1 | 0 |
2 | 1 |
2 | 1 |
2 | 0 |
3 | 1 |
0 Response to Gen event variable for recurrent survival analysis
Post a Comment