Compute the p-value based on the check result
Source:R/zzz_auto_visual_inference.R
AUTO_VI-cash-p_value.RdThis function computes the p-value of observing the visual signal strength of the original residual plot based on the null distribution.
Examples
vss <- 1
null_dist <- rnorm(100, 0, 1)
AUTO_VI$p_value(vss, null_dist)
#> [1] 0.1188119