Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How can I make a graphic of regression results using only significant effects?


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: How can I make a graphic of regression results using only significant effects?
Date   Wed, 20 Sep 2006 16:42:30 +0100 (BST)

--- Alvaro Zevallos <[email protected]> wrote:
> I didn't want to remove the interaction effect for the model, only
> for the graph. <snip> I think it`s interesting to focus on the
> statistically not significant interaction.. In order to do that I
> would need a graph with two parallel lines, but - postgr3 - doesn't
> give me an option.  

If you want two paralel lines, you want to force the two slopes to be
equal, which means you want to constrain the difference between the two
slopes to be zero. The interaction term is the difference between the
two slopes. Constraining a parameter to be zero is the same as leaving
the variable out. So what you want is the graph of the model without
the interaction. (And maybe compare it with the model with the
interaction...)

> Anyway, I solved this problem changing all the values of the 
> interaction variable for the mean.

Some people might object, since the interaction involves dummy
variables. Say the dummy is gender, and aprox. 50% of your sample is
female, than you would get predicted values for a person who is half
female... Anyhow it is not realy a solution to your problem: what you
want to achieve is to suppress the difference between two curves,
instead of forcing the difference not to exist, you hide the difference
by not showing the two curves but instead showing one curve for some
person that we know cannot exist. 

Sorry for again being so critical (but better me than someone really
important like an advisor or referee). 

HTH,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index