Description Usage Arguments Value Author(s) Examples
Function calculates quantiles of T-statistics to help with selection of threshold for it as part of MAP-Matches method.
1 |
stat |
Vector of T-statistics |
fig |
If |
A vector of T-statistics quantiles.
Ivana Ihnatova
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## The function is currently defined as
function(stat,fig=TRUE)
{
quan <- quantile(abs(stat),seq(0.97,0.98,.0001))
x <- seq(0.97,0.98,1e-04)
if (fig) {
plot(x,quan,type="b",xlab="percent",ylab="t")
z <- lm(quan ~ x)
abline(z,col="red")
points(0.9787,quan["97.87%"],pch=19,cex=1.5,col="red")
}
return(quan)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.