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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 728 views
  • 1 like
  • 4 in conversation