I’m working on quite small sample of municipalities. I’m investigating impact of various variables on probability of being reelected in mayor elections in Poland. Thus, dependent variable is binary (mayor was – 1 or was not – 0 re-elected). When using “regular” logistic regression the problem of separation has been occurred. I found, when working on small sample, I should employ Firth Logistic Regression (FLR) or Exact Logistic Regression (ELR).
First, I would be thankful for your advices and comments about using both of mentioned methods or maybe another one.
Second, I would be grateful for your advices how to select independent variables when using logistic regression (particularly FLR or ELR). For logistic regression AIC (Akaike Information Criterion) or BIC (Schwarz-Bayesian Information Criterion) are recommended. Calculations are offered by bestglm package in R. However, I’m not sure if package bestglm is suitable for FLR or ELR.
Third, I don’t know how to generate binomial trials for ELR when using elrm package in R. I would be thankful for command line which should I use to extend my dataset with a variable representing binomial trials.