BookmarkSubscribeRSS Feed
one2three4
Calcite | Level 5

Hello All,

I am a bit stuck here. I am tasked with comparing hospital sales numbers. On the one hand, I have a single account, where a specific project has been conducted (the affected hospital), which is to be compared to the others, non-affected accounts (the control hospitals), to see if there has been any statistically significant change in the sales following the implementation of the project, and if the account stands out from the others, in average. I guess I am looking for something more 'powerful' than just a boxplot and outliers/extreme values definition.

It was OK previously when a group of hospitals were affected altogether by the project, so I could perform a t-test, but now, there is only one account in my affected sample (and >100 in the second, control sample).

I take it that I cannot perform a Student's t-test, but an elementary search has returned some results around a Levene's t-test, that could be able to do that (a slight variation from the test for homoscedasticity), but I can't find any proc in SAS to do so.

Any ideas please ??

Best regards

A

1 REPLY 1
PGStats
Opal | Level 21

Why not use something simple and robust like:

proc npar1way data=test wilcoxon;

exact;

class affected;

var sales;

run;

and look at the one-sided exact test results.

PG

PG

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!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

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