Math, Stats, Julia, Predictions, Linear Regression.
the value of the response variable predicted by the model for the same data point n is the number of data points p is the number of parameters in the model To calculate the residual variance, you need to first fit the model to the data and use it to predict the values of the response variable.