New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8...

48
Next-gen analytics: enhancing the availability and impact of data to improve service delivery and management in a large mental health or community care trust Dr Ben di Mambro & Dr Chris Beeley Nottinghamshire Healthcare NHS Foundation Trust

Transcript of New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8...

Page 1: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Next-gen analytics: enhancing the availability and impact of data to improve service delivery and management in a large

mental health or community care trust

Dr Ben di Mambro & Dr Chris BeeleyNottinghamshire Healthcare NHS Foundation Trust

Page 2: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

▪R is a statistical programming language

▪Contains many high level functions for statistical and graphical analysis and ML

▪Learning curve!

▪But force multiplier with the right support

The R language

Page 3: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

▪Shiny is a reactive programming framework using JavaScript

▪Shiny code is very easy to write

▪Note the difference between Shiny and Shiny Server

Shiny

Page 4: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

TRACS

Page 5: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Individual Patients

Page 6: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Individual HCP

Page 7: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

HCP Working Patterns

Page 8: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

HCP Groupings

Page 9: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Time Series

Page 10: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

SPC

Page 11: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Outcomes

Page 12: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Forecasting

Page 13: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Decomposition

Page 14: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Clinical Variation

Page 15: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Queue Modelling

Page 16: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Locations

Page 17: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

IMD

Page 18: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Outpatient DNAs

Page 19: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

K-means Demand

Page 20: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Supervised Machine Learning

Page 21: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Random Forest 1

Page 22: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Random Forest 1

Page 23: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Neural Network 1

Page 24: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Clinical Validation

Trigger Freq Mean SD Max Min Quartile25 Median Quartile75

No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9

Yes 145 0.9 0.1 0.999379 0.501747 0.8 0.9 1

Trigger Freq Mean SD Max Min Quartile25 Median Quartile75

No 21 0.6 0.1 0.764 0.506 0.6 0.6 0.7

Yes 145 0.7 0.1 0.93 0.378 0.6 0.7 0.8

Random Forest

Neural Network

• 166 cases reviewed

• 87% agreement

Page 25: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

TRACS Applications

Page 26: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Outline

▪“How can we do that?”

▪Limitations of existing approaches

▪Developing data science capacity in your organisation

Page 27: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

▪Better at programming than any statistician

▪Better at statistics than any engineer

▪Data scientists:

–Process large, computerised, datasets

–Glean insights from data

– Implement algorithms to endusers

What is data science?

Page 28: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013
Page 29: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Background

▪Open source Shiny Server in use since 2013

▪Cut our teeth on open data (no IG)

▪Developed skills in UI design, Shiny, and server maintenance

▪Agile development

Page 30: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Who We Are

▪Psychology PhD with no formal training in data management or programming

▪Consultant psychiatrist with no formal training in data management or programming

▪ I’ve been delivering R over the web for nearly 5 years

▪Ben possessed substantive knowledge

▪ Powerful and under-utilised tool

Page 31: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Where We Are

Page 32: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Research vs. Evaluation

We know a lot from research

But cannot always generalise

Context and details is important

Harness the power of routine data

Page 33: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Developing data science capacity in your organisation

▪People

▪IT

▪Senior buy-in

Page 34: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

People

Organisations need to insource their core functions and outsource their non-core functions

10 years ago data was a non-core function. Today it is a core function

NHS organisations should insource their data functions

Page 35: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

People

▪Develop staff with skills to report and analyse on routine data

▪Develop staff who consume and create data intelligently

Page 36: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Reporters

▪Statistical graphics

▪Substantive knowledge

▪Statistical analysis

▪Writing

▪Developing reports (including UX)

▪Teams, not individuals

Page 37: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Consumers

▪Intelligently consume data and reports

▪Ask questions of the data

▪See the value in collecting timely and accurate data

Page 38: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Technology

▪Good quality data warehouse

▪OLAP cubes- plug and play

▪Desktop R

▪Open source Shiny Server

▪Ultimately, authentication

Page 39: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013
Page 40: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

What IT Need To Hear

▪You’ll handle the server

▪The data is secure

▪That’s it!

Page 41: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Senior Buy-in

▪Lots of stakeholders

▪One board member was enough to get started and get results

▪Agile development

▪“Don’t know” syndrome

Page 42: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

How to actually do it

• Linux server running as a virtual machine

•Authenticate against a Linux server using Kerberos

• Set up LDAP. You’ll need SSL on the browser and LDAPS on the LDAP connection

•A few cores and 8GB RAM. Mostly difficult on the data processing side

Page 43: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

The Bigger Picture

•Shaping practice in reporting and analysing data

•Training to analysts

•Training to managers and clinicians- endusers

•Make them better at their jobs and enhance the interface between them

Page 44: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

The Future

▪Better analysts and better users mean more sophisticated products

▪Increase use of ML

▪Increase predictive and prescriptive analytics

Page 45: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

The Future

▪Show logged in users their own content

▪Bubbling up insights through TRACS/ other systems

▪Text is the new frontier

Page 46: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Challenges

▪R skills

▪Linux skills

▪Integrate with existing BI systems

Page 47: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Plug for another project

▪Low cost, simple, open source patient experience data portal

Page 48: New Next-gen analytics: enhancing the availability and impact of … · 2018. 9. 19. · No 21 0.8 0.2 0.999252 0.527117 0.6 0.9 0.9 ... Open source Shiny Server in use since 2013

Thank you

▪Questions?