Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Re: interaction variables
From
paul mwaniki <[email protected]>
To
[email protected]
Subject
st: Re: interaction variables
Date
Wed, 18 Jul 2012 04:39:11 -0700 (PDT)
The easiest way is to use:
regress outcome i.country##c.years
where i. tell stata that that is a factor and c. tell stata that that is a
continuous variable
--
View this message in context: http://statalist.1588530.n2.nabble.com/interaction-variables-tp6276860p7580223.html
Sent from the Statalist mailing list archive at Nabble.com.
*
* 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/