DATA Step, Macro, Functions and more

how to keep only the intercept term in the output

Reply
Contributor
Posts: 69

how to keep only the intercept term in the output

test.pngcurrent output file

Hi, 

The above pic shows my output file. Now I want to create a separate file with the parms value if the intercept term only ,winid and permno. 

If I use the keep statement, the output file still includes the values for STDER, T, PVALUE,L95B,U95B. However, I want to remove these values from my output file.

How do I do that?

 

Cheers,

Amalik

Super User
Super User
Posts: 9,866

Re: how to keep only the intercept term in the output

You keep talking about a file, an output file?  What do you mean here, are you creating a report with proc print/report?  Or a dataset?  As a dataset would be simply:

data want;
  set have (keep=winid permno intercept);
run;
Ask a Question
Discussion stats
  • 1 reply
  • 65 views
  • 0 likes
  • 2 in conversation