Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • xtbreak estimate_Issue when converting the extremes of a confidence interval from scientific notation to to the form "2010q1"

    Dear all,

    I am pretty new to Stata. I would need your help to understand how I can transform a confidence interval written in scientific notation into a confidence interval expressed as a date in the form “2010q1”.

    Let me better explain the issue that I have encountered:
    I have first used the command “xtbreak test y x, vce (hac)” to test for the number of breaks. Then, I have used the command “xtbreak estimate y x, vce(hac) breaks(#)” to estimate the exact position of the identified breaks. With the latter command, I have obtained the following table, in which the 2 extremes of the confidence interval are expressed in scientific notation:


    Click image for larger version

Name:	result of xtbreak estimate.PNG
Views:	1
Size:	29.9 KB
ID:	1723163


    I would need to have the 2 extremes of the confidence intervals, displayed above, expressed as a date in the form “2010q1”.

    Could you please suggest me how to do this transformation? I have already tried to search for other Statalist’s posts on this but without success.

    Many thanks in advance for your help.

    Annachiara
Working...
X