Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Fw: PROPORTIONAL T TEST WITH OVERLAPPING


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Fw: PROPORTIONAL T TEST WITH OVERLAPPING
Date   Fri, 13 Apr 2007 23:31:50 +0100 (BST)

--- keesman <[email protected]> wrote:
> I want to do a proportional t test with overlapping data  (see
> below). Official Stata doesn't have this option for their proportion
> test. The statistical package Quantum has a proportional t test with
> an overlapping option. The overlapping option adjusts the results to
> allow for overlapping.
> 
> For example:
> 
> Each person is asked if they use BrandA  and then a second question
> do they 
> use BrandB
> 
> 1 yes  and 0 no
> 
> Id BrandA     BrandB
> 1       1             0
> 2       1             1
> 3       1             0
> 4       0             0
> 5       1             1
> 6        0            1
> 7        0            1
> 8        1            1
> 9        1            0
> 10      1            1
> 
> I wish to determine if the proportion of BrandA is significantly
> different from BrandB  (taking into account overlapping).
> 
> I'm eager to know if there is any  Stata program that does this or if
> there is a reference to  this procedure.

What about -prtest BrandA == BrandB-?

Hope this helps,
Maarten


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index