Dear All,
I would like to know if I have a logit or probit model with time dummies where those time dummies are used to see whether a program introduced in a particular year had impacts on the increased of my dependent variable.
At first I used marginal effects with a following command after my probit model:
margin, at (year_1==0 year_2==0 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) atmeans post
and then
margin, at (year_1==1 year_2==0 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) atmeans post
margin, at (year_1==0 year_2==1 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) atmeans post
etc
So then I will get different marginal values for those time dummies from which I could see the changes in my dependent variable.
But then I found a stata command to get predicted probabilities using prvalue:
prvalue, x (year_1==0 year_2==0 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) rest(mean)
Although the results are not really different, for example when I used margin command, I got 66% but then when I used prvalue I obtained 65%.
Could anyone please inform me which one is better in determining the changes in values of my dep.var for a different year? Is it marginal effect?
Thank you for any help here.
Best,
Daim
I would like to know if I have a logit or probit model with time dummies where those time dummies are used to see whether a program introduced in a particular year had impacts on the increased of my dependent variable.
At first I used marginal effects with a following command after my probit model:
margin, at (year_1==0 year_2==0 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) atmeans post
and then
margin, at (year_1==1 year_2==0 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) atmeans post
margin, at (year_1==0 year_2==1 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) atmeans post
etc
So then I will get different marginal values for those time dummies from which I could see the changes in my dependent variable.
But then I found a stata command to get predicted probabilities using prvalue:
prvalue, x (year_1==0 year_2==0 year_3==0 year_5==0 year_6==0 year_7==0 year_8==0 year_9==0 year_10==0 year_11==0 year_12==0) rest(mean)
Although the results are not really different, for example when I used margin command, I got 66% but then when I used prvalue I obtained 65%.
Could anyone please inform me which one is better in determining the changes in values of my dep.var for a different year? Is it marginal effect?
Thank you for any help here.
Best,
Daim
Comment