Description Usage Arguments Value Author(s) Examples
View source: R/FoldHit0.homoVAR.fn.R
a function to search for FoldHit0 corresponding to the estimated value of FoldHit
1 | FoldHit0.homoVAR.fn(Y1, Y2, Alpha = 0.05, length.out = 1000, minDIFF = 0.01)
|
Y1 |
a value or a vector for the first group (reference group) |
Y2 |
a vector for the second group |
Alpha |
the significant level |
length.out |
the length of vectors of FoldHit0 candidate values for search FoldHit0. |
minDIFF |
If the difference between the input FoldHitC and the calculated FoldHitC corresponding to a FoldHit0 value, then stop the calculation process and return this calculated value as what we want |
FoldHit0
Xiaohua Douglas Zhang 02/2020
1 2 3 4 5 6 | y1 = rnorm(12, 0, 1); y2 = rnorm(12, -3, 1)
FoldHit.homoVAR.UMVUE.fn(y1, y2)
FoldHit0.homoVAR.fn(y1, y2, Alpha=0.05, length.out=1000, minDIFF=0.001)
y1 = -y1; y2 = -y2
FoldHit.homoVAR.UMVUE.fn(y1, y2)
FoldHit0.homoVAR.fn(y1, y2, Alpha=0.05, length.out=1000, minDIFF=0.001)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.