BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MaryA_Marion
Lapis Lazuli | Level 10

This code is run after proc logistic. No errors in log but no label either. What is wrong here? Thank you.

MM

 

data pred; set pred;
label stdresdev="StandardizedDevianceResiduals";
run;
proc print; run;

pred is created during a run of proc logistic. no errors in log.

output out=pred predprobs=individual xbeta=xbeta p=probability lower=lower upper=upper  reschi=reschi resdev=resdev stdresdev=stdresdev / alpha=.05;

 

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Adding to what @PaigeMiller already proposed, you can even split the label to improve readability (if that word exists?) :

 

data have;
stdresdev=2.7;
label stdresdev="Standardized*Deviance*Residuals";
run;

proc print data=have label split='*'; run;

Koen

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

Use the LABEL option in PROC PRINT.

--
Paige Miller
sbxkoenk
SAS Super FREQ

Adding to what @PaigeMiller already proposed, you can even split the label to improve readability (if that word exists?) :

 

data have;
stdresdev=2.7;
label stdresdev="Standardized*Deviance*Residuals";
run;

proc print data=have label split='*'; run;

Koen

PaigeMiller
Diamond | Level 26

Good point. If you are going to create a label, make it a readable label.

--
Paige Miller

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 1444 views
  • 1 like
  • 4 in conversation