Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Probable bug in -ci-


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   st: Probable bug in -ci-
Date   Sat, 08 May 2004 07:35:56 -0500

There appears to be a bug in -ci- when the by option AND the total option is used, as shown below.

. ci firstcataract if lpuse == 1,exposure(duration)

-- Poisson Exact --
Variable | Exposure Mean Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
firstcatar~t | 46209 .0077907 .0004106 .0070066 .0086385




-> sex = Female

-- Poisson Exact --
Variable | Exposure Mean Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
cataract | 10369 .0058829 .0007532 .0044999 .0075568

-> sex = Male

-- Poisson Exact --
Variable | Exposure Mean Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
cataract | 35840 .0083426 .0004825 .0074237 .0093439



. bys sex: ci cataract if lpuse == 1,exposure(duration) total

-> sex = Female

-- Poisson Exact --
Variable | Exposure Mean Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
cataract | 10369 .0058829 .0007532 .0044999 .0075568


-> sex = Male

-- Poisson Exact --
Variable | Exposure Mean Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
cataract | 35840 .0083426 .0004825 .0074237 .0093439

_______________________________________________________________________________
-> Total
time-series operators not allowed
in option exposure()
r(101);


Fred Wolfe


Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125 Fax (316) 263-0761
fwolfe@arthritis-research.org


*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index