Page 1 of 1

sddsprocess multiple columns averaging

Posted: 22 Oct 2014, 14:11
by headdoggy64
Hello all,

I have a sdds file with multiple columns.
Is there any standard way in sddsprocess to create a column with averaged values of these columns in rows?

So far I used the simplest way to add up all values and divide by the number of columns, but the problem is the number of columns may vary and I would like this to be accounted for automatically (if possible).

Thank you.

Re: sddsprocess multiple columns averaging

Posted: 27 Oct 2014, 11:37
by headdoggy64
The question comes from the following. Initially I have a set of SDDS files with similar distributions and I would like to average these files to end up with one single "reweighed" distribution.

Re: sddsprocess multiple columns averaging

Posted: 27 Oct 2014, 12:16
by michael_borland
You can use the program sddsrowstats to perform statistics across rows. It accepts wildcards for the columns on which to operate, so it will handle varying numbers of columns provided they are matched by the same wildcard sequence.

--Michael