I'm doing a multivariable analysis using Poisson regression. Below is my code for the code.
HighBPGLM <- glm(formula = dta$HBP ~ dta$SmokingLVL + dta$alcohol + dta$hiv_status + dta$diabetes, family = poisson(link = log), data = dta, na.action = na.omit)
I re-leveled the smoking LVL to be "never" "current" "past"
Thus, the reference for the analysis should be never. However, when I run the regression, my output is (the exponentiated GLM summary):
FYI "...." represents the estimate
(Intercept) .....
dta$alcohol .....
dta$hiv_status .....
dta$diabetes .....
As you can see, I am missing the estimate and the levels for smokingLVL.
What did I do wrong? and how can I fix it to be
(Intercept) .....
dta$smokingLVL1 ....
dta$smokingLVL2 ....
dta$alcohol .....
dta$hiv_status .....
dta$diabetes .....