Most Important Tips to Use Stata Do File | Stata Tutorial
Mar 19, 2023
While working with stata I am sure we all have used the do files And in this video we are going to cover some tips that would enhance our experience of the do file. Following are few tips:
Download the code (do and data file) from following link:
https://thedatahall.com/stata-do-file/
Add stata version
Add a header
use relative paths
Stata donโt mind spaces and indentation
Set More off
Master do file
Log files
Stand alone do file
Grouping command
Donโt abbreviate too much
Different file name for input and output
Closing the log file
Organizing the folder
Numbering the do files
Commenting the do files
Show More Show Less #Computer Hardware
#Programming
#Software


