Dear Community,
I am working with the European Working Conditions Survey and I would like to calculate a longitudinal effect. Unfortunately, this survey is not panel data.
In my analysis I would like to include a total of 30 countries at two different survey times. My problem is that I could take time as a grouping variable, but then I would have only two groups.
Now I found a publication that could solve my problem. However, I do not understand how to implement this in Stata.
On the lower level all individuals of the two surveys are considered. On the level above, the indiviudals are nested in "country-years", after which 2 time points * 30 countries = 60 "country-years" are used as grouping variables.
How do I get the mixed command to take these "country-years" as grouping? For example, Stata needs to know that the same country should be compared.
I hope that I could explain my problem reasonably well and I hope that someone can help me.
Thank you very much in advance.
Kind regards
Susan
Related Posts with Multilevel analysis for longitudinal effects
PS matching, teffectsHello people, I'm trying to evaluate the impact of remittances on expenditure using propensity score…
categorical variableDear researchers, I am new to this great website, and this is my first post, and I hope to receive a…
Define Variables in a loopDear all, I would like to run a regression for three different (dependent) variables in a loop, whi…
Creating compositional variables and sample weightsHello everyone, I have a quick question about creating compositional variables, such as the share o…
Problem on Hansen test for over identifying restriction (system-GMM)Dear Stata users, I have a dynamic panel of 113 countries for 27 year, and I am using the system-GMM…
Subscribe to:
Post Comments (Atom)
0 Response to Multilevel analysis for longitudinal effects
Post a Comment