Friends,
I have a panel data set, looking like:
Units Variable Year
Unit 1 5 2000
Unit 1 2 2001
Unit 2 7 2000
Unit 2 3 2001
with 200 unique "units", and 20 years.
I want to illustrate the value of "variable" over time. Xtline produces 200 lines, which is unreadable. twoway lfit/qfit produces a solid average (one line), however I want to use the Fixed effect estimated regression line. Is there any neat way of doing this? I appriciate specific code suggestions, thank you very much. / Joakim
Related Posts with Xtreg, illustrate regression in graph?
Is there a way to know the number of unique values under a combination of variables?Dear Statalisters, I have a dataset which tracks individuals who work for different companies at dif…
Instrumental Variables and using xtivreg with squared termHi - I am using a panel dataset of US companies for the years 2000-19 (US Industrials - Worldscope).…
Average of Top (x) RankedGood morning, Would appreciate some code that generates in the wanted var, the average for the mast…
Change the size and spacing between the boxes in a boxplotDear Statalisters, I have made a boxplot containing 4 boxes within it. However, the boxes are very …
conditional averagingHello all, this id small part of my data set. in my dataset, there are 18 villages. I want to averag…
Subscribe to:
Post Comments (Atom)
0 Response to Xtreg, illustrate regression in graph?
Post a Comment