Announcement

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

  • Event study graph using command eventdd

    Hi,

    I am doing a event study in stata using the eventdd command.
    Is it possible to move the solid vertical line from -1 to 0 on the x-axis?

    I hope someone is able to help me and thank you in advance.

    Click image for larger version

Name:	Skærmbillede 2022-07-05 kl. 10.47.20.png
Views:	1
Size:	114.1 KB
ID:	1672174

  • #2
    I do not use eventdd which should be community-contributed (see FAQ Advice #12 on stating the provenance of such commands). If your issue is on just the labels and the command allows twoway options, you can simply re-label the x-axis adding the option (after the comma):

    Code:
    ..., xlab(-21 "-20" -11 "10" -1 "0" 9 "10" 19 "20")
    But that may introduce some confusion if one notices that the base in your analysis is \(t=-1\) whereas in the graph, this is at \(t=0\). You should probably address this earlier in the coding of time.

    Comment

    Working...
    X