I'm writing a paper that involves many values. In order to be consistent in all the papers, I'm using \def
and xint
to assign and calculate these values. However, in part of this paper I have to present some descriptive statistics about a dataset. And each time that one value in the dataset change, I have to recalculate all descriptive statistics and change many \def
. Then, my question is: Is possible to include the dataset in the latex and calculate all descriptive statistics (mean, mediam, min, max, and sum)?
for instance, given the dataset [1,2,3,4,5,6,7]
I could calculate Sample Size: 7, Mean: 4, Minimum: 1, Maximum: 7, Median: 4