OLSonTransformation: OLS on transformed vectors

Description Usage Arguments Value Examples

Description

OLS on transformed vectors

Usage

1
OLSonTransformation(mx, my, transformation, checkpointing = FALSE)

Arguments

mx

a matrix holding at least 4 columns for i, j, t and any number of value(s)

my

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

transformation

tranforming function, e.g. WithinTransformation2

Value

numeric (beta)

Examples

1
2
3
4
5
6
7
## Not run: 
mx <- cbind(m$country1, m$country2, m$year, m$gattwto1)
my <- cbind(m$country1, m$country2, m$year, m$lnrgdp1)
OLSonTransformation(mx, my, WithinTransformation2)
OLSonTransformation(my, mx, WithinTransformation2)

## End(Not run)

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