The HPIMPUTE Procedure

Example 7.2 Running Client Data on the SAS Appliance

This example uses the same data set as in Example 7.1.

When the input data set resides on the client and a PERFORMANCE statement that includes a NODES= option is specified, as in the following statements, PROC HPIMPUTE copies the data set to the SAS appliance, where the imputation is performed:

 /*Perform the computation on the SAS appliance using 2 nodes*/
 option set=GRIDHOST="&GRIDHOST";
 option set=GRIDINSTALLLOC="&GRIDINSTALLLOC";
 proc hpimpute data=sampsio.hmeq out=out2;
     input mortdue value clage debtinc;
     impute mortdue / value  = 70000;
     impute value   / method = mean;
     impute clage   / method = random;
     impute debtinc / method = pmedian;
     performance nodes=2 details
     host="&GRIDHOST" install="&GRIDINSTALLLOC";
 run;

Output 7.2.1 shows the imputation results.

Output 7.2.1: Imputation Results

The HPIMPUTE Procedure

Imputation Results
VariableImputation
Indicator
Imputed
Variable
N
Missing
Type of
Imputation
Imputation
Value (Seed)
MORTDUEM_MORTDUEIM_MORTDUE518Given value70000
VALUEM_VALUEIM_VALUE112Mean101776
CLAGEM_CLAGEIM_CLAGE308Random5.00000
DEBTINCM_DEBTINCIM_DEBTINC1267Pseudo Median34.81696


Output 7.2.2 shows the performance information.

Output 7.2.2: Performance Information

Performance Information
Host Node<< your grid host >>
Install Location<< your grid install location >>
Execution ModeDistributed
Number of Compute Nodes2
Number of Threads per Node32


Output 7.2.3 shows the timing information.

Output 7.2.3: Procedure Task Timing

Procedure Task Timing
TaskSecondsPercent
Startup of Distributed Environment5.3098.76%
Data Transfer from Client0.010.16%
Computation0.020.34%
Writing Output0.040.74%


Last updated: July 22, 2020