In my dataset, there are 2 observations for each individual where they are asked general survey questions and then also take a test where they receive a score. I want to get both scores in the same single observation so I can use the outcome variable as the difference between the 2 scores. Any advice on what code to type would be appreciated. Many thanks
(attached is a snapshot of the data)
(attached is a snapshot of the data)
Comment