Programming the statistical procedures from SAS

Paired t-test vs proc anova

Reply
Contributor
Posts: 20

Paired t-test vs proc anova

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!

 

Regular Contributor
Posts: 159

Re: Paired t-test vs proc anova

[ Edited ]

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

--------------
blog: papersandprograms.com
Respected Advisor
Posts: 3,001

Re: Paired t-test vs proc anova

PROC GLM with the REPEATED statement, not PROC ANOVA

--
Paige Miller
Ask a Question
Discussion stats
  • 2 replies
  • 116 views
  • 1 like
  • 3 in conversation