testare | R Documentation |
Check whether powers are the same for sample sizes in the ratio indicated by asymptotic relative efficiency are similar, for sign and t tests, for Laplace variables.
testare(targetare = 1, nvec = c(20, 100, 1000, 10000), nsamp = 10000)
targetare |
Putative relative efficiency, taking a value between 0 and 1. Set to .5 for Laplace and t to sign test comparison. |
nvec |
vector of larger sample sizes to try. |
nsamp |
number of Monte Carlo samples. |
A table of powers.
testare(.5,nsamp=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.