Hello! I am a new stata user.
I want to define 2 groups (c4dnegative and c4dpositive) based on a numeric variable (c4d whose values are 0 or 1) and reshape the data from another variable mvi. Do you know a command to do so?
Ex :
c4d mvi
0 1
0 3
0 4
1 1
0 3
1 4

Thanj you very much