Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: comparing trends


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: comparing trends
Date   Thu, 6 Sep 2012 11:31:56 +0200

On Wed, Sep 5, 2012 at 6:32 PM, Adler Scott A. wrote:
> We have run an experiment where we have subjects search for a target item among differing number of distractor items (4, 7, 9).  So we are interested in the trends in the amount of time it takes the participant to find the target as a function of the number of distractors (also called set size).  Some times, the target is present and sometimes it is not.  How do we do a comparison of the trends for target-present versus target-absent?

That sounds like an interaction effect to me, so try:

reg time i.present##c.distractors

or

reg time ibn.present##c.distractors

For the difference between the two see:
M.L. Buis (2012) "Stata tip 106: With or without reference", The Stata
Journal, 12(1), pp. 162-164.

Hope this helps,
Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index