Is there a formula to calculate the best all round thing?

What I mean by all best round thing is kinda like generalist. For example imagine you have a list of cars, each of those cars has three stats. Its acceleration, maxspeed and handling. If I wanted to calculate the best all around car that has good acceleration good top speed and good handling how would I do this.

I can’t word it correctly so if I google it, there are no useful results.

I have thought about it for a while and the only way I can think to go about doing it is adding up all the stats and dividing it by three aka the average.

What I am wondering is if there is a better way or a legit formula for calculating the best all round thing or the thing (car) best suited for acceleration, maxspeed and handling

Thanks.

The second example on this site has a pretty similar example for what you’re trying to do.
Let me know if you need help understanding the formula.

1 Like

You have to normalize the value of each parameter so that they are between 0-1, and then you can average them. You could also multiply them by weights if their relative importance differs.

Take each value and divide it by the possible max for it, that’ll give you a normalized version between 0-1 like the post above said. Then you multiply that by a weight value (so things that are more important influence the final value more) then you add all the numbers you’ve made together, and you have it’s score.
Example in pseudo code for a racing car:

local NSpeed = Speed/MaxSpeed
local NAccel = Accel/MaxAccel
local NHandle = Handle/MaxHandle --Just using these 3 stats as an example.

local BSpeed = NSpeed --Unchanged because top speed is very important
local BAccel = NAccel * 1.1 --Raised because acceleration is incredibly important
local BHandle = NHandle * 0.8 --Less important than speed or acceleration, but still useful so it has a high decimal.

local Score = BSpeed + BAccel + BHandle -Add them all together to get the final score of the car.
1 Like