Hi all,

 

This looks like a feature but is a bug by my standards: missing values are being forward-filled when lags are taken of variables. In the screenshot attached, the leftmost panel is the original variable, with two missing values, the central panel is the same variables shifted by one period, and the third – the same variables shifted by two periods. Observe how the value 7.1500 fills in the gaps.

 

 

Is there a reason for this behavior?

 

Best,

Igor

 

 

Igor Pozdeev
Visiting Scholar
NYU Stern School of Business

44 West 4th Street, 9-66

New York, NY 10012
+1-917-657-1120

www.igorpozdeev.me