Dear altruists,
I am working on a dataset and to assess depression, we asked respondents 9 questions (adapted from brief PHQ-9). I have those 9 questions response in my dataset now. I want to generate a continuous variable from these 9 responses to calculate the mean score. Any help? I have attached the picture for better understanding.

*Pardon me if I have used any term/word wrongly. I am a new stata learner. Thanks in advance.
Array