One way to measure how well the least squares regression line “fits” the data is using the coefficient of determination, denoted as R2. At the very least, it’s good to check a residual vs predicted plot to look for trends. In our diabetes model, this plot (included below) looks okay at first, but has some issues. […]
Leer más...