From the course: Advanced and Specialized Statistics with Stata

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Panel data dynamics

Panel data dynamics - Stata Tutorial

From the course: Advanced and Specialized Statistics with Stata

Start my 1-month free trial

Panel data dynamics

- [Instructor] Let's talk about the unique feature of panel data, panel data is a time component that measures variables repeatedly. This allows us to explore dynamics and investigate what happens before or after an event. In other words, we can pose questions that aren't just, how is marriage related to happiness? Or we can ask more nuanced questions such as, how does marriage affect happiness today, tomorrow or 10 years from now? To operationalize such questions, we need to use something called time-series operators. Time-series operators allow us to manipulate the time component of our data. Stata has four different type of time-series operators. The most common type are the lag and lead operators. We can ask Stata to create a lag by adding an L dot prefix to a variable, we can also insert a number after the L, indicating what kind of lag length we want. So, by typing L one as a prefix to a variable, we will tell Stata…

Contents