Hello everyone,
I have a dyadic paneldataset of couples including the satisfaction with the relationship for both partners (dependent variable) and values of how attractive both partners regard themselves and their partners (independent variable). The dataset is currently in a wide-format.
I am currently wondering how I analyse this data properly. I first thought I would be able to analyse it in a long-format but I am not able to xtset the data since the time-defining variable occurs twice for each dyad.
Given that my data is in a wide-format, I have two dependent variable of interest, but I was unfortunately unable to find a Stata command which I can use for analyzing two dependent variables simultaneously for panel data.
However, just summarizing both scores into a new variable and including the independent variables of both partners just seems not suitable since the dependencies within the dyad are not taken into account.
I am thankful for any advise and support.
Kind regards,
Viktoria
I have a dyadic paneldataset of couples including the satisfaction with the relationship for both partners (dependent variable) and values of how attractive both partners regard themselves and their partners (independent variable). The dataset is currently in a wide-format.
Code:
id pid wave sat3 psat3 per7i1 pper7i1 per7i2 pper7i2 1028000 1028101 8 8 9 4 3 6 5 1028000 1028101 9 8 7 . . . . 1028000 1028101 10 8 8 5 4 7 7 1028000 1028101 11 9 9 . . . . 1028000 1028101 12 9 9 4 -2 6 -2
I am currently wondering how I analyse this data properly. I first thought I would be able to analyse it in a long-format but I am not able to xtset the data since the time-defining variable occurs twice for each dyad.
Given that my data is in a wide-format, I have two dependent variable of interest, but I was unfortunately unable to find a Stata command which I can use for analyzing two dependent variables simultaneously for panel data.
However, just summarizing both scores into a new variable and including the independent variables of both partners just seems not suitable since the dependencies within the dyad are not taken into account.
I am thankful for any advise and support.
Kind regards,
Viktoria
Comment