SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
SASstudent2013
Calcite | Level 5

Hello,

I need to compare means before and after study entry to see if there is a statistically significant difference between the two, and am wondering what the best way would be to evaluate this? I wanted to do logistic regression; however am unsure how to set this up.

I need to do this for three separate models: ER visits, Hospital visits and Jail visits - and need to see if the average visits is different before and after study entry (in order to assess impact of treatment/counseling on these visits).

Here is how the means are setup:

proc means data=CostDrivers;

var ERDAYS_PRE_4 ERDAYS_PRE_3 ERDAYS_3 ERDAYS_4;

var HOSPDAYS_PRE_4 HOSPDAYS_PRE_3 HOSPDAYS_3 HOSPDAYS_4;

var JAILDAYS_PRE_4 JAILDAYS_PRE_3 JAILDAYS_3 JAILDAYS_4;

run;

ERDAYS_PRE_4 = 12 months before study entry whereas ERDAYS_4 = 12 months POST study entry.

Any ideas?

Thanks!

1 REPLY 1
Reeza
Super User

I think you need to provide some more information regarding the experimental design.

From what you have I don't see why 3 t-tests or 3 anova's wouldn't be appropriate.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 974 views
  • 0 likes
  • 2 in conversation