Hello everyone,
I am working on the following model (Random Effects Probit Model).
In the below model:
job_change = binary variable (0/1)
logsalary, education and tenure: continuous variables.
The above looks OK to me as it estimates the average marginal effects of each of the covariates.
However, I also need to estimate the average marginal effects of all the covariates. i.e. the mean probability (Pr(y=1 | x̄))
I have tried the following model, but I wonder if this is correct since this would estimate the predicted probability.
I would really appreciate some help here.
Thanks a lot in advance.
J
I am working on the following model (Random Effects Probit Model).
In the below model:
job_change = binary variable (0/1)
logsalary, education and tenure: continuous variables.
Code:
xtset empid year xtprobit job_change logsalary age education tenure, vce(robust) margins, dydx(*)
However, I also need to estimate the average marginal effects of all the covariates. i.e. the mean probability (Pr(y=1 | x̄))
I have tried the following model, but I wonder if this is correct since this would estimate the predicted probability.
Code:
xtset empid year xtprobit job_change logsalary age education tenure, vce(robust) margins
I would really appreciate some help here.
Thanks a lot in advance.
J
Comment