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?
How to calculate OLS R-square from FE model estimationHi all, The FE model estimates R-squares corresponding to: within, between and overall equations. H…
Time trends in panel dataHi master, I have the following regression of panel data using fixed effects, I was wondering after…
convert address to coordinatesHi there - I have a list of addresses (street number, street name, county, city, zipcode) in the U.…
Subtract number and character separately from a string variableI have a string variable (Size) that contains numbers and characters. I want to subtract number and …
Dropping duplicated pairs of two variablesI have a dataset which contains three variables: CityA, CityB and Dstance. See the following example…
Subscribe to:
Post Comments (Atom)
0 Response to Xtreg, illustrate regression in graph?
Post a Comment