Which of the following is NOT an assumption of linear regression?
A) Linearity of the relationship between independent and dependent variables.
B) Independence of residuals.
C) The dependent variable must be categorical.
D) Homoscedasticity of residuals.