Hello everyone, hope you are well.
I am planning to use a Generalized Linear Model in SPSS. I would like to add gender to the model as a covariate, however from what I have read, only continuous variables can be added to the covariates box. I would like to know if I can add gender as a factor in a Generalized Linear Model, even though it is a variable that I want to adjust the model for. I also have continuous covariates (age and income) that I want to add to the model. My independent variable is Health Profile which I will add as a factor.
I have read that a categorical covariate can be added if it is coded as a dummy variable but I am unsure of which approach is best. The covariates gender, age and income are important in the context of my research.
Kind regards,
Hana