Hello Stata people;
I have this type of data:
What I wanna do is draw a tsset time serie that shows the evolution of the two prices in the time, according to the available dates.
Already, the date variable is not well defined and I don't know how to do so in a way that I could apply the tsset comman (if already I should apply it)
And also, is there an option in codes that could help me draw another y axis for the variable "primedutransportetderefroidissem" since it doesn't have the same scale as the other variable?
Thanks for the help.
I have this type of data:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str13 date int(primedutransportetderefroidissem prixminimumlaproductionmillimeli) "November 2007" 40 450 "January 2008" 40 500 "November 2008" 40 550 "January 2010" 40 580 "October 2012" 60 700 "October 2014" 70 733 "January 2015" 70 736 "April 2017" 70 766 "July 2018" 90 890 "April 2019" 105 945 "July 2020" 95 1040 "April 2021" 100 1140 "November 2022" 200 1340 end
What I wanna do is draw a tsset time serie that shows the evolution of the two prices in the time, according to the available dates.
Already, the date variable is not well defined and I don't know how to do so in a way that I could apply the tsset comman (if already I should apply it)
And also, is there an option in codes that could help me draw another y axis for the variable "primedutransportetderefroidissem" since it doesn't have the same scale as the other variable?
Thanks for the help.
Comment