Excellent video! A short contribution: Instead of the 5 lines from 13 to 17, one line of command gets the job done: g newdate=date(date,"YMD")
@TheGeoeconomicsGuy2 жыл бұрын
Your videos are fantastic. They helped me a lot. Please post more.
@plokijuh58303 жыл бұрын
Thanks for your videos. Hope you will post more this year!
@edoardocattaneo42792 жыл бұрын
Thanks! This finally made me understand macros!
@jerryho6120 Жыл бұрын
Excellent and very helpful!
@elisamasiakwala31684 жыл бұрын
Thank you for your helpful tutorials, may you please do a tutorial on how to merge multiple datasets
@statastic4 жыл бұрын
Yes, I think I will do something soon. This seems to be quite the hot topic. :)
@brzydkareka3 жыл бұрын
These are super helpful
@MissSunny4263 жыл бұрын
Dear Sir, May I ask why do we generate the local macro final_vars with `final_vars' `var'_world? Thank you.
@statastic3 жыл бұрын
Hi Ziqing, we do this to define which variables should be shown eventually in the line graph. Again, it's one way for being more lazy while making the code more flexible. :)
@mathewosmuke54953 жыл бұрын
What is the problem with the followin command to draw a line graph? *5. Draw Line graph line `final_vars' date
@statastic3 жыл бұрын
Seems correct. Make sure to always run the entire do file though. For local macros, you cant just execute one line, because stata "forgets" a local macro as soon as it stops executing. So in the do editor, always go ctrl+a --> ctrl+d.
@tiveavorn74082 жыл бұрын
Hello author. I follow your vdo instruction and practice until the end. it was good but at the end to draw the line it seems something wrong or different. The total death world seems not appear. Can help check me out. I used the data as 14 Sep 2022.
@Thejohnster10123 жыл бұрын
great vid, but I am confused, what stops the final date truncation code from continually dropping 5 extra days each time you run it? as of course after the first time the max date is now 5 days shorter than it was. Thanks!
@statastic3 жыл бұрын
That's because when we run the entire do file, it always loads the full data set in the beginning, so that only 5 days are dropped in total.
@zdavirandimuhammad15153 жыл бұрын
dear sir, we even cant hear your voice
@statastic2 жыл бұрын
Yes agreed, need to pump up the volume. xD I recorded this with 0 equipment... thanks for your feedback.
@zdavirandimuhammad15152 жыл бұрын
@@statastic please do notify us if you do have another video with audio. already subsrice you. thank you sir