The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price". Which SAS program temporarily replaces the label "Asking Price" with the label "Sale Price" in the output?
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price". Which SAS program temporarily replaces the label "Asking Price" with the label "Sale Price" in the output?
The correct SAS program to temporarily replace the label 'Asking Price' with 'Sale Price' in the output is: proc print data = sasuser.houses label; label price = 'Sale Price'; run;. This code uses the LABEL statement correctly within the PROC PRINT procedure to assign a temporary label.
I have ran option C in Sas studio and verify its correct answer
Option C Proc print data = Sasuser.house label; label price = "sale price";run;