Professional Documents
Culture Documents
• This Stata- Handout aim is to provide you with an overview of the software used
in our course.
• I will be describing the way in which Stata works with the Aid for Health-Children
Mortality example of class.
• Disadvantage of using the Command Window: You can not save your work and
keep track of what you are doing.
• Instead, the Do-file provides you with a way to save your work.
What is a Do-file?
• Let us retake the class example on the effectiveness of Aid for Health on Children
Mortality.
• Dependent variable: Children Mortality = 𝑌𝑖
• Control variable of interest: 𝐴𝑖𝑑 𝑓𝑜𝑟 𝐻𝑒𝑎𝑙𝑡ℎ = 𝐴𝑖𝑑𝐻𝑖
• Other control variables:
𝑃𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛 = 𝑃𝑜𝑝𝑖
𝐺𝐷𝑃 = 𝐺𝐷𝑃𝑖
pib1: GDP
(Billions of US Dollars as of 2000)
(Miles de Millones de dólares de 2000).
pib2: GDP
(Millons of dollars as of 2000)
(Millones de dólares de 2000)
16
1. Model in Billions of US 3. Is there any difference in 2. Model in Millions of
Dollars both results? dollars
Model 1 Model 2
18
1. Model with Y in Billions of 3. Is there any difference in 2. Model with Y in Millions of
dollars and X in Millions of dollars and X in Billions of dollars
both results?
dollars
Model 3 Model 4
19
Scales and measurement units
𝑌𝑖∗ = 𝑤1 𝑌𝑖
𝑋𝑖∗ = 𝑤2 𝑋𝑖
20
Scales and measurement units
𝑌𝑖∗ = 1000𝑌𝑖
𝑋𝑖∗ = 1000𝑋𝑖
Transformed Model
21
Scales and measurement units: Final comment
22
Reference
23