markov: a computer program for multi-state markov models with covariables

10
comiputer methods and programs in biomedicine ELSEVIER Computer Methods and Programs in Biomedicine 47 (1995) 147-156 MARKOV: A computer progra.m for multi-state Markov models with covariables Guillermo Marshall*asb, Wensheng Guo b, Richard H. Jonesb “Departamento de Estadistica, Pontificia Universidad Catdlica de Chile, Casilla 306. Santiago 22, Chile bDepartment of Preveniive Medicine and Biometrics, School of Medicine, Box B-119, University of Colorado Health Sciences Center, Denver, CO 80262, USA Received 9 January 1995; revision received 14 IMarch 1995; accepted 26 April 1995 Ahstracr: This paper discusses a computer program, called MARKOV, designed to fit a multi-state Markov model with covariables, with a particular emphasis on the analysis of survival data. The Markov model consists of k - 1 transient disease states and oneabsorbing state. The exacttransition times are not observed, exceptin situations such as death. Baseline transitionintensities and regression coefficients are estimated via the methodof maximum likelihood using a quasi-Newton optimization algorithm. The program’s output includes the parameter estimates, the standard error of the estimates, the matrix of the correlation of the estimates and minustwo timesthe log-likelihoodfunction, evaluated at the initial values and at the maximum likelihoodestimates. Optionally, survival curves can be generated from each transientstate, for one or more combination of covariablevalues and simple testsabout the parameters. The program is illustratedby using a four-statemodelto determine factors influencing diabetic retinopathy in young subjects with insulin-dependent diabetes mellitus. Keywords: Multi-state models; Markov processes; Survival analysis; Quasi-Newtonalgorithm; Time-dependent covariables; Diabetic retinopathy I, Iwtr&ction Markov and semi-Markov models play an important role in the understanding and analysis of transition data from multi-state diseases such as cancer, AIDS, valvular heart disease and diabetes. Kay [l] introduces a general k-state Markov model in which the exact transition times are not observed except in certain circumstances such as * Corresponding author. death. Longini et al. [2] use this model to describe the distribution of the incubation period of HIV on patients with AIDS. Marshall [3] and Marshall and Jones [4] extend- ed this model in various directions. They introduc- ed the exact likelihood function fo’r continuous time processes, and they showed that this model is a generalization of parametric models in survival analysis. The model was also extended by in- troducing fixed and timed-dependent covariables similar to the proportional hazard model. 0169-260’7/95/$09.50 0 1995 Elsevier Science Ireland Ltd. ,411 rights reserved SSDI 0169-2607(95)01641-6

Upload: guillermo-marshall

Post on 25-Aug-2016

225 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: MARKOV: A computer program for multi-state Markov models with covariables

comiputer methods

and programs

in biomedicine

ELSEVIER Computer Methods and Programs in Biomedicine 47 (1995) 147-156

MARKOV: A computer progra.m for multi-state Markov models with covariables

Guillermo Marshall*asb, Wensheng Guo b, Richard H. Jones b “Departamento de Estadistica, Pontificia Universidad Catdlica de Chile, Casilla 306. Santiago 22, Chile

bDepartment of Preveniive Medicine and Biometrics, School of Medicine, Box B-119, University of Colorado Health Sciences Center, Denver, CO 80262, USA

Received 9 January 1995; revision received 14 IMarch 1995; accepted 26 April 1995

Ahstracr:

This paper discusses a computer program, called MARKOV, designed to fit a multi-state Markov model with covariables, with a particular emphasis on the analysis of survival data. The Markov model consists of k - 1 transient disease states and one absorbing state. The exact transition times are not observed, except in situations such as death. Baseline transition intensities and regression coefficients are estimated via the method of maximum likelihood using a quasi-Newton optimization algorithm. The program’s output includes the parameter estimates, the standard error of the estimates, the matrix of the correlation of the estimates and minus two times the log-likelihood function, evaluated at the initial values and at the maximum likelihood estimates. Optionally, survival curves can be generated from each transient state, for one or more combination of covariable values and simple tests about the parameters. The program is illustrated by using a four-state model to determine factors influencing diabetic retinopathy in young subjects with insulin-dependent diabetes mellitus.

