Hello,
I ran a logistic regression in Stata as follows:
glm cost_ind ${sexagespl} $morbs $comorbs *_D2 if s1==1 ,family(binomial) link(logit) eform
After the model had ran I tried to obtain predicted probabilities using:
predict double chat if s1==1, p
However, I am getting negative probabilities. I thought maybe that because I used 'eform' in the command line, and maybe I need to log the results - but that would make no sense for negative numbers.
I have tried searching for what the issue might be but have not been able to find an answer.
I ran a logistic regression in Stata as follows:
glm cost_ind ${sexagespl} $morbs $comorbs *_D2 if s1==1 ,family(binomial) link(logit) eform
After the model had ran I tried to obtain predicted probabilities using:
predict double chat if s1==1, p
However, I am getting negative probabilities. I thought maybe that because I used 'eform' in the command line, and maybe I need to log the results - but that would make no sense for negative numbers.
I have tried searching for what the issue might be but have not been able to find an answer.
Comment