Help using Base SAS procedures

Paired test

Reply
Occasional Learner
Posts: 1

Paired test

Hello,

 

very often I have  paired data but in long format (tumor vs healthy) and I screen many genes. I need to do paired test, but I don't know, how quickly and efficiently changed the data format. So I decided to use proc mixed with repeat statement. Is it wrong? Thanks for an answer. (SAS 9.4)

 

proc mixed data=dataset;
class tumorhealthy sample;
model g1=tumorhealthy;
REPEATED tumorhealthy / SUBJECT=sample TYPE=CS;
run;

 

Vendula

Ask a Question
Discussion stats
  • 0 replies
  • 220 views
  • 0 likes
  • 1 in conversation