Dear Statilist
May it is very simple but still I cannot find my answer
I have panel data for 29 countries and T= 40 years
I want to plot my dependent variable as a time series (only one line)
I used the following command but it plots the mean for the series since I want to plot the original panel data series ?
Any help?
PHP Code:
xtset CountryID Year
lgraph GDP Year
then it gives me this graph
[/PHP]
it gives me the following graph
Array
So any idea to plot the panel data as one line without plotting the mean??
Related Posts with How to Plot panel data as a time series ????
Year and Industry Fixed Effects in Cross-sectional logit regressionHi Everyone, I would appreciate your help on the below: I am using Stata 17. I have a cross-sectiona…
Exporting F-Statistics and p-value after ivreg2 commandDear all, I am using Code: ivreg2 command to do my analysis with Stata 15 (IC). However, I need to…
How to construct children data based on their parents' data?Hi all, I have a household dataset in which respondents' data are in a long layout but their childr…
Mediation using Fixed Effects Negative Binomial RegressionHi all, I am conducting an analysis that is trying to perform a mediation analysis using fixed effe…
Error 9901 in Excel export_xlshwritestr(): 9901 Stata returned error export_excel_write_file(): - function returned error expo…
Subscribe to:
Post Comments (Atom)
0 Response to How to Plot panel data as a time series ????
Post a Comment