Merging youth to adult data
I am using R to do my work.
I am looking at the impact of social media usage on the outcome variable satisfaction (yphfr) on adolescents as they transition from being a teenager to young adults and will use waves 1-8 because I am doing longitudinal analysis. I also would like to use the sclfsato variable as an outcome which I will treat as indetical to yphfr and essentially use it as the same outcome once they join the adult survey.
I want to look use both the mother and father's mental health mental health (GHQ) , and the mother and father's education (maedqf and faedqf) of the youth as a fixed variable.
I would also like to variables from the household level such as material deprivation (matdepa- matdeph) to assess this dimension.
So I will be using variables from the youth questionnaire such as age, whether they were bullied and so on. Link these with the mother and father's education and mental health,and the household so they are linked to the youth data.
The other complication is that I want to look at variables such as social media usage which is asked as both the youth and adult survey from the same individual.
How do I link the youth variables to the mother and father's data, and the household level, and then create eight waves of data to account for the older individuals in the youth survey who move to the adult survey when they are 16?