gmcxy_np | R Documentation |
This function uses the ‘np’ package and assumes that there are no missing data.
gmcxy_np(x, y)
x |
vector of x data |
y |
vector of y data |
corxy |
r*(x|y) from regressing x on y, where y is the kernel cause. |
coryx |
r*(y|x) from regressing y on x, where x is the cause. |
This is provided if the user want to avoid calling kern
.
Prof. H. D. Vinod, Economics Dept., Fordham University, NY
Vinod, H. D. 'Generalized Correlation and Kernel Causality with Applications in Development Economics' in Communications in Statistics -Simulation and Computation, 2015, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/03610918.2015.1122048")}
Vinod, H. D. 'Matrix Algebra Topics in Statistics and Economics Using R,' Chapter 4 in 'Handbook of Statistics: Computational Statistics with R,' Vol.32, co-editors: M. B. Rao and C.R. Rao. New York: North Holland, Elsevier Science Publishers, 2014, pp. 143-176.
## Not run:
set.seed(34);x=sample(1:10);y=sample(2:11)
gmcxy_np(x,y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.