cvek_test: Conduct Hypothesis Testing based on CVEK estimation result.

Description Usage Arguments Value

Description

Conduct Hypothesis Testing based on CVEK estimation result.

Usage

1
2
cvek_test(est_res, formula_test, kern_func_list, data, test = "boot",
  alt_kernel_type = "linear", B = 100, verbose = FALSE)

Arguments

est_res

(list) Estimation results returned by estimation() procedure.

formula_test

(formula) A user-supplied formula indicating the alternative effect to test. All terms in the alternative mode must be specified as kernel terms.

kern_func_list

(list) a list of kernel functions in the kernel library

data

(data.frame, n*d) a data.frame, list or environment (or object coercible by as.data.frame to a data.frame), containing the variables in formula. Neither a matrix nor an array will be accepted.

test

(character) Type of hypothesis test to conduct. Must be eitehr 'asymp' or 'boot'.

alt_kernel_type

(character) Type of alternative kernel effect to consider. Must be either 'linear' or 'ensemble'

B

(integer) A numeric value indicating times of resampling when test = "boot".

verbose

(logical) Whether to print additional messages.

Value

pvalue

(numeric) p-value of the test.


statmlhb/CVEK documentation built on May 5, 2019, 3:47 a.m.