Keywords: Multi-state models; Markov processes; Survival analysis; Quasi-Newton algorithm; Time-dependent covariables; Diabetic retinopathy

I, Iwtr&ction

Markov and semi-Markov models play an important role in the understanding and analysis of transition data from multi-state diseases such as cancer, AIDS, valvular heart disease and diabetes. Kay [l] introduces a general k-state Markov model in which the exact transition times are not observed except in certain circumstances such as

* Corresponding author.

death. Longini et al. [2] use this model to describe the distribution of the incubation period of HIV on patients with AIDS.

Marshall [3] and Marshall and Jones [4] extend- ed this model in various directions. They introduc- ed the exact likelihood function fo’r continuous time processes, and they showed that this model is a generalization of parametric models in survival analysis. The model was also extended by in- troducing fixed and timed-dependent covariables similar to the proportional hazard model.

0169-260’7/95/$09.50 0 1995 Elsevier Science Ireland Ltd. ,411 rights reserved SSDI 0169-2607(95)01641-6

Page 2: MARKOV: A computer program for multi-state Markov models with covariables

148 G. Marshall et al. /Computer Methods and Programs in Biomedicine 47 (1995) 147-156

This paper describes a computer program designed to fat a general k-state Markov model with covariates, and previously used by Garg, Marshall, Chase et al. [5] to describe the natural course of diabetic retinopathy, and by Marshall, Garg, Jackson et al. [6] to find various factors in- fluencing the progression and regression of diabetic retinopathy in young subjects with type 1 diabetes mellitus. The computer program was

TRAN, and uses a set of optimiza- tion rcutines written by Schnabel, Koontz and Weiss 171.

2. The model

A k-state Markov model includes k - 1 trans- ient disease states, j = l,...,k - 1, and one absorb- ing state k. The transient states are assumed to ‘oe ordered according to j and instantaneous transi- tion represented by the intensities X and p, can take place from state j to the adjoining statesj - 1 or j + I. In addition to that, transition can take place from any state to the absorbing state k, as is shown in Fig. 1.

The transition intensities can be represented using the transition intensity matrix Q as

where the element (ij) of the matrix P(t), P&C), represents the probability of a transition from state i to state j in a time interval t. The solution of this system of differential equations can be expressed as

P(t) = A diag (ePlf, . . . , ePk’J A-’ (3)

where A is the square matrix conta.ining, in each column, the eigenvector associated with each of the eigenvalues, pi, of the transition intensity matrix Q.

Marshall [3] proved that, given the form of the transition intensity matrix Q, the eigenvalues allways have real solutions and the matrix Q can be reduced to a tri-diagonal symmetric matrix by a similarity transformation. This property of Q alllows the use of standard routines for finding the eigensystem of tri-diagonal symmetric matrices and significantly reduces the amount of computa- tion time for the evaluation of the transition prob- atbility matrix, P(t), and, therefore, for the efvaluation of the likelihood function.

The model can be extended by introducing covariables as a proportional factor over the base- line transition intensities, as proposed in survival

r

; -h + w x12

x2, -442 + h21 + x23)

Q= 0 0

0 0

1 0 P' I

.

0 P2

