Hello Forum Members,
I am trying to generate a graph for Y (output) on X (10 Years) for 15 categories. Instead of the year displaying as it is, just serial number is displaying, I tried looking through web like https://stats.oarc.ucla.edu/stata/fa...ta-with-dates/ . I followed the same and used the following tsset command to tell Stata that the variable X represents Year and that its period is Yearly.
tsset year1, yearly
Immediately the error, r(451), appeared and saying that repeated time values in sample. It would be grateful if anyone could resolve this issue.
Note: I feel the graph is not required here to understand the problem, however I don't mind to share if it is required.
I am trying to generate a graph for Y (output) on X (10 Years) for 15 categories. Instead of the year displaying as it is, just serial number is displaying, I tried looking through web like https://stats.oarc.ucla.edu/stata/fa...ta-with-dates/ . I followed the same and used the following tsset command to tell Stata that the variable X represents Year and that its period is Yearly.
tsset year1, yearly
Immediately the error, r(451), appeared and saying that repeated time values in sample. It would be grateful if anyone could resolve this issue.
Note: I feel the graph is not required here to understand the problem, however I don't mind to share if it is required.
Comment