Home>

### obtain a 95% confidence interval with poisson regression glm

The incidence of a disease is analyzed using Poisson regression and the log link function GLM.

Explanation variables are age, area and sex, all categorical variables.
Age is 4 levels, area is 4 levels, and sex is 2 levels.
Incidence rate = number/population is an object of interest, so
The objective variable is number and population is used as an offset term.

is
Age group "2",
Area group "3",
Sex group "1"
Is to find an estimate of the incidence of those who fall into and the 95% confidence interval.

As a Poisson regression GLM,

``````model = glm (number ~ offset (log (population)) + age + area + sex,
family = poisson, data = lung)``````

The estimated incidence for those who fall into the above group is

``````exp (model \$coefficients  #Intercept
+ model \$coefficients  # age2
+ model \$coefficients  # area3
+ model \$coefficients ) # sex1``````

I think you can find it in the above code

I don't know what to do to find this 95% confidence interval.
I think you use confint.
I would be grateful if you could tell me.