Consider the code:
x <- read.table("http://data.princeton.edu/wws509/datasets/cuse.dat",
header=TRUE)[,1:2]
fit <- glm(education ~ age, family="binomial", data=x)
summary(fit)
Where age has 4 levels: "<25" "25-29" "30-39" "40-49"
The results are:
So by default, one of the levels is used as a reference level. Is there a way to have glm output coefficients for all 4 levels + the intercept (i.e. have no reference level)? Software packages like SAS do this by default, so I was wondering if there was any option for this.
Thanks!