Unfinished Code
*Lab 12 – Problem 1;
data
run;
proc
run;
I got correct for this.
%let list = dbirwt nprevist wtgain;
data four;
set lab.main;
keep &list;
run;
title "Using a Macro variable list";
proc means data=four mean;
var &list;
run;
but for 2nd problem I am getting error
Unfinished Code
*Lab 12 – Problem 2;
proc
run;
my finished code is
title "Using a Macro variable list";
proc means data=lab.four noprint;
var &list;
run;
but I am getting error as
Use the OUTPUT Statement of PROC MEANS to create a dataset.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.