How are ratings determined?

How are ratings determined?