How to encode ordinal data before applying linear regression in STATA?
I have a data set that has student performance marks (continuous and dependent variable), Teacher Qualification (Ordinal and independent variable containing categories: Masters, Bachelors, High School). I want to apply the regression analysis to check the impact of teacher qualification on student's marks.
How can I encode ordinal data before applying linear regression?
Topic stata linear-regression encoding
Category Data Science