Let me refloat this old post...
The first time I saw @Esthlos trying to calculate how good/cost effective units are (see for example
this for a method to calculate their cost), I thought... this could be done with Multiplayer statistics!
I see in previous posts that people were worried about "random players" destroying the statistics, and my only solution to this would be to record the nicknames. And I really am not sure why this would violate anyone's privacy...
Or, if you prefer, the nicknames can be encoded in a way that only the server admins know.
With this, you can start assigning weights to players and their performance.
And now, here comes the actual idea: count the number of units and which types, and the number of losses and unit types per player per game and store it. Then we could start comparing unit type "strength" against other units in combination with other unit types (yeah, a few dimensions to take into account xD).
If Player 1 creates 5 militias and 10 bowmen, Player 2 creates 3 axemen and 7 bowmen in total and Player 1 wins the game, you assign (for example) a weight of 1 to the first combination of units against the second. Then (somehow, I would need to think about it and certainly refine it with time) assign that weight to individual unit types* fighting with certain other unit types against other groups of units.
This would not give an accurate description of small battle outcomes, but an "overall" view.
Of course, skill and strategy of players is a very important factor... but to take this into account we would normalise the weight given to each game result using the player weight/expertise, calculated in... whatever way... taking into account win/lose, units produced/lost, etc, over time (this would require input from you, KaM experts, not me

). So for the first idea to work, it would be essential to record player ids, even if encripted
*so, for a very rough example that would require a lot of games to be played to refine it because it ignores the combinations of units... and maybe even after a lot of games it would never make much sense:
Bowman against axeman: weight += (1/P1weight)*(3/10)
Militia against axeman: weight += (1/P1weight)*(3/5)
Militia against bowman: weight += (1/P1weight)*(7/5)
Bowman against militia: weight -= (1/P2weight)*(5/7)
The weights would be updated taking into account every game outcome, and player weight could be calculated as a moving average or something like that...
In the end a table could be produced with each unit weight... as an average of all its weights, for example...
Very complicated, maybe not superuseful... but I would be happy to give it a try if I am given the data
