BookmarkSubscribeRSS Feed
reshmape
Fluorite | Level 6

Hi All,

 

I would like to use PROC T TEST for superiority testing. The hypothesis will be tested by one-sided t-test at the alpha level of 0.025. Rejection of the null-hypothesis is consistent with superiority of the investigational treatment to the placebo.

Do you have any idea how can we perform in SAS?

 

Thanking in Advance

3 REPLIES 3
ballardw
Super User

The option SIDES on the Proc Ttest statement is used to indicate 2 L(ower one side) or U(pper oneside) test, default is 2

The option Alpha sets the significance, use Alpha=0.025.  Default is 0.05.

 

Data should have a Class variable to indicate which of the two populations records come from (treatment or placebo), this variable can be numeric or character and is indicated with a CLASS statement.

 

A variable(s) should hold the measure(s) of interest and must be numeric and would be placed on a VAR statement;

 

If you are testing one variable against a known value then you only need the variable and you would specify the "known Value" with the h0 option such as h0=30. Translates as: the Null hypothesis is the value is 30.

 

There are several examples in the online help you should have available.

 

 

reshmape
Fluorite | Level 6

Thank You for the response.

Rick_SAS
SAS Super FREQ

See the discussion and examples in Castello and Watts (2015), "Equivalence and Noninferiority Testing Using SAS/STAT® Software"

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3 replies
  • 2122 views
  • 0 likes
  • 3 in conversation