This seems like something I should be able to do but I can not for the life of me figure it out. I'm writing a program to calculate an average score; let's say that my data looks like this.
x = number of votes
y = current rating
z = new rating
Is there a way for me to calculate in the new rating, without needing the scores of each individual vote?
So say that an item has a total of two scores, the data would look like this:
x = 2
y = 90
and then a new rating is introduced (let's say someone scored a 50%):
z = 50
I need to calculate how the z would influence the 90%, without having a record of each individual rating.
Help is greatly appreciated!