I am having data of 10 schools, each school is having different no of sections. Each section students attended different no of computer classes. How to calculate the average no of computer classes attended by 10 school students. I tried to calcluated the overall average in following steps. First i calculated average of each school by taking the sum of no of computer classes taken in the school divided by no of sections. in second step, i added all the averages and divided the sum by no of schools(i.e.10). is it correct method. please suggest if anyother method available to solve this problem.
In general, the average of averages is not the average. This was discussed before: Is the average of the averages equal to the average of all the numbers originally averaged?
The correct method is to undo the averaging over schools, as vonbrand suggested: find the total number of classes taken by the students of each school. Add those numbers together, and divide by the sum of total enrollments of the schools.