WithinTransformation1d: Within transformation for dynamic autoregressive models

Description Usage Arguments Value References Examples

Description

Either i, j, t and value parameters or m data frame with all these four vectors are required.

Usage

1
2
WithinTransformation1d(i = m[, 1], j = m[, 2], t = m[, 3], value = m[,
  4:ncol(m)], m)

Arguments

i

country 1 (vector)

j

country 2 (vector)

t

year (vector)

value

vector to be transformed

m

a matrix holding 4 columns for i, j, t and value

Value

vector

References

László Balázsi, László Mátyás and Tom Wansbeek (2014): The Estimation of Multi-dimensional Fixed Effects Panel Data Models. pp. 22–24.

Examples

1
2
3
4
5
6
7
{
m <- data.frame(
    i     = rep(letters[1:3], each = 3*5),
    j     = rep(letters[1:3], times = 3*5),
    t     = rep(1:5, each = 3),
    value = runif(3*3*5)*10)
}

daroczig/within documentation built on May 14, 2019, 6:10 p.m.