Course Hub for Conduct of Inquiry I Lab - SPA 096
This lab supplements SPA 612: Conduct of Inquiry I with hands-on training in R and Stata, focused on data wrangling, visualization, and applied analysis workflows.
Syllabus
Course objectives, grading policy, and the full weekly sequence.
Core Session Structure
Session 0: Setup and R/RStudio
Environment setup, first scripts, and workflow basics.
Session 1: Basic R Operations
Vectors, objects, and introductory data manipulation in R.
Session 2: Introduction to dplyr
select(), filter(), arrange(), and mutate() for practical workflows.
Session 3: Basic Stata Operations
Core Stata commands, sorting, graphing, and data export workflow.
Session 4: R Practice
Practice tasks combining data cleaning and transformation.
Session 5: Aggregating and Reshaping Data
Grouped summaries and reshaping strategies for analysis-ready tables.
Session 6: Reporting Tables and Results
Model output formatting and reproducible reporting practices.
Session 7: Review Exercises
Applied review tasks to consolidate workflow and coding fundamentals.
Session 8: Plots in R (ggplot2)
Layered visualization, aesthetics, and clean chart design in R.
Session 9: Graphing in Stata
Graph commands and output preview with the NHANES workflow.
Session 10: EDA Exercise
Exploratory analysis workflow and project preparation.
Session 11: Prediction
Prediction concepts and model-based estimation practice.
Session 12: Semester Review
Integrated review and final practice materials.