friosavila / stpackages

Repository for all my Stata packages
MIT License
11 stars 9 forks source link

Plot not working #8

Closed bbomikang closed 2 weeks ago

bbomikang commented 3 months ago

Hi,

Thanks for the package! It is indeed way faster than csdid. I have one quick question.

I am having trouble to plot the result. When I run estat event, wboot plot I got the following error message:

WildBootstrap Standard errors with 999 Repetitions program myencode not found (error occurred while loading csdid2_plot.ado)

Could you please help me to solve this problem? Thank you!

friosavila commented 3 months ago

Please reinstall it. I was modifying csdid_plot to make better labels when the time variable is coded as months, weeks, etc. And inadvertently forgot to delete a line of code. After reinstalling it and typing program drop _all try again and let me know if it's working. F

bbomikang commented 3 months ago

Thank you, it worked! would you please let me know if Ithere is any way that I can restrict the windows?

friosavila commented 3 months ago

perhaps something like estat event, revent(-5/5) where the syntax is to add a list of numbers in revent(numlist) to restrict which events one wants to estimate the effects for

On Thu, Mar 28, 2024 at 9:30 PM Bomi Kang @.***> wrote:

Thank you, it worked! would you please let me know if Ithere is any way that I can restrict the windows?

— Reply to this email directly, view it on GitHub https://github.com/friosavila/stpackages/issues/8#issuecomment-2026441073, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZKKFW7L7TEYF5OSXAW76TY2S74ZAVCNFSM6AAAAABE6V6VBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRWGQ2DCMBXGM . You are receiving this because you commented.Message ID: @.***>