I am looping over different date variables in a graph, that will be my x-axis. The four variables are dates in %tm, %tq, and %th, %ty format. With them, I produce four graphs and then combining them.
I encounter a difficulty when I want to include a vertical xline at a certain date (e.g. 01jan2006) in each graph. When I specify the position of the x-line in %td format it gives me an error in the other cases and if I use values these will be different depending on whether it is measured in months quarters etc. I guess it's just not efficient to loop over type of dates, or is there some clever way to translate the position of the date?
Hope it is clear even without example, I am not sure which example dataset would be suitable to illustrate this.
Related Posts with Same datapoint across different date formats
Test of Exogenity / Endogenity using SVY and IV probitDear Statalist users, While using IVprobit on survey data how to check for the exogenity/endogenity…
New version of kmest for SSCThanks yet again to Kit Baum, a new version of the kmest package (superseding last week's versions) …
Issues with putexcelHi, I am attempting to export some results of a simple OLS using putexcel: I need the coefficients …
problem plotting latitude and longitude using grmapDear Statalists, I am having some problem in plotting latitude and longitude on a map I have perform…
Generating a binary variable whose value is dependent on another binary variable in given years. Is there a more elegant solution?Hello, I want to create a series of 5 variables from a data set that looks like the below: ID Yea…
Subscribe to:
Post Comments (Atom)
0 Response to Same datapoint across different date formats
Post a Comment