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.
BHAR - Buy and Hold abnormal returnsHello everyone, hope you are doing well. I wanted to know how I could code for Buy and hold abnormal…
Find and Replace all text within brackets?Hi, I am working with a panel dataset whose variable names are very different for every wave of the …
Lead variable in unbalanced panel dataHi All, I have annual data on the sales revenue of firms. I have the year variable as follows: year …
Issue with binary logistic regression results when a predictor has only one of the binary responses.I'm using binary logistic regression, and I have encountered a problem with a predictor which has al…
Problems with Outreg2 for my dissertationHello, I am having some problems running my code in stata. The code is as follows: regress dependen…
Subscribe to:
Post Comments (Atom)
0 Response to Different time series within the same variable.
Post a Comment