BookmarkSubscribeRSS Feed
Errant
Obsidian | Level 7

I have a data set that looks like this:hw2.PNG

It's originally divided by strata, treatment vs. placebo, and how individuals perform across visits. Individuals do not change statuses or classifications at anytime. I am trying to compare the means for the treatment vs placebo group for the first strata, after the second visit. I've already create a table, that is filtered solely for the first strata and for observations after the second visit. I'm trying to figure out, given the structure of the data, if it would be better to do a proc anova or a paired t test. The paired t test seems appropriate for the task, but I don't know if it's appropriate for my data.

 

Thank you!

 

2 REPLIES 2
pau13rown
Lapis Lazuli | Level 10

you could but repeated measures would be more thorough because you have two post-baseline values

 

edit: maybe this is helpful https://statistics.laerd.com/statistical-guides/repeated-measures-anova-statistical-guide.php

PaigeMiller
Diamond | Level 26

PROC GLM with the REPEATED statement, not PROC ANOVA

--
Paige Miller

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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
  • 2 replies
  • 2488 views
  • 1 like
  • 3 in conversation