The PHREG Procedure |
When the BAYES statement is specified, PROC PHREG generates one Markov chain containing the approximate posterior samples of the model parameters. Additional chains are produced when the Gelman-Rubin diagnostics are requested. Starting values (or initial values) can be specified in the INITIAL= data set in the BAYES statement. If INITIAL= option is not specified, PROC PHREG picks its own initial values for the chains. If the prior distribution of the parameter is proper, the starting values for are based on the estimated mean () and standard deviation () of the posterior distribution given the MLE. If the prior distribution of is improper, the starting values for are based on the MLE and its standard error estimate; that is, is the MLE of and is the standard error of maximum likelihood estimator.
Denote as the integral value of .
For the first chain that the summary statistics and diagnostics are based on, the initial values are
For subsequent chains, the starting values are picked in two different ways according to the total number of chains specified. If the total number of chains specified is less than or equal to 10, initial values of the th chain () are given by
with the plus sign for odd and minus sign for even . If the total number of chains is greater than 10, initial values are picked at random over a wide range of values. Let be a uniform random number between 0 and 1; the initial value for is given by
The ’s are the regression coefficients ’s, and in the piecewise exponential model, include the log-hazard parameters ’s. For the first chain that the summary statistics and regression diagnostics are based on, the initial values are
If the number of chains requested is less than or equal to 10, initial values for the th chain () are given by
with the plus sign for odd and minus sign for even . When there are more than 10 chains, the initial value for the is picked at random over the range ; that is,
where is a uniform random number between 0 and 1.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.