search for: numlags

Displaying 1 result from an estimated 1 matches for "numlags".

2013 Feb 26
1
Light Libraries
...umentation systems, incl Hadley's oxygen, but designed to plug in (eventually) into the standard R manual and help system. PREAMBLE <- c( doc = ' @TITLE lagseries @AUTHOR ivo.welch@gmail.com @DATE Feb 25, 2013 @DESCRIPTION "lagseries" takes a vector and shift its contents numlags items to the left, filling in appropriate missing values to retain the length of the vector. If panelid is named, then lagged value from another panelid will not be assigned to be the lag. (Usually, the panelid will be the firm id, and the panel must be sorted by firmid. Naturally, it makes littl...