A little announcement. A lot to explore.

Happy learning!

Explore lessons, including SAS & R programs and practice data.

Search lessons

Type at least 3 characters to see matching lessons.

1 / 9
Set - 001 - Part 08
Question 1 of 9




Given the following SAS data set ONE:;
ONE
REP COST
____________
SMITH 
200
SMITH 
400
JONES 
100
SMITH 
600
JONES 
100
JONES 
200
JONES 
400
SMITH 
800
JONES 
100
JONES 
300
The following SAS program is submitted:;

proc sql;

select rep, avg(cost) as AVERAGE
from one
group by rep
having avg(cost) > (select avg(cost) from one);
quit;

Which one of the following reports is generated?




Saving progress… My progress