Help using Base SAS procedures

Reading %

Reply
Regular Contributor
Posts: 229

Reading %

How can we read %after the observations .

data x ;
input a b;
cards;
2.3% 4.5%
6.7% 4.6%
run;

data y;
set x;
x=avg(a,b);
run;
proc print;
run;
Contributor
Posts: 48

Re: Reading %

this should work
data x ;
input
a percent.
b percent.;
cards;
2.3% 4.5%
6.7% 4.6%
run;
Ask a Question
Discussion stats
  • 1 reply
  • 111 views
  • 0 likes
  • 2 in conversation