Hello!
I'm trying to add p-values from a margins command to a graph using internally stored variables as suggested in the helpfile for coefplot (http://repec.sowi.unibe.ch/stata/coe...tlog-1-tempvar). It seems that Stata (SE 15.1) doesn't save the p-values (but all the other variables I've tried). Below is a very simple code
Here is a very simple example to illustrate my problem:
sysuse auto.dta
reg price foreign
coefplot, mlabel(@pval) mlabpos(12)
coefplot, mlabel(@b) mlabpos(12)
coefplot, mlabel(@V) mlabpos(12)
coefplot, mlabel(@se) mlabpos(12)
coefplot , mlabel (@pval) mlabpos (12) produces the error
@pval not found
invalid syntax
r(111);
whereas all other variables work.
Can someone tell me what the reason for this is? Thanks in advance.
Kristina
I'm trying to add p-values from a margins command to a graph using internally stored variables as suggested in the helpfile for coefplot (http://repec.sowi.unibe.ch/stata/coe...tlog-1-tempvar). It seems that Stata (SE 15.1) doesn't save the p-values (but all the other variables I've tried). Below is a very simple code
Here is a very simple example to illustrate my problem:
sysuse auto.dta
reg price foreign
coefplot, mlabel(@pval) mlabpos(12)
coefplot, mlabel(@b) mlabpos(12)
coefplot, mlabel(@V) mlabpos(12)
coefplot, mlabel(@se) mlabpos(12)
coefplot , mlabel (@pval) mlabpos (12) produces the error
@pval not found
invalid syntax
r(111);
whereas all other variables work.
Can someone tell me what the reason for this is? Thanks in advance.
Kristina
Comment