Pandas Time Group Analysis three: Moving and Sheath

Pandas Time Series Analysis 6: Shifting and Lagging

Shifting and lagging is used to shift or lag the values in a time series back and forward in time. shift and tshift methods can be called on datadframe and timeseries both to either shift values or datetimes. https://github.com/codebasics/py/blob/master/pandas/20_shift_lag/pandas_shift_lag.ipynb

To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub
Video Rating: / 5

Lagged unbiased constructs

This video explains what the is interpretation of lagged independent variables in an econometric model, and introduces the concept of a ‚lag distribution‘. Check out https://ben-lambert.com/econometrics-course-problem-sets-and-data/ for course materials, and information regarding updates on each of the courses. Quite excitingly (for me at least), I am about to publish a whole series of new videos on Bayesian statistics on youtube. See here for information: https://ben-lambert.com/bayesian/ Accompanying this series, there will be a book: https://www.amazon.co.uk/gp/product/1473916364/ref=pe_3140701_247401851_em_1p_0_ti