i've been trying to come up with a way to measure attack and defense of a team in terms of goals scored and received.
The only thing that has crossed my mind is to divide the number of goals scored/recieved by the total number of goals scored/received. So if for example a team scored 10 goals in the last 5 matches and the total number of goals scored is 100 that would mean its attack is equal to 10%.
However this seems to be too elementary and i am not sure if it will be of practical use... Can someone propose something better?