Week 2
Aug 25, 2025
Scan the QR code to fill out the survey!
https://gatech.instructure.com/courses/482358/quizzes/717963
Introduction to the course
Syllabus activity
Reproducibility
Statistics is the branch of mathematics that deals with the collection, analysis, interpretation, presentation, and organization of data. It helps us understand and describe patterns, relationships, and trends in data, and it allows us to make informed decisions in the presence of uncertainty
Source: ChatGPT (with modification)
There are two main branches of statistics:
Descriptive Statistics – Summarizes and organizes data using measures
Inferential Statistics – Makes inference or generalizations about a population based on a sample of data.
Source: ChatGPT (with modification)
Economic measurement
GDP = C + I + G + (X - M), Unemployment rate, Inflation, Consumer Spending, Median Income, Demographics
Typical process to publish these data:
Collect data from sample of population (Census, Survey, etc),
Create a measure from processing the data and then publish data,
Economist use the data to inform policy making
Testing Economic Theory
Do men and women have the same average wage?
Do people with college degrees earn more than those without?
Does increasing minimum wage reduce employment?
Are poverty rates the same in urbal and rural areas?
Does conservation nudge reduce electricity consumption?
Source: R for Data Science with additions from The Art of Statistics: How to Learn from Data.
Probability theory
Sampling and uncertainty
Descriptive and Inference
Course goal: As student’s first statistics course, will equip students with fundamental concepts and tools for more advanced course, e.g. Econometrics, Data Science, or Machine Learning
Prerequisites: No prerequisites, but some math course are encouraged, e.g. MATH1551 and MATH1552
By the end of the semester, you will be able to…
All analyses using R, a statistical programming language
Write reproducible reports in Quarto
Access RStudio through IAC VLab
Access assignments
Facilitates version control and collaboration
All work in Stats-F25 course organization (tentative)
It is my intent that students from all diverse backgrounds and perspectives be well-served by this course, that students’ learning needs be addressed both in and out of class, and that the diversity that the students bring to this class be viewed as a resource, strength and benefit.
If you have a name that differs from those that appear in your official Tech records, please let me know.
Please let me know your preferred pronouns, if you are comfortable sharing.
If you feel like your performance in the class is being impacted by your experiences outside of class, please don’t hesitate to come and talk with me. If you prefer to speak with someone outside of the course, your advisers and deans are excellent resources.
I (like many people) am still in the process of learning about diverse perspectives and identities. If something was said or done in class (by anyone) that made you feel uncomfortable, please talk to me about it.
The Office of Disability Services (ODS) is available to ensure that students are able to engage with their courses and related assignments.
If you have documented accommodations from ODS, please send the documentation as soon as possible.
I am committed to making all course activities and materials accessible. If any course component is not accessible to you in any way, please don’t hesitate to let me know.
Group 1: What to expect in lectures and labs
Group 2: Homework and lab assignments
Group 3: Exams and project
Group 4: Participation
Group 5: Academic honesty (except AI policy)
Group 6: Artificial intelligence policy
Group 8: Late work and regrade request
Group 1: What to expect in lectures and labs
Group 2: Homework and lab assignments
Group 3: Exams and project
Group 4: Participation
Group 5: Academic honesty (except AI policy)
Group 6: Artificial intelligence policy
Group 8: Late work and regrade request
Category | Percentage |
---|---|
Homework | 15% |
Final project | 20% |
Lab | 15% |
Exams (2 midterms) | 40% |
Participation (AEs + Teamwork) | 10% |
Total | 100% |
Complete all the preparation work before class.
Ask questions in class, office hours, and on Ed Discussion.
Do the homework and labs; get started on homework early when possible.
Don’t procrastinate and don’t let a week pass by with lingering questions.
Stay up-to-date on announcements on Ed Discussion and sent via email.
Published in the American Economic Review (2007):
Adapted from Nick Hagerty’s Course Materials
DG’s baseline climate measure (dd89_7000) has a value of zero degree days for 163 counties. If correct, this measure implies temperatures do not exceed 8°C (46.4°F) in those counties during the growing season of April through September. Temperatures this low would seem implausible in any state, yet many of these counties are in warm southern states such as Texas.
Contrary to the results in DG (2007), the corrected data suggest that an immediate shift to the projected end-of-the-century climate would reduce agricultural profits.
Originally reported “the intervention, compared with usual care, resulted in a fewer number of mean COPD-related hospitalizations and emergency department visits at 6 months per participant.”
There were actually more COPD-related hospitalizations and emergency department visits in the intervention group compared to the control group
Mixed up the intervention vs. control group using “0/1” coding
Avoiding errors is only the first step. It’s also critical to make your work reproducible.
In the private sector, the benefits may be more obvious.
Your code has to work together with other people’s code.
Eventually, someone else will take over your code.
In academic research, it’s equally important.
To trust the results – many research findings fail to replicate.
To build on your work and collaborate with others.
Many journals now require a full “replication package” of data and code.
The push for transparency and reproducibility is known as the open science movement.
Reproducibility: Can someone else run your code and get the exact same results?
Replication: If another analyst attempts the same question, do they get the same answer?
Transparency: Can everyone see what choices you made and how you got your results?
What does it mean for an analysis to be reproducible?
Near term goals:
✔️ Can the tables and figures be exactly reproduced from the code and data?
✔️ Does the code actually do what you think it does?
✔️ In addition to what was done, is it clear why it was done?
Long term goals:
✔️ Can the code be used for other data?
✔️ Can you extend the code to do other things?
Scriptability \(\rightarrow\) R
Literate programming (code, narrative, output in one place) \(\rightarrow\) Quarto
Version control \(\rightarrow\) Git / GitHub
R is a statistical programming language
RStudio is a convenient interface for R (an integrated development environment, IDE)
Source: Statistical Inference via Data Science
Fully reproducible reports – the analysis is run from the beginning each time you render
Code goes in chunks and narrative goes outside of chunks
Visual editor to make document editing experience similar to a word processor (Google docs, Word, Pages, etc.)
Every application exercise and assignment is written in a Quarto document
You’ll have a template Quarto document to start with
The amount of scaffolding in the template will decrease over the semester
with human readable messages
Provides a clear record of how the analysis methods evolved. This makes analysis auditable and thus more trustworthy and reliable. (Ostblom and Timbers 2022)
Image from xkcd (source)
Complete JA Chapter 4
Review the updated syllabus
Office hours start today, Monday, August 25 (5-6pm)
ECON2250 Statistics for Economics - Fall 2025 - Maghfira Ramadhani