I have a multiple numeric variables (costs of services) where I want to show signficant descreases in mean costs before and after an event.
I have a member level dataset consisting of 8,000 records where each of these cost variables are defined.
Example Variables:
before_event_cost_1
after_event_cost_1
before_event_cost_2
after_event_cost_2
before_event_cost_3
after_event_cost_3
I ran t-tests in BASE SAS to show significance decreases. However, I would like to visually display the decreases to these mean values before and after the event using SAS visual analytics.
What are some objects or capabilities in SAS visual analytics where I can do this?
You can create a calculated item that first calculates the difference for each event and then calculated the mean, I think you need to add all events manually in the calculation.
Ex. mean(event_after1-event_before1,event_after2-event_before_2.....)
//Fredrik
Thanks, I understand how to create the new variables for the averages. I am looking for suggestions on a visual display.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.