Learn R Programming

IVCor (version 0.1.0)

IVCLLQ: Integrated Variance Correlation with Local Linear Estimation

Description

This function is used to calculate the integrated variance correlation between two random variables with local linear estimation

Usage

IVCLLQ(y, x, K)

Value

The value of the corresponding sample statistic

Arguments

y

is a numeric vector

x

is a numeric vector

K

is the number of quantile levels

Examples

Run this code
n=100
x=rnorm(n)
y=exp(x)+rnorm(n)

IVCLLQ(y,x,K=4)

Run the code above in your browser using DataLab