BookmarkSubscribeRSS Feed
FrancoisN
Calcite | Level 5

Hi SAS community,

I have a dataset where I need to test whether there are significant differences between GroupA and GroupB. GroupA and GroupB are values obtained from an experiment that was repeated over 3 days (Day = 1, 2, 3). Measurements are obtained over 6 hours for each of the 3 days starting at 0 (Hour = 0, 1, 2, 3, 4, 5, 6). Any assistance will be greatly appreciated.

 

The code for the data are below:

data Data1;
input Day Hour GroupA GroupB;
datalines;
1 0 240000000 190000000
1 1 1000000000 4000000000
1 2 800000000 13000000000
1 3 23000000000 15000000000
1 4 15000000000 30000000000
1 5 24000000000 30000000000
1 6 30000000000 30000000000
2 0 9000000000 8000000000
2 1 290000000 1900000000
2 2 5000000000 13000000000
2 3 5000000000 30000000000
2 4 25000000000 30000000000
2 5 18000000000 30000000000
2 6 30000000000 30000000000
3 0 2200000000 30000000000
3 1 1200000000 30000000000
3 2 9000000000 10000000000
3 3 21000000000 30000000000
3 4 30000000000 30000000000
3 5 30000000000 30000000000
3 6 30000000000 30000000000
;

 

Thank you so much,

Francois

4 REPLIES 4
FrancoisN
Calcite | Level 5

Perhaps I can provide some additional information to my question above. My speciality is sampling. I know the basics of proc glm, proc mixed, proc anavo, proc ttest and so, but since the values are obtained hourly, the values per group are not independent of each other, so I don't think this proc glm or so will work. I was told that I will have to do survival analysis using proc PHReg. I don't know proc PHReg and am not sure if survival analysis is the correct method to determine if the groups differ significantly from one another. So any assistance will be appreciated.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 4 replies
  • 350 views
  • 0 likes
  • 3 in conversation