Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to compute the leverage scores from a linear regression model using matrices.

Run the code to see the output here...