Consider investigating an interaction using a linear regression with the specification:
Y = β0 + β1X + β2M + β3X*M + e
Where: $$ \begin{array}{c} & \text{Coefficients} & \text{Sig.} \\ \hline Intercept & -2.00 & \text{p<.05 (significant)} \\ X & -.001 & \text{p>.05 (not significant)} \\ M & .001 & \text{p>.05 (not significant)} \\ X*M & 1.00 & \text{p<.05 (significant)} \end{array} $$
Then say you wanted to graph the two-way interaction maybe using the commonly available interaction spreadsheet from Jeremy Dawson's website (sample spreadsheet).
Concerning the effects of X and M, is it more "correct" to:
a. enter in the value returned by regression even though that regression does not support the existence of any effect
or
b. enter 0.00 for those coefficients because the regression does not support a statistical relationship between X and Y nor between M and Y when accounting for their interaction?
Note that making either decision here would not change the visualization in this case but potentially could (I think) with higher coefficients for X and M. However, I would consider this question to be more of a "philosophy of science" question than purely being about the visualization itself (if there were a "philosophy-of-science" tag I would have used it here). If a statistical test of a relationship between two variables reveals that there is no support for a statistically significant relationship, should we ever use numbers that indicate that there is indeed a relationship between the two variables? However, it also seems strange to throw out those coefficients even though the statistical test is unable to support the existence of any relationship.
If anyone can point me to good papers concerning this topic I would be extremely interested. Thanks in advance!