SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
pdhokriya
Pyrite | Level 9

 

 

query required, pfa How should I get the values specially p values (fisher's test value) ?

 
  a(n=6) b(n=6) total (n= 12) p value
trt1 2 5 7 ????
trt2 4 1 5 ???
 

 

 

pdhokriya_1-1657640812927.png

 

5 REPLIES 5
Reeza
Super User

Run the test used in the paper to compare the populations. Verify if corrections for multiple testing was applied. 

 

My guess is a fishers test with the small values with a correction for 0?

 


@pdhokriya wrote:

 

 

How should I get the values specially p values ?

 

pdhokriya_1-1657640812927.png

 


 

pdhokriya
Pyrite | Level 9

need sas query

Reeza
Super User

You need to provide more details. The PDF attached is password protected. 

 

What test are you attempting to do?

Different tests will have different procedures, ie different code requirements. And all depend on the structure of your data which is unknown. 

 

 

 

 

pdhokriya
Pyrite | Level 9
  a b total (a +b)  p value
trt1 5 6 11 ????
trt2 5 4 9 ???
Reeza
Super User

By what statistical test?

P Values require a statistical test, such as a t-test, fishers exact, chi square?

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 1626 views
  • 0 likes
  • 2 in conversation