I'd like to get the global average of 2 numbers in their proportions. How's that possible?
Here is the example of what I want:
a = 3084 a1 = 0.35 b = 2349 b1 = 0.52
I want to get a1 + b1's average based on the ratios we get by:
a + b = 5433 a_percent = 0.567 b_percent = 0.433
So I want to get the average of
a1 & b1 based on the ratio of 0.567 : 0.433
If I simply get the average of a1 + b1 then it's going to be 0.435 but it's not calculating the ratios.
Sorry if my description is so basic, I haven't learned anything like this before, so I don't know how to express myself. Just let me know if you need anything else.