Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ybz12003
Rhodochrosite | Level 12

Hello:

 

Assume we try to investigate whether there will be potential exposure to toxin A if people have high intake seafood diet. I plan to use Chi square test to compare the urine matabolite with the normal diet and high seafood intake diet in three months.  There will be 30 participants in the normal diet group and 30 participants in the seafood intake group.  And the urine metabolite is the continuous data.

 

Am I select the right statistical model?  How to write a SAS code?  Is it used Proc freq / Chisq?  But how? Thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

If you don't know how to use a PROC the first step should be the SAS documentation

http://support.sas.com/documentation/cdl/en/procstat/66703/HTML/default/viewer.htm#procstat_freq_exa...

Specifically the examples.

 

The next is Lexjansen.com

 

The third is here 🙂

 

If you're just measuring the presences of exposure/incident of exposure then Chi Square is appropriate. If metabolite is continuous I think you're dealing with a T-Test - possible a paired t-test because you have before and after for two different exposure groups.

 

T-Test has PROC TTEST and/or PROC ANOVA and/or PROC GLM that may be applicable.

View solution in original post

1 REPLY 1
Reeza
Super User

If you don't know how to use a PROC the first step should be the SAS documentation

http://support.sas.com/documentation/cdl/en/procstat/66703/HTML/default/viewer.htm#procstat_freq_exa...

Specifically the examples.

 

The next is Lexjansen.com

 

The third is here 🙂

 

If you're just measuring the presences of exposure/incident of exposure then Chi Square is appropriate. If metabolite is continuous I think you're dealing with a T-Test - possible a paired t-test because you have before and after for two different exposure groups.

 

T-Test has PROC TTEST and/or PROC ANOVA and/or PROC GLM that may be applicable.

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1575 views
  • 2 likes
  • 2 in conversation