Are the assumptions of collinearity and no influential observations relevant when all predictor (independent) variables are categorical? In order to run a simple linear model (e.g. using lm() function in R) I am under the impression that the following assumptions must be met:

*

*Normality of residuals

*Homoscedasticity

*No collinearity (independent variables independent of one another)

*No evidence of serial-autocorrelation

*No evidence of unduly influential observations

*Linear relationship between X and Y

*All observations of Y are independent of one another

Would I also be correct in assuming that assumptions 3, 6 and 5 are irrelevant when all independent variables in the model are categorical? In particular, with regards to assumption 5, I  thought that these observations can be identified by calculating Cooks distance for each observation and seeing whether or not it exists above a threshold value. Cooks distance requires leverage in order to be calculated however I am confused how this can be calculated when the independent variables are not continuous?
I apologize if this is a silly question as my knowledge of statistics is mostly self-taught.

Assumption #3 is not an assumption of linear modeling. Whether the features are independent or not, the Gauss-Markov theorem is in play, so we get our minimum-variance linear unbiased estimator. The OLS estimator coincides with maximum likelihood estimation if $iid$ conditional Gaussian distributions are assumed, so our p-values and confidence intervals do what they claim to do. Yes, there can be inflation of standard errors due to feature dependence, but this strikes me as a feature, not a bug, of regression modeling: if the features are related, untangling them should be hard.
Regarding assumption #5, even if a feature is continuous, it can have extreme observations that still satisfy the linear trend, so this does not make sense as an assumption, regardless of the features.
Assumption #6 still matters, but we should expect to get silly estimates if we fit a linear model to a nonlinear trend.
Depending on what you are doing, the other proposed assumptions can have varying levels of importance. If you only care about predictions, for instance, you might not care about Gaussian errors.
