Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Visual display of numeric variable before and after event

Reply
Contributor
Posts: 33

Visual display of numeric variable before and after event

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?  

PROC Star
Posts: 391

Re: Visual display of numeric variable before and after event

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

Contributor
Posts: 33

Re: Visual display of numeric variable before and after event

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

Ask a Question
Discussion stats
  • 2 replies
  • 225 views
  • 1 like
  • 2 in conversation