BookmarkSubscribeRSS Feed
Cruise
Ammonite | Level 13

Hi guys, below is my proc phreg model snapshot.

 

Do you know how to define two-tailed test? so that my Pr>ChiSq in the SAS output is adjusted to two-tailed test?  Or would you recommend just halving P value for two-tailed adjustment?

proc phreg data=p.temp2;
	class A10(ref='30-39') combo1(ref='0') combo2(ref='0') ....
/param=ref order=internal;

model duration*vital_status(1)=combo1 combo2 .../ties=Efron rl;

run;
4 REPLIES 4
PaigeMiller
Diamond | Level 26

So your title asks about GLM but your example uses PHREG? What are you really asking? 

--
Paige Miller
Cruise
Ammonite | Level 13
It's really weird, my title is changed to a Title of previous post that I was looking at. My intended title is exactly what I'm asking in the post. "How to specify the test is two-tailed in PROC PHREG"
mkeintz
PROC Star

Try to make a new thread with the desired title.

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------
FreelanceReinh
Jade | Level 19
@mkeintz wrote:

Try to make a new thread with the desired title.

Or, even better, just stick to the existing thread with the correct title that you started on the appropriate board (SAS Statistical Procedures) about eight hours earlier.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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