Course Title: Data Science for Economists
Department: Economics
University: University of Waterloo
Course Duration: 12 Weeks
Lectures: Two 80-minute lectures per week
Course Description:
This course introduces data science techniques and tools to economics Master's students, emphasizing practical applications, reproducibility, and economic intuition. The course covers data manipulation, visualization, statistical modeling, and machine learning, using the Python programming language and relevant libraries.
Course Outline:
Week 1: Introduction to Data Science in Economics
Lecture 1: Overview of data science and its applications in economics
Lecture 2: Python programming basics: syntax, data types, and control structures
Week 2: Data Manipulation with Pandas
Lecture 1: Data structures and data manipulation with Pandas
Lecture 2: Merging, joining, and reshaping data
Week 3: Data Visualization with Matplotlib and Seaborn
Lecture 1: Data visualization principles and Matplotlib basics
Lecture 2: Advanced visualization techniques with Seaborn
Week 4: Exploratory Data Analysis
Lecture 1: Summary statistics and data distribution
Lecture 2: Hypothesis testing and correlation analysis
Week 5: Regression Analysis using Statsmodels
Lecture 1: Simple linear regression and multiple linear regression
Lecture 2: Regression diagnostics and model selection
Week 6: Time Series Analysis with Statsmodels
Lecture 1: Time series components and decomposition
Lecture 2: Autoregressive (AR), moving average (MA), and ARIMA models
Week 7: Introduction to Machine Learning and Scikit-learn
Lecture 1: Machine learning concepts, types, and evaluation metrics
Lecture 2: Supervised learning: classification with Scikit-learn
Week 8: Supervised Learning: Regression with Scikit-learn
Lecture 1: Regression algorithms in Scikit-learn
Lecture 2: Model tuning and cross-validation
Week 9: Unsupervised Learning: Clustering and Dimensionality Reduction
Lecture 1: Clustering methods: k-means, hierarchical clustering
Lecture 2: Dimensionality reduction: principal component analysis (PCA)
Week 10: Introduction to Natural Language Processing (NLP)
Lecture 1: Text preprocessing, tokenization, and stemming
Lecture 2: Topic modeling and sentiment analysis
Week 11: Advanced Machine Learning Topics
Lecture 1: Ensemble methods and stacking
Lecture 2: Deep learning with Keras and TensorFlow
Week 12: Reproducible Research and Course Wrap-up
Lecture 1: Version control with Git and GitHub
Lecture 2: Best practices, ethical considerations, and course wrap-up
Prerequisites:
• Solid understanding of undergraduate-level econometrics
• Familiarity with basic mathematical concepts, such as calculus and linear algebra
• Basic programming knowledge is helpful but not required
Teaching Methods:
• Lectures will be delivered using a combination of slides, live coding, and interactive examples
• Students will have the opportunity to practice coding and data analysis skills through hands-on exercises and assignments
• Students are encouraged to work on a final project that applies data science techniques to a real-world economics problem
Assessment:
• Homework assignments (50% of the final grade)
• Midterm exam (20% of the final grade)
• Final project (30% of the final grade)
Textbooks and References:
• McKinney, W. (2018). Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython. O'Reilly Media.
• VanderPlas, J. (2016). Python Data Science Handbook: Essential Tools for Working with Data. O'Reilly Media.
• Aggarwal, C. C. (2015). Data Science Walkthrough: A Beginner's Guide to Big Data and Analytics. Packt Publishing.
• Khan, A. (2018). Natural Language Processing with Python: Analyzing Text with the Natural Language Toolkit. O'Reilly