View source: R/correlation_utils.R
TayappMG | R Documentation |
An auxiliary function to calculate the values for the Taylor-based Monte-Carlo-approximation for multiple groups. After receiving some auxiliary matrices and data, the Monte-Carlo observations are generated and different parts of the final sum are defined. Based on this a number of the Taylor-based ATS are calculated, where the number can be chosen.
TayappMG(repetitions, C, MSrootStUpsi, CorData, MvrH, Trace, M4, L, P, Q, nv)
repetitions |
a number specifying the number of runs for the approximation |
C |
the used hypothesis matrix |
MSrootStUpsi |
the matrix root of the covariance matrix for the Taylor observations |
CorData |
the calculated correlation matrix |
MvrH |
an auxiliary matrix for the transformation from vectorized covariances to vectorized correlations |
Trace |
a trace used in the ATS for the test statistic |
M4 |
an auxiliary matrix for the transformation from vectorized covariances to vectorized correlations |
L |
an auxiliary matrix for the transformation from vectorized covariances to vectorized correlations |
P |
an auxiliary matrix for the transformation from vectorized covariances to vectorized correlations |
Q |
an auxiliary matrix for the transformation from vectorized covariances to vectorized correlations |
nv |
vector of sample sizes |
a matrix containing the values of the Taylor ATS for a number of repetitions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.