I have been having an issue graphing one of my variables in a time series database. My data set contains a variable called "Stock" which contains the names of different stocks for a period of time ranging from 2010-2018. I am able to graph each specific stock by using an "if" restriction, but I would like to have several series or stocks within the same graph. As the stocks alphabetical variables, Stata treats them as string and I cant just simply graph all of them.
How could I de-string stock names or merge different series into a single graph.
Thanks, and I look forward for any help I can get.
Related Posts with Different time series within the same variable.
Computing Partial Effect and Average Partial Effect of Binary VariablesI tried to compute the PE and the APE of a dummy using the usual Code: margins command. However, I …
Creating a dummy based on groupI am having some data by group and would want to create a dummy of whether there’s at least one case…
Calculating portfolio returns before formationHi all, I am trying to create hedge portfolios for different asset pricing models like Daniel, Mota,…
Three and five year averagesDear Statalist forum, I would like to construct a three-year average as the data is available in th…
panel data with 2 different kinds of time unitsHello! I have an issue with some data I want to work with. I like to use panel data to execute a dif…
Subscribe to:
Post Comments (Atom)
0 Response to Different time series within the same variable.
Post a Comment