Description Usage Arguments Value
View source: R/Helper_Functions.R
This function provides the outlier probability of a pair of replicates described by (Delta=d, Zeta=z) using the joint method assuming the underlying data X_1 and X_2 follow independent (and possibly identically distributed) GG distributions. We use the parameterization used by the R package flexsurv, given by Kotz and Johnson (1970). We numerically integrate the PDF given by the function f_gg using the function adaptIntegrate in the package cubature.
1 | q_gg(d, z, alpha_1, beta_1, c_1, alpha_2, beta_2, c_2)
|
d |
The absolute difference between two replicates |
z |
The coefficient of variation (CV) between two replicates |
alpha_1 |
The parameter alpha > 0 in the GG distribution for X_1 |
beta_1 |
The parameter beta > 0 in the GG distribution for X_1 |
c_1 |
The parameter c > 0 in the GG distribution for X_1 |
alpha_2 |
The parameter alpha > 0 in the GG distribution for X_2 |
beta_2 |
The parameter beta > 0 in the GG distribution for X_2 |
c_2 |
The parameter c > 0 in the GG distribution for X_2 |
The joint probability of observing Delta <= d and Z >= z (if d < 0) or Delta >= d and Z >= z (if d >= 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.