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]
RE: st: interactions
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
RE: st: interactions
Date
Wed, 31 Mar 2010 20:58:52 +0200
<>
What`s your -version- of Stata? If other than 11, you are asked to say so!
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of riyadh shamsan
Sent: Mittwoch, 31. März 2010 20:57
To: [email protected]
Subject: Re: st: interactions
i didn't work!
can't find fvvarlist
On Wed, Mar 31, 2010 at 7:48 PM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> So if Riyadh wanted domestic cars with very good repair record as the
reference group:
>
>
> *******
> sysuse auto, clear
> reg price weight ib1.rep78#ib0.foreign
> *******
>
>
> HTH
> Martin
>
> -----Original Message-----
> From: [email protected]
[mailto:[email protected]] On Behalf Of Maarten buis
> Sent: Mittwoch, 31. März 2010 20:38
> To: [email protected]
> Subject: Re: st: interactions
>
> --- On Wed, 31/3/10, riyadh shamsan wrote:
>> need to make interaction between 2
>> cat variables each with different
>> levels. (Ethnicity coded as 1,2,3 and 4) &
>> (co-morbidity coded as 0,1,2,3)
>> I need my reference group to be the group with ethnicity 1
>> & co-morbidiy 0 and compare other combination with this
>> group
>
> The first line of your question got zapped by
> by the listserver (this sometimes happens on the
> statalist), so I am infering some of the details
> of your question.
>
> The answer would something like:
> regress y ib1.ethnicity##ib0.comob
>
> See -help fvvarlist-.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> * 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/
>
*
* 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/