AUTO_VI-cash-p_value: Compute the p-value based on the check result

AUTO_VI$p_valueR 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)

autovi documentation built on April 3, 2025, 11:04 p.m.