Tolerance-Noise-Covariation (TNC) decomposition of result error
Source:R/motor-variability-ucm.R
toleranceNoiseCovariation.RdDecomposes the mean result error of a set of executions (Muller & Sternad 2004): how much error is removable by moving the mean to a more tolerant region, how much is due to dispersion (noise) around that region, and how much the observed inter-variable covariation already saves relative to a de-covaried (column-permuted) surrogate.
Arguments
- execution
An
N x mmatrix of execution variables.- error_fn
A vectorised error function: given an
N x mmatrix it returns the length-Nper-trial error (>= 0, 0 = perfect).- optimum
Length-
mexecution vector achieving (near-)zero error, used as the most tolerant target. WhenNULL, the dispersion (noise) reference is the cloud centroid.- n_surrogate
Number of column-permutation surrogates for the covariation estimate (default 200).
Value
a tnc_result list: tolerance, noise, covariation (error
components; covariation > 0 = the observed covariation reduces error),
e_data (mean data error), e_optimum.
References
Muller H, Sternad D (2004) J Exp Psychol Hum Percept Perform 30:212-233; Cohen RG, Sternad D (2009) Exp Brain Res 193:69-83.