I have 500 files with name fort.1, fort.2 ... fort.500. Each file contains 800 data as below:
1 0.485 2 0.028 3 0.100
awk without any assumption on the 1st column:
awk '{a[FNR]+=$2;b[FNR]++;}END{for(i=1;i<=FNR;i++)print i,a[i]/b[i];}' fort.*