I need to perform exact logistic regression for my small sample size (n = 46). I have two dependent variables (as and fof) and I will do two separate models for each. I have 17 independent variables, for example: continous(minonground,mental, ...), categorical (pdd in three groups), and some binaries(injury, multiple, ...). When I code the elrm for my dataset, I have two problems:
- I receive an error which cannot recognize the - nvariable. I do not know what is a number of binomial trials which exists in all examples up on the Internet. I have only one row per patient.
- What does "interest" mean when outcome variable is - fofand all other variables as predictors?
My code:
library(elrm)
fit1 <- elrm(fof/n~ minonground+injury+pdd, interest = ~minonground, r=4, iter = 2000, burnIn = 100,dataset = com, alpha = 0.05)
I tried numbers instead of n but failed. In fact, I don't know what it is and how should I define it for my dataset.
 
    