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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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