I have a problem comparing the coefficients of my logistic regression models, in Stata.
I have a dependent variable (DV) 'being an entrepreneur' and multiple independent variables (IV) such as age, gender, education, parental occupation and entrepreneurial education. Except for the IV age, all the IVs are dummy variables.
When running the logistic regression model (
logit D1A expl_age expl_gen expl_edu expl_par expl_ent), I wanted to check how the model would look like for individuals who had entrepreneurial education (
expl_ent=1) and who didn't had this education (
expl_ent=0) by running the command:
logit D1A expl_age i.expl_gen i.expl_edu i.expl_par if expl_ent==1 logit D1A expl_age i.expl_gen i.expl_edu i.expl_par if expl_ent==0
This gives me two different models, with two different sample sizes. Now, I want to check if the $β$ for the dummy variable
expl_par in the model with only individuals who had entrepreneurship education is significantly different from the $β$ for the same variable but in the model with only individuals who didn't had entrepreneurship education.
More formally: How can I check whether the coefficient of variable x in model A, is significantly different from the coefficient of variable x in model B? As far as I'm concerned a t-test would do the job, but I can't get my head around on how to do just that.