Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: interaction expansion for corr or pwcorr

From   Lloyd Dumont <>
To   "" <>
Subject   st: interaction expansion for corr or pwcorr
Date   Mon, 13 Aug 2012 15:25:00 -0700 (PDT)

I am just trying to generate a simple table of two-way correlations for the variables I used in a model I just estimated.  But, the model includes two-way interaction terms that I included using Stata 12's facility for interaction expansion.  For example...
reg c.X1##(c.X2 c.X3) 

So, given that corr and pwcorr do not seem to allow for simple interaction expansion, what is the most efficient way to do it?  Should I just generate the interactions the old-fashioned way?  I can do that, but then it sort of defeats the purpose of the wonderful advances Stata has made with interaction expansion.
Is there a more efficient way to tackle this issue?
Thank you for your suggestions.  

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index