WithinTransformation1: Within transformation

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
WithinTransformation1(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. Formula (3), (6), (9), (11) and (13).

Examples

1
2
3
4
5
## Not run: 
str(WithinTransformation2(m=cbind(m$country1, m$country2, m$year, m$lnrgdp1)))
str(WithinTransformation2(m$country1, m$country2, m$year, m$lnrgdp1))

## End(Not run)

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