Bayesian Analysis

/*--------------------------------------------------------------

                    SAS Sample Library

        Name: hpqlme02.sas
 Description: Example program from SAS/HPA User's Guide,
              The HPQLIM Procedure
       Title: Bayesian Analysis
     Product: SAS/HPA Software
        Keys: Censored data analysis
        PROC: HPQLIM
       Notes:

--------------------------------------------------------------*/


    option set=GRIDHOST="&GRIDHOST";
    option set=GRIDINSTALLLOC="&GRIDINSTALLLOC";

 title1 'Bayesian Estimation of a Censored Model';

 proc hpqlim data=simulate ;
 bayes nbi=10000 nmc=30000;
    performance nthreads=8 nodes=10 details
                 host="&GRIDHOST" install="&GRIDINSTALLLOC";
    model y=x1-x7 /censored(lb=0 ub=400);
    %*;     ods output PerformanceInfo=perfInfo;
    %*;     ods output Timing=time;
run;