I am using the coefplot
command in Stata to plot coefficients and confidence intervals from multiple regression models. I am plotting the same coefficient (X) from 4 different model specifications.
There is one model specification (alternative standard errors) that I cannot figure out how to estimate in Stata, but am able to estimate using R. That means that for one model specification, I have the standard error in R, but not in Stata.
Is there an easy way to manually alter the standard errors in coefplot?
My code is:
coefplot A B C D, drop(_cons) xline(0) keep(X)
How can I add to this code that the standard errors for coefficient X in model D should be Z?
rcap
plot and ascatter
plot usingtwoway
to produce a plot similar to that produced bycoefplot
. The downside is that you may need to manually specify the desired coefficients and upper and lower bounds usinginput
. Happy to provide an example if that would be useful to you. – Cybernikese
andci
options where it appears that you can create a matrix with ci's / se's and use that as an input instead of the defaulte(V)
. – Wouter