Resources

Basic Models

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

                    SAS Sample Library

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

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


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

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

 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;