BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Will_FBB
Calcite | Level 5

Will_FBB_0-1617400665272.png

I need to add more blank space above so Male column and Female column would be farther apart from each other. Can someone please help?

 

Here is the code:

 

data job_1;
input dem $ year apply_count interviewed_mean hired_mean;
select(first(dem));
when('M','F') gr=1;
otherwise gr=2;
end;
datalines;
Male 2013 288 0.15972 0.21739
Female 2013 61 0.09836 0.33333
Male 2014 279 0.19355 0.2963
Female 2014 59 0.25424 0.26667
Male 2015 293 0.18089 0.28302
Female 2014 61 0.27869 0.17647
Degree 2017 108 0.28704 0.19355
NoDeg 2016 241 0.08714 0.28571
Degree 2018 108 0.36111 0.28205
NoDeg 2019 230 0.13043 0.3
Degree 2020 124 0.23387 0.2069
NoDeg 2021 230 0.17826 0.29268
run;

 

proc computab data=job_1;
columns m f ;
columns m/'Male';
columns f/'Female';
rows apply_count/'# Apps';
rows interviewed_mean/'Interviewed' ul;
rows hired_mean/'Hired' dul;

m=dem='Male';
f=dem='Female';
run;

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Patrick
Opal | Level 21

According to the docu found here the syntax is +n as a column option.

Patrick_0-1617405733656.png

 

View solution in original post

1 REPLY 1
Patrick
Opal | Level 21

According to the docu found here the syntax is +n as a column option.

Patrick_0-1617405733656.png

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 607 views
  • 1 like
  • 2 in conversation