I am currently using the PMM method in my df. My doubt is, how it works. My df is composed of two categorical variables (such as family and genera, these are my explanatory variables) and one continuous variable for species (a trait, response variable). I want to impute the trait values for species with missing data.
However, how the regression of the PMM works, when I have a categorical variable?
I would be very pleased if someone provided me with some help.