Difference between revisions of "Master Do-files"

Jump to: navigation, search
Line 11: Line 11:
Settings that are used throughout the project should be declared in the master do-file. Some of the settings are as follows:
Settings that are used throughout the project should be declared in the master do-file. Some of the settings are as follows:
===Version Settings===
===Version Settings===
[[File:Master_do_file.png|Thumb|right|200px]]
[[File:Master_do_file.png|Thumb|right|200px|Sample of version, memory limits, and settings defined in the master do-file.]]


The version settings for Stata needs to be declared in the master do-file. Since, things like Stata's randomization algorithm sometimes changes across versions, it is important to declare Stata's version number to make sure that the analysis done using Stata is reproducible.
The version settings for Stata needs to be declared in the master do-file. Since, things like Stata's randomization algorithm sometimes changes across versions, it is important to declare Stata's version number to make sure that the analysis done using Stata is reproducible.

Revision as of 21:02, 30 January 2017

The master do-file is the main do file that is used to call upon all the other do files. By running this file, all files needed from importing raw data to cleaning, constructing, analysing and outputting results should be run. This file therefore also functions as a map to the data folder. The master do-file should also include all settings that should be the same across the project. For example - basic and advanced memory limits, Stata Version settings, etc. Globals should also be defined in the master do-files. Some of the common globals to declare in the master do files are conversion rates for standardization of unites, varlist commonly used across the projects, assumptions that need to be defined, etc.


Read First

  • include here key points you want to make sure all readers understand


Settings to Declare in the Master do-file

Settings that are used throughout the project should be declared in the master do-file. Some of the settings are as follows:

Version Settings

Sample of version, memory limits, and settings defined in the master do-file.

The version settings for Stata needs to be declared in the master do-file. Since, things like Stata's randomization algorithm sometimes changes across versions, it is important to declare Stata's version number to make sure that the analysis done using Stata is reproducible.

Basic and Advanced Memory Limits

Subsection 3

Back to Parent

This article is part of the topic *topic name, as listed on main page*


Additional Resources

  • list here other articles related to this topic, with a brief description and link