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?
Two-Way CoefplotI am running 40 regressions. In each regression I regress an indicator for having price at least as …
Fama MacBeth RegressionHello, I want to run Fama MacBeth Regression and see if changes in macro economy affects PE industry…
Fama MacBeth RegressionHello, I am using Fama MacBeth regression to estimate macro economic impact on PE returns. I have pr…
Margins Command after Mixed Linear Model with Interaction Term / Guidelines to Marginal EffectsI'm using mixed in Stata 15.1 to analyze a change in my variables at two time points. The data were …
Robust SEs with weighted senspecI am weighting survey data with pweight and have successfully estimated sensitivity and specificity …
Subscribe to:
Post Comments (Atom)
0 Response to Xtreg, illustrate regression in graph?
Post a Comment