BookmarkSubscribeRSS Feed
TomiA
Calcite | Level 5

Hi,

I am interested in modeling a continuous outcome (CD4 count) measured repeated times (0-7 times) per patient over time, with predictors gender and race. The data is from a complex survey and so sampling weights, clusters and strata information need to be taken into account in addition to the correlation within subjects.

Any ideas on the best statistical method to use?

I am contemplating using proc mixed like so:

proc mixed data=dataset;

class race gender id time;

model cd4=time race gender/solution ddfm=kr;

random stratum(cluster);

repeated time/type=cs subject=id r rcorr;

run;

I am just unsure if this adequately takes care of the clustering and correlations.

Thanks

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
  • 0 replies
  • 716 views
  • 0 likes
  • 1 in conversation