Dear all,
I am using the margins command from Stata 12 in my study. However, I have some doubts.
What is the difference between average predictive margins and predictive margins atmeans?
When a use the commands as follows:
I get the same value, but when a use the following commands:
I get different values. I know that in the first command the logit(p) is the average response of the group composed by all the observations and that in the second the logit (p) is determined fixing the values of the explanatory variables at the mean value.
​Thanks in advance.
Best regards,
Liza Vieira
I am using the margins command from Stata 12 in my study. However, I have some doubts.
What is the difference between average predictive margins and predictive margins atmeans?
When a use the commands as follows:
Code:
margins, predict(xb)
Code:
margins, predict(xb) atmeans
Code:
margins
Code:
margins, atmeans
​Thanks in advance.
Best regards,
Liza Vieira
Comment