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