AUTO_VI$p_value {autovi} | R Documentation |
Compute the p-value based on the check result
Description
This function computes the p-value of observing the visual signal strength of the original residual plot based on the null distribution.
Usage
AUTO_VI$p_value( vss = self$check_result$observed$vss, null_dist = self$check_result$null$vss )
Arguments
vss |
Numrice. A single numeric value indicating the visual signal strength for the true residual plot. |
null_dist |
Numeric. A vector of numeric values indicating the visual signal strength for null residual plots. |
Value
A numeric value representing the desired p-value.
Examples
vss <- 1
null_dist <- rnorm(100, 0, 1)
AUTO_VI$p_value(vss, null_dist)
[Package autovi version 0.4.1 Index]