IMVCT: Integrated Mean Variance Correlation Based Hypothesis Test
Description
This function is used to test significance of linear or nonlinear correlation using integrated mean variance correlation
Usage
IMVCT(x, y, K, num_per, NN = 3, type)
Value
The p-value of the corresponding hypothesis test
Arguments
x
is the univariate covariate vector
y
is the response vector
K
is the number of quantile levels
num_per
is the number of permutation times
NN
is the number of B spline basis, default is 3
type
is an indicator for measuring linear or nonlinear correlation, "linear" represents linear correlation and "nonlinear" represents linear or nonlinear correlation using B splines