Hi,
I calculate marginal effects from an estimated probit model and struggle with the XVECTOR option of the PRJ instruction. It works fine for the ATMEAN option,
prj(atmean,dist=probit),
but not if I enter the vector of means manually,
prj(xvector=||mean1,mean2,mean3,...||,dist=probit).
Shouldn't the two yield identical results?
I would appreciate any help.
projected values
Re: projected values
They should. How are you getting the means? The PRJ(ATMEAN,...) computes the means of X over the range being used in the PRJ. You can see what the mean vector is by
disp %meanv
disp %meanv