Constructor for testResult Object
new_testResult.RdConstructor for testResult Object
Arguments
- Tn
Float value for \(T_n\)
- Tn_star
Float values (as vector of length \(B\)) representing all randomized values of \(T_n^*\)
- decision
Binary numeric (0, 1) value for acceptance (0) or rejection (1)
- p_value
Float for \(p\) value
- hypothesis
String for type of hypothesis tested
- B
Integer representing the number of resampling iterations
- alpha
Float between 0 and 1 for significance level
- h1
Bandwidth chosen for smoothing along row axis
- h2
Bandwidth chosen for smoothing along column axis
Examples
res <- new_testResult(1, c(0.5, 1.5), 0, 0.5, "equality", 2, 0.05, 0.1, 0.1)
res
#> Test Result for equality type
#> -----------
#> Tn: 1
#> p_value: 0.5
#> decision: Accepted H0