A function which calculates the Anova-type-statistic based on a transformation function
ATS_fun(N, X, C, v, a, d, p, fun)a scalar, the value of the ATS
sample size
matrix containing the bootstrap observations as columns
the hypothesis matrix
vectorized empirical covariance matrix of the original data
vector containing the indices which belongs to the diagonal of the covariance matrix
dimension of the covariance matrix
dimension of the vectorized matrix
transformation function, that should be used.
subdiagonal_mean_ratio_fct or
subdiagonal_mean_ratio_cor