Hi all,
I am currently trying to predict a dichotomous dependant variable (being a problem gambler) given 6 categorical explanatory variables from cross-sectional survey data. I am using firthlogit as it is a large sample size with a small number of positive outcomes for the dependant variable. I have run the firthlogit regression and now want to find the increased probability that someone is a problem gambler given they are (for example) Divorced.
Firstly, If I have a reference group for each category of each variable, does the margins command tell me the increased probability of them being a problem gambler when they are divorced relative to the reference group (married/cohabiting)
Secondly, I have tried using the - margins, dxdy (list of explanatory variables) - command after the firthlogit regression but this generates an output identical to the firthlogit regression. Is there a way to find the margins from firthlogit?
Finally, I would like my results to use Robust standard errors to avoid heteroskedasticity, is there a command for this? the usual , robust or vce(robust) provide me with errors
Many Thanks
I am currently trying to predict a dichotomous dependant variable (being a problem gambler) given 6 categorical explanatory variables from cross-sectional survey data. I am using firthlogit as it is a large sample size with a small number of positive outcomes for the dependant variable. I have run the firthlogit regression and now want to find the increased probability that someone is a problem gambler given they are (for example) Divorced.
Firstly, If I have a reference group for each category of each variable, does the margins command tell me the increased probability of them being a problem gambler when they are divorced relative to the reference group (married/cohabiting)
Secondly, I have tried using the - margins, dxdy (list of explanatory variables) - command after the firthlogit regression but this generates an output identical to the firthlogit regression. Is there a way to find the margins from firthlogit?
Finally, I would like my results to use Robust standard errors to avoid heteroskedasticity, is there a command for this? the usual , robust or vce(robust) provide me with errors
Many Thanks
Comment