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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 1 reply
  • 662 views
  • 0 likes
  • 2 in conversation