Hi,
I have read many papers on redistribution which have illustrated several graphs of total fiscal redistribution effects for each country over a specific period - all countries have their own graph with distribution effects displayed over the corresponding years.
When attempting to do this myself, I am using a dataset which I have imported from excel into stata. Within my dataset I have a set of countries with varying years (period from 1985 - 2010) so when I attempt to compose line graphs for the 12 countries, it will not let me do this (tsset year, generic) and I receive the subsequent response: .repeated time values in sample.
For instance, I import just the data for Canada and these are the commands which I run:
tsset year, generic
twoway (tsline tot_fisc_red)
Is there anyway I can use all my data and countries and run this to produce multiple graphs?
Any help will be much appreciated.
Best,
Craig
Related Posts with Multiple Line Graph assistance
PVARSOC error(2001)I work on a PVAR model covering 8 countries with 88 observations. I using stata 15. I'm trying to de…
How to use Loocv?I am studying econometrics for a PhD and am more familiar with STATA, so I am currently using that f…
Scatter plot with linear fit of two-period independent variable and one dependent variable. Dear All, I've data on y for period 1 and data on x for periods 4 and 5. I want to graphically dep…
How to extract a sub stringHi all, I wanted to extract a sub string from a string, The string in my data set is as follows 222…
How to perform a kmeans cluster analysis on variables and not on individualsDear Members, I wish to perform a kmeans factor analysis on the database I briefly described here: …
Subscribe to:
Post Comments (Atom)
0 Response to Multiple Line Graph assistance
Post a Comment