help buckley
                                                              (SJ-5-4: 517-526)
-------------------------------------------------------------------------------

Title

buckley -- Buckley-James method for analysing censored data

Syntax

buckley depvar censorvar varlist [, options]

options Description ------------------------------------------------------------------------- Main iterate(#) specifies the maximum number of iterations tolerance(#) specifies the convergence criterion dispnum(#) specifies how frequently to display the iteration -------------------------------------------------------------------------

Description

buckley uses the Buckley-James method (Buckley and James 1979) to estimate the regression coefficients and generate the expected value of the censored outcome. depvar is the dependent variable whose value is rightly censored when the censoring variable censorvar=1. Otherwise it is observed exactly when censorvar=0. varlist is a list of explanatory variable names. At least one explanatory variable must be specified.

Options

+------+ ----+ Main +-------------------------------------------------------------

iterate(#) specifies the maximum number of iterations allowed in the optimization. It must be a positive integer. The default is iterate(100).

tolerance(#) specifies the convergence criterion defined as the change of the sum of squares of the difference of regression coefficients between iterations. It must be a positive number between 0 and 1. The default is tolerance(1e-6).

dispnum(#) specifies how frequently to display the iteration; For example, dispnum(50) displays every 50th iteration. # must be a positive integer. The default is dispnum(100).

Examples

use aids, clear

gen censor = 1 - aids

gen age30 = age - 30

buckley time censor age30, i(20) t(1e-6) d(10)

tabstat time varbj, by(aids) stats(n mean sd min max) col(stats) f(%7.2f) long

Also see

SJ-5-4: 517-526

References

Buckley J, James I. Linear regression with censored data. Biometrika 1979; 66: 429-436.

Cui J. Buckley-James method for analyzing censored data, with an application to a cardiovascular disease and an HIV/AIDS study. Stata Journal 2005; 4: 517-526.

Author

James Cui, Department of Epidemiology and Preventive Medicine, Monash University.

Email: james.cui@med.monash.edu.au

Other Commands I have written: genhwcci (if installed) ssc install genhwcci (to install this comman > d) simuped2 (if installed) ssc install simuped2 (to install this comman > d) simuped3 (if installed) ssc install simuped3 (to install this comman > d) phenotype (if installed) ssc install phenotype (to install this comman > d) qic (if installed) ssc install qic (to install this comman > d)