-(l”k - I + Ak - 1.k - 21 / (l)

Pk-1 ,

0 0

or the transition probability matrix P(t). The rela- tion between the transition probability matrix P(1) and the transition intensity matrix Q is given by the Koimogorov forward differential equations

aP(t) . __ = P(t) at

analysis by Cox [S]. The regression model can be represented in terms of the element (in) of the tran- sition intensity matrix Q as

qij(Z) = Xije”i/” (4)

where & is the vector of regression coefficients associated with the vector of covariables z for the

Page 3: MARKOV: A computer program for multi-state Markov models with covariables

G. Marshall et al. /Computer Methods and Programs in Biomedicine 47 (1995) 147-156 149

state k

Fig.1. The multi-state Markov models with k - 1 transient states and one final absorbing state.

transition between the states i and j. The intensity matrix retains the property of the diagonal being minus the sum of the remaining values in the same row. Marshall and Jones [4] introduced a new class of models by restricting the number of parameters, allowing all progressive or all regressive transitions to have the same regression coefficients, that is,

Xije’b” j = i + 1 qij(Z) =; (5)

j=j-1

An even more restrictive model can be introducebd by setting the regression coefficients t’o & = -8, = 0. Note that in both Eqs. (4) and (5), x& z /.Lj*

The model is related to survival analysis since the last state is an absorbing state. The functional relationship between the survival function and the transition probability matrix can be obtained frorn the equation S(t lz) = 1 - Pik(t;Z), where S,(t Iz) is

the survival function from the state i for a subject with covariables z, and pik(t;z) is the element (i,k:)

of the transition probability matrix P(t;z) evaluated using the intensities introduced in [4]. Marshall [3] described her relationship of the Markov model with other important survival anaL ysis functions such as: the density function, the

hazard function, the mean lifetime, the median lifetime, and the residual mean lifetime.

The major distinction of this model compared to standard techniques is its ability to analyze unobserved transition times based on the observa- tion of the process at arbitrary times. The typical information available from the patient is the state of the disease at each visit to tb.e clinic, and the exact time of death if death occurs. If ii and iz represent the observed states of the process at times r1 and t2, the contribution of this observa- tion to the likelihood function is pil,i2(t2 - tr; z) for a regular transition, and

k-l C PiljCt2 - t1 c4qj,k (4

,i= 1

when t2 is the observed time of death. The total contribution to the likelihood function of an indi- vidual is the product of the contribution of each observation. The full likelihood is the product of the individual contributions. The likelihood func- tion can be modified to handle time-dependent covariables. Constant covariables, z, can be replaced by the value of the time-dependent clovariables at the beginning of the interval, that is, by z(h).

Maximum likelihood estimates can be obtained by maximizing the likelihood function with respect

Page 4: MARKOV: A computer program for multi-state Markov models with covariables

1.50 G. Marshall et al. /Computer Methods and Programs in Biomedicine 47 (1995) 147-156

to the parameters of the model, h, p and /3, and asymptotic estimates of the standard error of the estimates can be obtained from the empirical in- formation matrix. Quasi-Newton algorithms can be used to find the maximum likelihood estimates using only the likelihood function and finite differ- ences to obtain numerical approximations of the derivatives, or by using explicit expression for the first derivatives. A complete discussion of these methods can be found in Dennis and Schnabel [9]. These algorithms have been implemented bly Schnabel, Koontz and Weiss [6] and in the IMSL FORTRAN library [lo].

3. Applications

The multi-state Markov model can be applied to follow-up medical studies dealing with the obser- vation of transitions among multiple stages of chronic diseases. Particularly interesting are disease processes with a low percentage of transi- tions to the final state, but with high number of transitions between intermediate states. In situa- tions like this, standard survival analysis is very in- efficient since most of the observation are right censored. This multi-state model can provide in- formation about the progression and regression of the disease and the factors affecting this process.

The model has the flexibility to be applied to dif- ferent applications and diseases processes. A basic model without covariables has been used by Longini et al. [2] to describe the HIV/AIDS disease process, in which the states are HIV nega- tive, HIV positive, AIDS related complex, AIDS and death. In this particular model, only transition in the direction of the progression of the disease are allowed.

A basic model has also been applied to diabetic retinopathy by Garg, Marshall, Chase et al. [5] with states representing increasing grades of com- plication and the absorbing state representing retinopathy. In this model, bi-directional transi.- tions are allowed, but the model does not allow direct transitions from the transient states to the absorbing state, except from the preceding trans- ient state k - 1. Marshall, Garg, Jackson et al. [6] use a m.odel with covariables to determine factors influencing the process of diabetic retinopathy in

the same population with insulin-dependent diabetes mellitus.

An application with a full set of transitions is a model for functional class on patients undergoing cardiac surgery. The functional class is measured on a scale from I to IV using the New York Heart Association functional class to represent the tran- sients states of the model and death, due to the car- diac disease, as the absorbing state. In this model, b&directional transition between the transients state, and direct transition from the transients states to the absorbing state are allowed.

4. The computer program

MARKOV was written in FORTRAN-77 and has approximately 2500 lines of code. The pro- gram is also complemented by a few external opti- mization routines described by Schnabel, Koontz and Weiss [7]. Using the new Microsoft 32-bit compiler, the current version of the program handles a data space of 40 000 observations; ten states in the disease process and ten different c:ovariates. The program requires intlensive compu- ter resources, mainly to evaluate the likelihood function. The contribution to the likelihood func- tion of each two consecutive observations in each patient requires the evaluation of the transition probability matrix [3] for a given set of covariates 2;. The CPU time needed for MAR.KOV to fit a rnodel varies according to the number of possible transitions in the model, the number of covariates, the number of observations, and the type of pro- cessor in the PC computer. The example presented in section 6, with tive possible transitions, one covariate, 614 observations on 277 subjects, took a. little more than 1 min on a PC with an Intel 486 DX 66 Mhz processor.

5;. Input/output

The program’s input is divided in two files; the first is the control file with default file extension MKV that contains the parameters and the specification of the model, including the names of the input/output files and parameters related to the d.efinition of the Markov model. The second input file contains the actual data, including subject

Page 5: MARKOV: A computer program for multi-state Markov models with covariables

G. ~aFshai1 et al. .I computer Method? and Pro,grams in biomedicine 47 (19%) 147-l% 151

identification, original state of the transition, the final state of the transition, the transition time, and the values of the covariabies. The name of this tile is specitied in the control file and the format of the data is assumed to be free.

MARKOV runs batch mode by reading a con- trol file containing a set of required and optional pro~am statements. The required MARKOV statern~~~ts are:

INFPLE filename; INPUT variable-list; DOWEL va$name = v~$ia~le-lint [/option.9]; TIME varname; ID wrname;

The ~NFILE statement allows the user to specify the name of the tile containing the data. Valid filenames include the use of drives, direc- tories, name of the file, and tile’s extension. Thie INPUT statement describes the arrangement of the data in an input record and assigns these values to corresponding MARKOV variables. Th;e order of the names of the variables should corre- spond with the order of the data assign to it. The data file should be in ASCII format and the col- umns separated by spaces.

The MODEL statement describes the model that the user wants to fit. The dependent variable specifies the variable listed in the INPUT state- ment that contains the state of the process at each given time. The independent variables specify th.e list of variables to be included in the model as covariates. The options of the model are:

nofit

exact

used to avoid that MARKOV fits a new model. This is particularly useful to compute survival curves after fitting a model, however, the user has to provide the values of the parameters using the PARA- METERS statement, used to control the type of con- t~b~tion to the last state in th,e likelihood function. By default, the likelihood function is calcu- lated assuming that no exact trarc sition time is observed from a

likelihood

history

nocenter

initial

correlation

covariance

transient state to the absorbing state. By adding this option, the likelihood function will be calculated assuming that transi- tion times to the last state are known, such as death. prints in the screen the -2 log- iikelihood function evaluated at the current values of the parame- ters in each iteration. This option allows the user to see the steps in the process of minimization. prints in the screen the values of the parameters, the gradient and minus two times the log-likeli- hood function at the current values in each iteration of the minimization process. by default, all covariates are centered about the mean. Generally, by centering the covariates, the user gets faster and more relia’ble results. This option specifies that the covariates should not be centered when entered in the model, prints in the output file the initial values of the parameters. prints in the output the correla- tion of the estimates. prints in the output file the covariance of the estimates.

The ID statement specifies the variable in the INPUT statement that defined the subject identiti- cation variable. The TIME statement specifies the variable in the INPUT statement that defined the time of the process.

The optional statements of M~~RKOV are:

TITLE text; MATRIX entries; PARA~TERS ~nt~je~; CONSTRAINT varname values [, varn~me

values,...]; SURVIVAL start-time end-time interval

[varname value...];

Page 6: MARKOV: A computer program for multi-state Markov models with covariables

152 G. Marshall et al. /Computer Methods and Programs in Biomedicine 47 (1995) 147-156

TEST ‘label’ varname contrast [,varname contrast,...];

CATIONS options;

The TITLE statement allows the user to specify a running title for t.he output file not longer thaLn 80 characters. The text can contain any valid ASCII character except a semicolon, which is the reserved end-of-command chaiacter in MARKOV. The MATRIX statement is an.optional statement that allows the user to specify a different model in terms of the transitions among states. By default, instantaneous transitions can take place from state i to the adjoining states j - 1 and j + 1 and the final st.ate k.

The PARAMETERS statement allows the user to specify initial values of the parameters for the mimimization algorithim. Although MARKOV computes good initial values for the parameters, this statement allows the user to have control of those values. This is particularly important whe:n local minimums are found. This statement can aho be used to provide the values of the parameters in case a nofit option in the MODEL statement is used to evaluate the survival curve.

The CONSTRAINT statement allows the user to constrain the effect of the covariables in the dif- ferent transitions. For example, suppose we have a four-state model with transitions (1 to 2, 2 to 1, 2 to 3, 3 to 2, and 3 to 4) and we want to force age to have the same regression coefficient for all pro- gression transitions and for all regression transi- tions, then we use the statement

constraint age 1 2 1 2 1;

Suppose we force age to have the same regres- sion coefficient for all progression and the same, but negative, coefficient for all regression transi- tions, then we change the CONSTRAINT state- ment as follows:

constraint age 1 -1 1 -1 1;

If you do not use the CONSTRAINT statement, it is equivalent to use it in this example as follows:

constraint age 1 2 3 4 5;

In the first case we have only two parameters associated to age. The first coefficient is shared by transitions 1 to 2,2 to 3, and 3 to 4, and the second coefficient is shared by the transitions 2 to 1, and 3 to 2. In the second example, we aLre forcing the second coefficient in the first example to be the negative value of the first coefficient. Finally, in t.he third example, we are specifying one coeff%zient for each transition associated with age for a total of five parameters. Given this is the default, you do not need to specify the CONSTRAINT statement.

The SURVIVAL statement allows the user to compute survival curves from any of the transients states to the absorbing state k by providing values of the covariables included in the model. The start- time is the starting time period, end-time is the final time period, and interval is the length of the intervals in which the user wants to evaluate the survival-type curves. The varname and value allows the user to control the values of the covariables in which the curves will be evaluated. If no value of the covariables is specified, the mean value of the covariables is used.

The TEST statement allows the user to perform a Wald-type test about the regressio’n parameters. Label is any text that identifies the test, the var- name represents the name of the covariables for which the regression coefficients are being tested, contrast are the constants that form the contrast. For example, suppose we want to known if is worth it to fit a model using the CONSTRAINT statement forcing all the coefficients of age associ- aded with progression of the disease to be equal and the same restriction for the regression transi- tion; then we can run the following example:

test ‘Progression and Regression’ age 1 0 -1 0 0, age 1 0 0 0 -1, age 0 1 0 -1 0;

The OPTIONS statement allows the user to s:pecify options of MARKOV. The same options listed in the model can be used in this statement. The options-list is one or more of the following options: nofit, exact, likelihood, history, nocenter, initial, correlation, and/or covariance.

Page 7: MARKOV: A computer program for multi-state Markov models with covariables

G. Marshall et al. /Computer Methods and Programs in Biomedicine 47 (1995) 147-156 153

6. Diabetic retinopathy: an example

Two hundred seventy-seven subjects, who hard type 1 diabetes for at least 5 years when initially seen in the Eye-Kidney Clinic at the Barbara Davis Center for Childhood Diabetes were included i.n the analysis described by Marshall, Garg, Jackson et al. 161.

In this study, all subjects were seen at least twice, with visits 1 or more years apart for a mea.n follow-up of almost 3 years. A grading of retinal findings for each visit was performed by a retinal specialist. The grades were based on the modified Airlie House classification, in which grade I in- dicates no retinopathy; grade II indicates micro aneurysms only; grade III and IV indicate interme- diate stages of background retinopathy; and grades V and VI indicate preproliferative and pro- liferative retinopathy, respectively. The worst eye grade was used for defining the state of the process in the Markov model. The Markov model was defined as regrouping the stages as follows:

Grade I - Grades II-III - Grades IV-V =* Grade VI.

Different clinical factors related to the physiology and history of the disease were evaluated with respect to the influence on the onset, progression and regression of diabetic retinopathy. One of the most important factors related to changes in retinopathy was glycohemo- globin (HbA,).

The control file needed to lit this model with HbA, as a covariable is shown in Appendix A. A survival curve is requested for the first 10 years at l-year intervals for a patient with constant HbA, equal to 11.8, which is the average value observed in this group of subjects. In addition, two tests about the parameters are specified. The first tesi.s for equal regression coefficients of the duration of diabetes of the progression transitions, and the second tests for equal regression coefficients fo’r the regression transitions.

Appendix B shows the output of this sample run. The initial values of the parameters, the status of the optimzation process, the maximurn

likelihood estimates, the correlation matrix, the survival curve and the statistical test are included.

‘7. Program limitations

Some limitations apply to this version of MARKOV. The maximum number of states is llimited to ten, however, this number is adequate for most practical applications. The maximum number of covariables is restricted to be less than or equal to ten, and the total data space is restricted to 40 000 observations.

All these numbers can be changed very easily in the source code of MARKOV. These numbers are defined in MARKOV in the PARAMETER state- ment at the beginning of the main program and subroutines.

,Qcknowledgements

Supported in part by a grant (GM38519) from the National Institute of General Medical Sciences, National Institute of Health, Bethesda, MD, USA, and by FONDECYT under grant 11950825, Santiago, Chile.

Appendix A

A sample run for the diabetic retinopathy model fitting glycohemoglobin (HbAi). The control file is:

TITLE Model for HbAl; INFILE hbal.dat; ~NPLJT subject eyes time duration hbal diastolic;

MODEL eyes = hbal / HISTORY initial correiat1on; ID subject; TIME time; MATRIX 0 1 0 0,

10 10. 0 10 1, 0 0 0 0;

SURVIVAL 0 120 12; TEST 'Uniform progression' hbal 1 0 --1 0 0,

hbal 1 0 0 0 -1; TEST 'Uniform regression' hbal 0 1 0 -1 0;

Page 8: MARKOV: A computer program for multi-state Markov models with covariables

G. Marshall et al. /Computer Methodi and Programs in Biomedicine 47 (1995) 147-156 154

Appendix B

Output of the model fitted using the control file in Appendix A

"IARKOV 4.0 - Multi-State Markov Models in Continuous-Time - April 1994 :%veloped by Guillermo Marshall :Jepartment of Preventive Medicine and Biometrics i?niverslty of Colorado - Health Sciences Center

Model for HbAl IJata file: alleye.dat liumber of Records : 891 ?iumber of Observations : 614 Number of Subjects : 277 Number of states 4 Number of Transitions : 5 I?umber of Covariables : 1 Number of Parameters : 10

Model: Eyes = (HbAl - 11.799)

lnltxd Values for the Parameters

Variable Name Transition VallleS

Baseline 1 --> 2 .2212E-01 Baseline 2 --> 1 .7837E-02 Baseline 2 --> 3 .9645E-02 BSSellne 3 --> 2 .1948E-01 Baseline 3 --> 4 .41753-02 HbAl 1 --> 2 .0000E+00 HbAl 2 --> 1 .0000E+00 HbAl 2 --> 3 .0000E+00 HbAl 3 --> 2 .OOOOE+OO HbAl 3 --> 4 .0000E+00

-2 Log-Likelihood : 971.7158

Status of the Optimization Process

Number of zterations is : 20 Number of function evaluations is : 26 Number of gradient evaluations is : 21

Maximum Likelihood Estimates of the Traneition Intensity Matrix Q

Variable Name Transition Estimates Std Error

Baseline 1 --> 2 .4261E-01 .5297E-02 Baseline 2 --> 1 .13363-01 .24263-02 Baseline 2 --> 3 .1455E-01 .2264E-02 Baseline 3 --> 2 .2771E-01 .75813-02 Baseline 3 --> 4 .26193-02 .17473-02 HbAl 1 --> 2 .2115E+OO .7174E-01 HbAl 2 --> 1 -.23363+00 .1316E+OO HbAl 2 --z 3 .1083E+OO .97383-01 HbAl 3 --> 2 -.3069E-01 .18783+00 HbAl 3 --> 4 .52143+00 .32393+00

--2 Log-Likelihood : 914.9807

-

Page 9: MARKOV: A computer program for multi-state Markov models with covariables

G. Marshall et al. / Computer h4ethods and Programs in 3~orngd~c~ne 47 (1995) 147-156

Correlation Matrix of the Estimates

1.0000 .3921 1.0000

-.0190 0280 l.ffOOO -.0014 .0025 .4335 1.0000 -.0005 -.0040 -.0238 -.0068 1.0000

.0130 .0704 . 0027 -.OOll -.0005 l.OC~OO

.0439 .2736 .0042 .0009 -.0005 .4?15 1.0000 -.0028 -.0035 -.2601 -.0533 .0068 -.0301 .0124 1.0000 -.0016 -.0007 -.0458 -.1133 .0023 -.OO21 -.0023 .4599 1.0000

.0005 .0014 0042 -.0018 -.7331 -.OOO3 -.0030 -.0414 -.0173 1.0000

Covariable Values: HbAl = .OOOO

states Time 1 2 3

.oo 1.0000 1.0000 1.0000 12.00 .9997 .997a .9734 24.00 .9979 .9927 .9539 36.00 .9944 .9862 -9386 48.00 .9B96 .9789 .9261 60.00 .9836 .9712 .9153 72.00 .9770 .9634 .9056 84.00 .9698 .9555 .a967 96.00 .9623 .9475 .8883

108.00 .9547 .9395 -8802 120.00 .9469 .9316 .8724

___--~-_______-----_-"--------------~

Wald Test:

Label: Uniform progression %ntra.st :

1 O-l 0 0 1 0 0 0 -1

Chi-square: 1.7551 df: 2

.Label: Uniform regression "ontrast:

0 1 o-1 0 Chl-square: .7810 df: 1

References

[I] R. Kay, A Markov model for analyzing cancer markers and disease states in survival studies, Biometrics 42! ( 1986) 855-865.

[2] I.M. Longini Jr., W.S. Clark, R.H. Byers, J.W. Ward, W.W. Darrow, G.F. Lemp and H.W. Hethcote, Statistical analysis of the stages of HIV infection using a markov model, Stat. Med. 8 (1989) 831-843.

131 C. Marshall, Multi-State Markov Models in Survival Analysis, PhD thesis, University of Colorado, Denver co (1990).

[4] G. Marshall and R.H. Jones, Multi-state Markov models and diabetes retinopathy, Stat. Med. 14 (1995) (to aw=f

[5] SK. Garg, G. Marshall, H.P. Chase et al., The use of the Markov processes in describing the natural course of diabetic retinopathy, Arch. Ophthalmol. 108 (1990) 1245-1247.

Page 10: MARKOV: A computer program for multi-state Markov models with covariables

156 G. Marshall et al. / ~~rnp~~~r Merho& and Prt~grums in 3iomgdi~ine 47 f1995) 147-156

[6] G. Marshall, SK Garg, W.E. Jackson et al., Factors influencing the oncet and progression of diabetic retinopathy in subjects with insulin-dependent diabetes meltitus, OphthalmoIo~ 100 (1993) 1133-l 139.

171 Schnabel, Koontz and Weiss, A modular system of algorithims for unconstrained minimization, ACM Trans. Math. Software 1 I (1985) 419-440.

[8] DR. Cox, Regression models and life-tabIes (with dissnssion), J. K. Stat. Sot. B 34, (1972) 187-220.

[9] J.E. Dennis Jr. and R.B. Schnabel, Numerical Methods for Unconstrained Optimization and Non-linear Equa- tions, Prentice-Hall, Englewood Cliffs, New Jersey (1983).

[lo] IMSL MATH/ LIBRARY User’s Manual, Version 1.1, IMSL Inc., 2500 City West Boulevard, Houston TX 77042 (1989).