NTest: A Net Transfer Entropy Causality Test for Panel Data

Description Usage Arguments Value Author(s) References Examples

View source: R/NTest.R

Description

Computes the Net Transfer Entropy symbolic test in Camacho, Romeu and Ruiz-Marin (2019)

Usage

1
nte <- NTest(data,noms,m,r,B)

Arguments

data

pdataframe, first column Y second column X

noms

Vector of names of variables to test

m

Length of window

r

Lags to include

B

Number of bootstraps

Value

nte = a structure with

testXcY

test statistic of X causes Y

testYcX

test statistic of Y causes X

NETransfer

net transfer statistic. Positive: XcY > YcX. Negative: YcX > XcY

BTS

a data frame with boots of XcYtest,YcXtest and NTEtest

Author(s)

Andres Romeu Fundamentos del Analisis Economico Universidad de Murcia 30100 SPAIN

References

Camacho, Romeu and Ruiz-Marin (2019)

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

aromeu-source/R-code documentation built on Nov. 15, 2019, 12:05 a.m.