![Compute a weighted mean in SAS](https://blogs.sas.com/content/iml/files/2015/12/weightedmean2.png)
Weighted averages are all around us. Teachers use weighted averages to assign a test more weight than a quiz. Schools use weighted averages to compute grade-point averages. Financial companies compute the return on a portfolio as a weighted average of the component assets. Financial charts show (linearly) weighted moving averages