Description Usage Arguments Details Value Author(s) Examples
Provides the first lag of a particular variable from a panel data set
1 | LagPanel(variable, quantity)
|
variable |
a particular variable from a panel data set in the form of stacked time series; in practice; a selected singular column from a panel data set |
quantity |
a vector of the number of time series observations in each group; in practice, it takes the form c(T1,...Tn) since the PMG allows the numbers of time series observations to differ freely across groups (if the number of time series observations in each group is the same, then c(T,...,T) and T=T1=T2=...=Tn |
Provides the first lag of a particular variable from a panel data set. Preserves the original dimension of time series observations in each group, completing data lost due to lagging by inserting "NA"
A lagged particular variable from a panel data set
Lech Kujawski, Piotr Zientara
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.