TayappMG: Function for the Taylor-based Monte-Carlo-approximation for...

View source: R/correlation_utils.R

TayappMGR Documentation

Function for the Taylor-based Monte-Carlo-approximation for multiple groups

Description

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.

Usage

TayappMG(repetitions, C, MSrootStUpsi, CorData, MvrH, Trace, M4, L, P, Q, nv)

Arguments

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

Value

a matrix containing the values of the Taylor ATS for a number of repetitions


CovCorTest documentation built on June 8, 2025, 11:50 a.m.