08-25-2017 04:24 AM - last edited on 08-25-2017 04:36 AM by RW9
Hi to all,
i have a problem with this:
The dataset initial is below:
|ASSET TIPE||DOB||VEHICLE_AGE||VEHICLE COST||REG_DATE||SNAPSHOT_DATE||TERM|
can you help me please??
Find the resulting outputs for each of the below
proc freq data= work initial_data noprint;
table ASSETTYPE/out=freq (drop=percent);
2.proc summary data=work.initial_data nway missing;
output out=summary (drop=type__freq_)
3.proc sort data=freq(where=(ASSETTYPE='NEW'));by ASSETTYPE;run;
proc sort data=summary;by ASSETTYPE;run;
data output_merged (keep=new_var);
merge freq (in=a)summary(in=b);
08-25-2017 04:35 AM
These are some sort of learning exercises are they not? If so they are there for you to learn, copy the code into your code window in University Edition, or whichever SAS product you use and run them to get the outputs.
Also, as noted before use a descriptive title line.
08-25-2017 05:43 AM