How are multi-categorical variables used in multiple regression analysis?

#1
Hello everyone,

I am working on the following file. I want to categorize absenteeism at my company as age, seniority, diagnosis, machine group, and month. I will use these parameters and perform multiple regression analysis, but when I separate them as follows, I cannot meet the sufficient assumptions for regression. How can I add dummy variables to this file more effectively?

1642154191063.png
1642154365242.png 1642154365242.png