 Usage:  inrisk = hazrisk(data,i)  

 

 Input:



  data                   n x (p+4) matrix, the first column is the sorted 

                         survival time, followed by the sorted censoring 

                         indicator, labels l, a column containing the 

                         number of ties, and lastly, the sorted covariate 

                         matrix z. This data is produced by hazdat.xpl. 

                         

  i                      an integer between 1 and n. 

                         

 Output:



  inrisk                 n x 1 vector, the jth entry is 1 if the jth 

                         observation is at risk at time i, 0 otherwise. 

                         

--------------------------------------------------------------

(C) MD*TECH Method and Data Technologies, 21.9.2000

