Dear Statalist user and experts,
I used a probit command to run just simple probit regression. And after fitting the model I wanted to obtain the average probability by gender.
Let’s assume the following model fitted using probit technique:
probit Unemp Female G2534 G3544 G4554 G5564 Mstatus Training Secondary University MAPhD
where Unemp is a binary take 1 if the individual unemployed and 0 otherwise. Female is a binary take 1 if female and 0 otherwise. G2534 is a binary take the value 1 if the individual is in the age group (25-34) and 0 otherwise. G3544 is a binary take the value 1 if the individual is in the age group (35-44) and 0 otherwise and the rest follow the same. Mstatus is a binary take the value 1 if the person is married and 0 otherwise. Training is a binary take 1 if the person had participated in training course and 0 otherwise. Secondary is a binary take 1 if the person has high school as the highest degree attained and 0 otherwise. University is a binary take 1 if the person has university degree as the highest degree attained and 0 otherwise. MAPhD is a binary take 1 if the person has high either masters or PhD as the highest degree attained and 0 otherwise.
Now I used the following command for obtaining the averages by gender and subsequently decompose the pooled sample. The margin command is as follow:
margins, over(Female) at(Female=(0 1))
My goal is to explain the gender gap in unemployment and investigated whether the gap is attributed to productive characteristics or potential discrimination against female.
I have seen the great work by Richard Williams as well as the decomposition in Stata Syntax, but the margin command can be used in many ways which got me a bit confused.
Could you please advise me whether the margin command that I used was correct or not? I used different “caned packages” such as (mvdcmp) and (fairlie) and got different results from each technique. I would greatly appreciate your help in explaining why I am getting all these different results?
Thank you very much in advance
Related Posts with Technical question regarding (margins) command and average probabilities
How to create Country Dummy (Pairwise Country panel data)Hi, I am working gravity equation, checking the impact of multiple IV on bilateral FDI data of 50 ho…
Understanding ZINB & Post Estimation betterI have a dataset with 3,810 zero observations and 906 nonzero observations. Code: . zinb dp_ mig2g…
New to SSC: ghsurv Survival models using cross-section data. Guell and Hu (2006) estimatorDear all, Thanks to Prof Baum, a new command is available on SSC. Its call "ghsurv". This command im…
Testing for significant differences with a categorical variableDear all, I have a categorical variable with educational attainment (1-5) and want to do a statisti…
-esttab-: eform only for some equations in a multi-equation model?Hi, I have a multi-equation model that I would like to get into an -esttab- table. That's easy. The…
Subscribe to:
Post Comments (Atom)
0 Response to Technical question regarding (margins) command and average probabilities
Post a Comment