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-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!

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
  • 797 views
  • 1 like
  • 2 in conversation