Programming the statistical procedures from SAS

Proc corr help

Reply
New Contributor
Posts: 2

Proc corr help

Hello everyone, 

 

I have a big Pearson Correlation table with 15 variables. I am using the following code. The table does not fit the screen and I have to scrool left and right all the time. How can I make this table smaller? 

 

Thank you! 

 

proc corr

data=HIT OUTP=HITp;

var   v1 v2 v3 v4 v5 v6 v7 v8 v9 v10 v11 v12 v13 v14 v15;

run;

Super User
Posts: 18,572

Re: Proc corr help

There's a limit to how many things you can see at once. 

 

You can capture the output to a table and then customize the output so it's shown row by row, similar to a list report from proc freq.

 

 

Var1 Var2 Corr P-Value

v1 v2 XX YY

v1 v3 XX YY

v1 v4 XX YY

 

 

New Contributor
Posts: 2

Re: Proc corr help

Great suggestion. Thank you!

Ask a Question
Discussion stats
  • 2 replies
  • 208 views
  • 0 likes
  • 2 in conversation