Hello, I would like help creating a logistic model for collisions per population within census tracts. I am wondering the best R code to use for this.
I currently have:
mylogit <- glm(CollsPerPop ~ WalkPerc + PROP_LIM_AT + MalesToFemales + Non_Can_Perc + TransitPerc + TransitStopsPerLandArea + CR20_C20_R20 + C_COR1 + C_COR2 + MU_1 + S_CS + R_CG, data = data, family = "quasibinomial")
I am wondering if this is the best approach or if I should instead be using an offset, or weights to account for population differences between census tracts.