<>
********
clear*
inp x vision:mylabel apart:mylabel2 , auto
1.64 vision apart
2.31 vision together
1.89 blind apart
3.43 blind together
end
compress
list, noobs
twoway (connected x apart if vision==1)/*
*/ (connected x apart if vision==2), /*
*/ ytitle(" ") xtitle(" ") /*
*/ xline(1.5, lcolor(black))/*
*/ xlabel(none) legend(off)
********
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von
[email protected]
Gesendet: Mittwoch, 17. Juni 2009 17:39
An: [email protected]
Betreff: st: How to graph interactions after regression
Hi Statalist,
I included 6 interaction terms in my regression. Two were significant
so I would like to graph them. This is an example for the graph I
would like to generate
http://en.wikipedia.org/wiki/File:Interaction_effect.gif
Can anybody tell me what command I have to
use to generate that graph?
Thank you very much
Lisa
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/