BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello all,
I'm trying to code a 3-way ANOVA model with a random effect using proc mixed, but I am unsure that I am specifying my model correctly. We have a series of environmental data collected from 3 types of sites (ref, deg, unk), each site is stratified into 2 reaches (near and far), and the data were collected over the 3 years. Multiple, distinct stations that represent one of the three types of sites throughout the estuary were selected randomly, and at each station 9 random replicate measures of the environmental data were collected. We are interested in detecting differences in the environmental data between ref, deg, and unk sites, as well as reach, year, and interactions of the 3. I want to make use of the 9 replicates at each station so I'm using the following model in proc mixed:

class = site reach year station
environmental data = site|reach|year
random site/subject=station

Is this the appropriate approach to take?

Thanks for any help.
-david

This is what happens when you don't have a proper statistician at a given institute.....
1 REPLY 1
SteveDenham
Jade | Level 19
David,

That approach looks pretty good, but there might be an even better approach. Is there any reason to believe that observations within a station and site are correlated from year to year? If so, you may want to expand the model to something like:

class = site reach year station
model environmental data = site|reach|year
random site/subject=station
repeated year/subject=station*site type=un

Good luck.

Steve Denham

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 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
  • 1 reply
  • 567 views
  • 0 likes
  • 2 in conversation