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

st: Confidence interval adjust differences


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   st: Confidence interval adjust differences
Date   Mon, 07 Jul 2003 22:04:35 -0500

Is there a way to get a confidence interval in this situation?

for example

gen dummy = 1
reg depvar age sex
adjust if e(sample), by(dummy) gen(var1)
adjust iage = 40 sex = .5 if e(sample), by(dummy) gen(var2)
gen diff = var1 - var2

Is there a way to get a confidence interval for this difference? I assume that just ci diff is not appropriate.

Thanks,

Fred







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