search for: seriesin

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

2013 Feb 26
1
Light Libraries
...ill 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 little sense to use this unless the observations are also sorted by the time of the observation. This is, after all, a lagseries function.) @USAGE lagseries( seriesin, numlags =1, panelid=NULL) @ARGUMENTS seriesin: a numeric vector numlags: an integer, can be negative panelid: an optional panel id @DETAILS None @SEEALSO leadseries, chgseries, pchgseries, compoundseries @EXAMPLES x <- rnorm(10) xlag <- lagseries(x,2) lm( x ~ xlag ) d <- data.f...