BookmarkSubscribeRSS Feed
efpolych84
Fluorite | Level 6

Hello all, 

 

I am really frustrated and need help to figure this out. I use SAS 9.04.01_M6, the newest version of SAS. When running a code to create a failure plot I get graph1. This graph is not correct, as the blue line stops at time = 900 instead of plotting until time=1080. For reference, time = 900 is when the last event for this group occurs. 

 

Using the exact same code and dataset in my colleague's computer which runs SAS 9.04.01_M4 version I get graph2 which is the expected one. Literally no change anywhere. The graphs are generated with proc template and proc sgrender and the parameters were generated with proc lifetest.

 

I am thinking that maybe this newer version of SAS has some different default graph settings that create this issue, but I don't feel knowledgeable enough to explore this. Any help is appreciated. 

2 REPLIES 2
DanH_sas
SAS Super FREQ

This appears to be a possible change in the JUSTIFY behavior. Trying adding JUSTIFY=RIGHT to the STEPPLOT and see if that fixes your behavior.

 

Hope this helps!

Dan

Reeza
Super User

Where does the import data come from each of these data sets?

Have you confirmed the data is read in correctly in each process, because that looks like a data point may be missing somehow. 

 


@efpolych84 wrote:

Hello all, 

 

I am really frustrated and need help to figure this out. I use SAS 9.04.01_M6, the newest version of SAS. When running a code to create a failure plot I get graph1. This graph is not correct, as the blue line stops at time = 900 instead of plotting until time=1080. For reference, time = 900 is when the last event for this group occurs. 

 

Using the exact same code and dataset in my colleague's computer which runs SAS 9.04.01_M4 version I get graph2 which is the expected one. Literally no change anywhere. The graphs are generated with proc template and proc sgrender and the parameters were generated with proc lifetest.

 

I am thinking that maybe this newer version of SAS has some different default graph settings that create this issue, but I don't feel knowledgeable enough to explore this. Any help is appreciated. 


 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1122 views
  • 2 likes
  • 3 in conversation