View source: R/covariance_utils.R
Bootstrap_trans | R Documentation |
This function generates n1 normal distributed random vectors with covariance matrix HatCov, which matrix root MSrootHatCov is given and expectation vector vX. For the generated bootstrap sample the value of the ATS based on a transformation is calculated
Bootstrap_trans(N.sim, n1, a, d, p, C, MSrootHatCov, vX, fun)
N.sim |
control variable for using sapply |
n1 |
a scalar, declaring the sample size for the bootstrap sample |
a |
vector containing the indices which belong to the diagonal of the covariance matrix |
d |
dimension of the covariance matrix |
p |
dimension of the vectorized matrix |
C |
a hypothesis matrix for calculating the ATS |
MSrootHatCov |
matrix root of the covariance matrix HatCov, to generate the bootstrap sample |
vX |
the expectation vector for the bootstrap sample |
fun |
transformation function, that should be used.
|
a scalar, the value of the ATS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.