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-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!

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.

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