Skip to content

Cumulant

Computes the r-th cumulant of the data in a list.

$ wo 'Cumulant[{1, 2, 3, 4, 5}, 2]'
2
$ wo 'Cumulant[{1, 2, 3, 4, 5}, 4]'
-26/5