DATA Step, Macro, Functions and more

How do you code for 1-sided (side=U) in proc glm?

Reply
Super Contributor
Posts: 383

How do you code for 1-sided (side=U) in proc glm?

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;
Respected Advisor
Posts: 3,249

Re: How do you code for 1-sided (side=U) in proc glm?

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

--
Paige Miller
Super Contributor
Posts: 383

Re: How do you code for 1-sided (side=U) in proc glm?

Posted in reply to PaigeMiller
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"
Trusted Advisor
Posts: 1,387

Re: How do you code for 1-sided (side=U) in proc glm?

Try to make a new thread with the desired title.

Trusted Advisor
Posts: 1,317

Re: How do you code for 1-sided (side=U) in proc glm?

@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.

Ask a Question
Discussion stats
  • 4 replies
  • 60 views
  • 1 like
  • 4 in conversation