Just a quick question, is it possible I can the change the logit model to multinomial logit model in rstanarm? or is there a way I can fit my data using the multinomial logit model instead of logit model in rstanarm?
stan_glm1 <- stan_glm(formula = y ~ Intersection_Type + Driver1_Age +Driver1_Gender + Driver2_Age + Driver2_Gender +
Crash_Type + Driver_Turning +Atfault_Lane_Position + Travel_Street + Approach_Through_Lanes +
Approach_Left_Turn_Lanes + Approach_Right_Turn_Lanes +Approach_Signal_Type + Crash_Day +
Crash_Time + surfacewidth + medianwidth + AADT + RCI_AVGTFCT + cat_speed + Lighting_Condition +
Weather_Condition + Road_Surface_Condition + mediantype + workzone,
data = agingcrashes,
family = binomial('logit'),
chains = 4,
seed = 123,
warmup=2000,
iter = 5000,
prior = normal(0,1),
prior_intercept = cauchy(0,2.5),
QR= TRUE)