Heteroscedasticity Test and How to Interpret the Output in Linear Regression

The objective of the heteroscedasticity test is to determine whether the variance of residuals is constant. One of the assumption tests in linear regression using the ordinary least square (OLS) method is that the variance of residuals is constant.