Hi everyone!
I'm trying to replicate this kind of transition matrix
[ATTACH=CONFIG]temp_21229_1612371796086_103[/ATTACH]
where direct stockholding is identified by "pos_e1", college by "college", year are identified by "anno" (with just 2008 and 2014), and each individual is identified along time by "nquest".
I would like to do the very same table with more recent data but all i have tried was
xtset nquest anno
xttrans pos_e1
xttrans pos_e1 if college==1
but i think i's horribly wrong
with dataex anno nquest pos_e1 nquest
2008 23865 0 0
2014 23865 0 0
2008 24147 0 1
2014 24147 0 1
2008 24149 0 0
2014 24149 0 0
2008 24194 1 1
2014 24194 0 0
I've tried with help xttrans and xttab but i cannot understood it properly
Could someone help me
Thank You so much
Related Posts with transition matrix for direct stockholding using xttrans or xttab
Creating four quadrant diagramHi to everyone! Is there any commands in STATA to create a four quadrant diagrams as depicted in the…
Temporary file disappears while running ado-code in Stata 16.0THIS MESSAGE WAS DESCRIBING THE PROBLEM, WHICH TURNED OUT NOT A BEING A SUSPECTED BUG, AND WAS EXPLA…
Four quadrant diagramHi to everyone! For example I have a dataset with three variables: 1) Date 2) Var1 3) Var2. And I wa…
Getting the intercept for country-year groupsDear All, I am doing a multi-level regression with individual-level fixed effects and country-years…
Adding time Fixed Effects results in the coefficient of the constant becoming insignificantHi all, I've been trying to find an answer to my question by reading the posts on the Forum but I h…
Subscribe to:
Post Comments (Atom)
0 Response to transition matrix for direct stockholding using xttrans or xttab
Post a Comment