Statalist The Stata Listserver


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

st: RE: confidence intervals for lowess plot


From   "Maarten Buis" <M.Buis@fsw.vu.nl>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: confidence intervals for lowess plot
Date   Fri, 13 Oct 2006 14:29:23 +0200

Enzo:
-running- (see: -findit running-) will produce pointwise
confidence intervals.

*----------- begin example ---------
sysuse cancer, clear
stset studytime, failure(died)
xi: stcox i.drug age, sca(sca*)
running sca3 _t, ci
*------------ end example ----------

HTH,
Maarten

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

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z434 

+31 20 5986715

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

--- enzo.coviello@alice.it wrote:
> I am fitting a Cox regression model and want to check 
> ph assumption using a lowees smooth of the scaled 
> Schoenfeld residual (estat phtest).

> I ask you if there is a way to plot also a pointwise 
> confidence interval for the smoothed valued of the 
> Shoenfeld residuals. It could be useful to assess if 
> the ph assumption hold checking if the confidence 
> intervals contain a constant hazard ratio.

 

*
*   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