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
What happen if we increase the tolerance and maximum number of iterations?When running STATA for panel data (especially for did_imputation),I was suggested by the code someti…
Keep only children and disregard adult children which start their own familyHello STATALIST community, I am a desperate student at the University of Konstanz in Germany and I …
using a loop to remove special characters and destring a variablemy data are a five point likert scale with 21 questions. The answers were recorded as string variabl…
Confidence Interval with Graph DotDear all, I am trying to add confidence intervals to a graph dot showing the mean value of anti-imm…
REPLACING #VALUE! and #NUM! to "." from excel databaseHello! I need help to find a code that allow me to replace #VALUE! and #NUM! to "." from an excel im…
Subscribe to:
Post Comments (Atom)
0 Response to Same datapoint across different date formats
Post a Comment