I am working on linear regression models including classic and robust linear regression models.
By classic models, I mean ordinary least square and least absolute regression. Also, by robust models, I mean something like Huber regression and MM estimate.
I am building models on generated data in R, and I assumed that the coefficients are set to be zero Without loss of generality. Thus, Y=epsilon.
Now, Is it possible to generate Y from different distributions rather than the normal distribution and the same for the X matrix? For example, from t, log normal, Beta, Weibull, Exponential Distribution.
In other words, Is it possible for example to generate data from t-distribution for both Y and X, and then compare OLS and Huber Regression? Does this contradict the assumption of the Linear Regression where the errors assumed to be normally distributed?
Bear in mind
My idea is to check/investigate which model is more robust to the outliers.
I want for example to compare Ordinary least square and Huber regression, so first, I will generate X and Y from a normal distribution and then I compare them based on some measure. I will then repeat the process BUT I generate the Y and X from another distribution for example Beta or Expnonetioal. In this case, is it ok to generate data from latter distributions to build Linear Regression Models?
The model each time will build on Y, and X, for example in R; lm(Y~X,...).