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.
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
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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.