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

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1276 views
  • 0 likes
  • 2 in conversation