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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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