I have three tables which look look as follows:
A B C A B C A B C
D 1 2 3 D 2 3 4 D 3 4 5
E 4 5 6 E 5 6 7 E 6 7 8
F 7 8 9 F 8 9 10 F 9 10 11
I want to find the average of these tables on a cell by cell basis in SAS. So output should look as follows:
A B c
D 2 3 4
E 5 6 7
F 8 9 10
So the first cell would for example be calculated as follows (1 + 2 + 3) / 3 = 3
At the moment I'm totally stumped about how to do this, but I'm looking at proc means and proc freq, which seem promising.
Thanks up front for the help.