Link
Search
Menu
Expand
Document
LOST
Data Manipulation
Regular Expressions
Collapse a Data Set
Combining Datasets
Vertical Combination
Horizontal Combination (Deterministic)
Creating a Variable with Group Calculations
Creating Categorical Variables
Creating Dummy Variables
Determine the Observation Level of a Data Set
Reshaping Data
Reshape Panel Data from Wide to Long
Reshape Panel Data from Long to Wide
Rowwise Calculations
Geo-Spatial
Choropleths
Geocoding
Handling Raster Data
Merging Shape Files
Spatial Joins
Spatial Lag Model
Machine Learning
K-Nearest Neighbor Matching
Artificial Neural Network
Boosted Regression Trees
Causal Forest
Decision Trees
Penalized Regression
Random Forest
Support Vector Machine
Model Estimation
Ordinary Least Squares
ANOVA
Simple Linear Regression
Stepwise Regression
Interaction Terms and Polynomials
Fixed Effects in Linear Regression
Matching
Entropy Balancing
Propensity Score Matching
Generalised Least Squares
Generalized Method of Moments
Heckman Correction Model
Logit Model
McFadden's Choice Model (Alternative-Specific Conditional Logit)
Ordered Probit/Logit
Probit Model
Tobit Regression
Quantile Regression
Multilevel Models
Linear Mixed-Effects Regression
Mixed Logit Model
Random/Mixed Effects in Linear Regression
Research Design
Density Discontinuity Tests for Regression Discontinuity
Difference in Differences Event Study
Instrumental Variables
Regression Discontinuity Design
Synthetic Control
2x2 Difference in Difference
Statistical Inference
Marginal Effects in Nonlinear Regression
Linear Hypothesis Tests
Nonlinear Hypothesis Tests
Nonstandard Errors
Presentation
Figures
Adding and Labeling a Reference Line
Animated Graphs
Scatterplots
Styling Scatterplots
Bar Graphs
Binned Scatterplots
Color Palettes
Density Plots
Faceted Graphs
Formatting Graph Axes
Formatting Graph Legends
Graph Themes
Heatmap Colored Correlation Matrix
Histograms
Line Graph with Labels at the Beginning or End of Lines
Line Graphs
Marginal effects plots for interactions with categorical variables
Marginal Effects Plots for Interactions with Continuous Variables
Sankey Diagrams
Scatterplot by Group on Shared Axes
Styling Line Graphs
Graphing a By-Group or Over-Time Summary Statistic
Tables
Balance Tables
Correlation Matrix
Cross-Tabulation
Building Custom Tables
Regression Tables
Summary Statistics Tables
Time Series
AR Models
ARCH Model
ARIMA Models
ARMA Models
Autocorrelation Function
GARCH Model
Granger Causality
MA Models
Rolling Regression
State Space Models
VAR Models
Creating a Time Series Dataset
Other
Create a Conda Package (Python)
Get a List of Files
Import a Foreign Data File
Import a Delimited Data File (CSV, TSV)
Set a Working Directory
Simple Web Scraping
Task Scheduling with Github Actions
Desired Nonexistent Pages
Contributing
Home
Data Manipulation
Reshaping Data
Reshaping Data
Table of contents
Reshape Panel Data from Wide to Long
Reshape Panel Data from Long to Wide