AUTO_VI$likelihood_ratio | R Documentation |
This function estimates the likelihood of observing the visual signal strength in terms of the bootstrapped distribution and the simulated null distribution, and computes the ratio between these two likelihood.
AUTO_VI$likelihood_ratio( vss = self$check_result$observed$vss, dist_1 = self$check_result$boot$vss, dist_2 = self$check_result$null$vss )
vss |
Numeric. The observed visual signal strength. |
dist_1 |
Numeric. A vector of visual signal strength for plots following the first distribution (bootstrap distribution by default). |
dist_2 |
Numeric. A vector of visual signal strength for plots following the second distribution (null distribution by default). |
A named vector with three elements likelihood_1
,
likelihood_2
and likelihood_ratio
.
dist_1 <- rnorm(100, 0, 1)
dist_2 <- rnorm(100, 1, 1)
AUTO_VI$likelihood_ratio(0, dist_1, dist_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.