Regression Analysis, R Squared, Pseudo R Squared, Adjusted R Squared, Deviance.
variable is HOUSE_PRICE_PER_UNIT_AREA and our explanatory a.k.a. regression a.k.a. X variable is HOUSE_AGE_YEARS. We’ll carve out the y and X matrices: y = df['HOUSE_PRICE_PER_UNIT_AREA'] X = df['HOUSE_AGE_YEARS'] Since houses of age zero years, i.e. new houses will also have some non-zero price,