BookmarkSubscribeRSS Feed
wave43
Obsidian | Level 7

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?  

2 REPLIES 2
FredrikE
Rhodochrosite | Level 12

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

wave43
Obsidian | Level 7

Thanks, I understand how to create the new variables for the averages. I am looking for suggestions on a visual display.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 2 replies
  • 1038 views
  • 1 like
  • 2 in conversation