• No results found

How To Understand Data Science

N/A
N/A
Protected

Academic year: 2021

Share "How To Understand Data Science"

Copied!
36
0
0

Loading.... (view fulltext now)

Full text

(1)

EBPI Epidemiology, Biostatistics and Prevention Institute

Big Data Science

Torsten Hothorn

(2)

The end of theory

The End of Theory: The Data Deluge Makes the Scientific Method Obsolete (Chris Anderson, Wired Magazine 16.07)

(3)

Big data science – Big data – Data science – Predictive modelling – Business intelligence – Machine learning

– (parts of) Artificial intelligence; neural networks – (parts of) Pattern recognition

– Knowledge discovery in data (KDD) – ...

(4)

Big data science

– Big datarevolution – Data science

– Predictive modelling – Business intelligence – Machine learning

– (parts of) Artificial intelligence; neural networks – (parts of) Pattern recognition

– Knowledge discovery in data (KDD) – ...

(5)

“Big data” in journal titles 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 Year published Number of papers 0 50 100 150 200 250 300

(6)

Big data science

– Big datarevolution – Data science

– Predictive modelling – Business intelligence – Machine learning

– (parts of) Artificial intelligence; neural networks – (parts of) Pattern recognition

– Knowledge discovery in data (KDD) – ...

(7)

But what about ...

Statistics?

Interestingly, Andersons article starts with the famous quote of George Box

All models are wrong, but some are useful.

Anderson uses 8 times the term “statistic*” in his 1336 words long article.

So, what is the connection between big data etc. and statistics now and what is the future of statistics?

Whoever wishes to foresee the future must consult the past. (Machiavelli)

(8)

Statistics

Statistics is the science (the art?) of collecting, analysing, interpreting and communicating data.

The word “statistics” refers to “state” – statisticum(lat) regarding the state – statista(ital) statesman, politician

So, originally (and, to a large extend, still today), statistics is concerned with data describing the population, economy, administration etc. of a state. This is where the “bean counter” connotation comes from.

(9)

Early Z¨urich statistics

Johann Heinrich Waser (statistician in Z¨urich, 1742-1780) published a book with the title “Swiss Blood and French Money” containing data about the Z¨urich war fonds with a publisher in G¨ottingen (1780).

He was accused of treason, sentenced to death and executed in Z¨urich in 1780.

(10)

Early Z¨urich statistics

Johann Heinrich Waser (statistician in Z¨urich, 1742-1780) published a book with the title “Swiss Blood and French Money” containing data about the Z¨urich war fonds with a publisher in G¨ottingen (1780).

He was accused of treason, sentenced to death and executed in Z¨urich in 1780 (the year the NZZ was founded).

(11)
(12)

Statistics in academia

Scientists (working empirically) have

– a hypothesis/theory–and thus a (probabilistic) model – an experiment–and thus data

Statistical methods

– use the data to estimate free parameters in the model – assess their uncertainty

– and provide means to falsify a theory and/or to formulate a better theory

Estimation is performed by either optimisation (frequentists, this talk) or integration (Bayesians, not really today).

(13)

Models for conditional distributions

As an example, suppose a theory states that one or more explanatory variablesX affect the distribution of a (so-called “response”) variableY.

We are interested if and how the conditional distribution of Y given X =x

(Y|X =x)∼PY|X=x

depends on x through a functionf(x):

ξ(Y|X =x) =f(x) | {z } statistical model := arg min f E Y,Xρ(Y,f(X)) | {z } minimisation problem

(14)

Statistical decision theory

Abraham Wald (1902-1950) established statistical decision theory; in a nutshell, a statistical model is defined by the minimal expected loss EY,X(ρ(Y,f(X))).

Statistical decision theory is the common foundation of statistics, machine learning, neural networks, pattern recognition, KDD, etc. But the language is different in comput[er,ational] science andstatistics.

(15)

Same thing, different name

Machine learning Statistics

supervised learning regression

ξ(Y|X =x) =f(x)

target variable response variable

Y

attribute, feature explanatory variable, covariate X

hypothesis model, regression function f

(16)

Same thing, different name

instances, examples samples, observations, realisations (Yi,Xi)∼P(Y,X),i = 1, . . . ,n

learning estimation, fitting

ˆ f = arg min f n X i=1 ρ(Yi,f(Xi)) +λpen(f) classification prediction ˆ f(x)

generalisation error risk

(17)

So, what’s the difference?

ρ (and thusξ, the optimisation problem and optimiser) is often different causing much confusion. For binary Y, the lossρ is hinge loss, exponential loss log-density binomial distribution

−3 −2 −1 0 1 2 3 0 1 2 3 4 5 6 monotone (2y−1)f Loss ρ0−1 ρSVM ρexp ρlog−lik −3 −2 −1 0 1 2 3 0 1 2 3 4 5 6 non−monotone (2y−1)f Loss ρ0−1 ρL2 ρL1

(18)

So, what’s the difference?

Traditionally, machine learners are more interested in black box classification, i.e. ˆf(x) or even only ˆY.

Statisticians focus oninterpretation, i.e., look at ˆ f(x) =x>βˆ (linear model) or ˆ f(x) = J X j=1 fj(x) (additive model)

Have a strong background in optimisation. Have a strong background in modelling.

(19)

Some history

The median regression model

ρ(Y,f(X)) =|Y −f(X)| ⇒f(x) = Median(Y|X =x) was suggested by Boscovic and Laplace in the late 18th century. The optimisation problem ˆf = arg minf Pn

i=1|Yi −f(Xi)|is

(20)

Some history

The mean regression model

ρ(Y,f(X)) =|Y −f(X)|2 f(x) =

E(Y|X =x). was suggested only a little later by Legendre and Gauß. Why? Because ˆf = arg minf Pn

i=1|Yi−f(Xi)|2 was relatively

(21)

Some history

Carl-Friedrich Gauß (1777-1855), the

great-grandfather of statistics, replaced a not-so-nice loss function with a nice one and suggested a fast optimisation algorithm (Gaussian

elimination).

So he was actually a machine learner!

(22)

Same model, different optimiser

Machine learning Statistics

artificially neural networks additive/nonlinear logistic regression support vector machines generalised mixed/additive models boosting generalised additive models

decision trees regression trees

random forests random forests

(23)

Working together

(cited 5189 times)

(24)

What’s different in big data?

Doug Laney (2001), a META Group/Gartner (!) employee: Big data is high volume, high velocity, and/or high variety information assets that require new forms of processing to enable enhanced decision making, insight discovery and process optimisation. Wikipedia has

Big data uses inductive statistics and concepts from nonlinear system identification to infer laws

(regressions, nonlinear relationships, and causal effects) from large data sets to reveal relationships, dependencies, and to perform predictions of outcomes and behaviours.

In other words: Statistics for (large) data sets from multiple unplanned retrospective observational studies / sources.

(25)

Not much!

One of the most shattering examples of re-selling existing statistical technology under a new name isA/B testing.

(26)

Not much!

This is a permutation test, most of the time applied incorrectly. And with big data, the test will always be significant anyways.

(27)

What’s the technical challenge?

Problem:

RAM too small for data; can’t load all the data to compute something.

This has been the rule with all data over the last 300 years, not the exception.

Solution:

(Finite) sampling and assessment of variability: go back to STA101.

Good newsfor statisticians: you can bootstrap from the true instead of the empirical distribution.

(28)

Bias & missings are much bigger problems Obser v ations Y X1 X2 ∞ n i 3 2 1 observed

(29)

Opportunities

– We may have enough data to model the whole conditional distribution PY|X=x and not just some real-valued

functional ξ(PY|X=x) like the mean, for example by

conditional transformation models (Hothorn, Kneib, B¨uhlmann, 2014).

– This allows probabilistic forecasts (Gneiting & Katzfuss, 2014).

– Funny: In biometry, Kaplan-Meier estimates and (to a certain extend) the Cox model for survival times always looked at the whole conditional distribution!

(30)

Opportunities

– Big data instead of meta-analysis: The PRO-ACT data base has time-course information of more than 8500 ALS patients from multiple clinical trials. Use this pooled data to model ALS disease progression (Hothorn & Jung, 2014) instead of somehow merging multiple analyses.

– Merge different data sources (police records, road information systems, weather records, satellite images, browsing surveys) to model spatial and temporal distribution of wildlife-vehicle collisions (Hothorn et al, 2012).

(31)

Can we learn something?

– Statisticians are rather hesitant to new models and techniques because partially educated and employed for policing science (sample size? power? analysis plan? significance?).

– In the 1990ies, statisticians lost track of microbiology; now there is bioinformatics.

– However, it seems statisticians are still needed. Think (lack of) reproducibility (Lancet Jan 11 series “Increasing value, reducing waste”; Hothorn & Leisch, 2011).

– Isp < .05 necessary and sufficient for reproducibility?

– Statistics needs better marketing. The trademark of my own field, biometry, was hijacked by people scanning fingerprints and irises.

(32)

And data science?

(33)

And data science?

Nate Silver @ twitter after his JSM 2013 talk

Data scientist is just a sexed up word for statistician.

Just do good work and call yourself whatever you want.

Just make sure your grant agency gets the point. Thank you very much!

(34)

And data science?

Nate Silver @ twitter after his JSM 2013 talk

Data scientist is just a sexed up word for statistician. Just do good work and call yourself whatever you want.

Just make sure your grant agency gets the point. Thank you very much!

(35)

And data science?

Nate Silver @ twitter after his JSM 2013 talk

Data scientist is just a sexed up word for statistician. Just do good work and call yourself whatever you want.

Just make sure your grant agency gets the point. Thank you very much!

(36)

References

Hothorn & Leisch (2011)

http://dx.doi.org/10.1093/bib/bbq084

Hothorn, Brandl & M¨uller (2012)

http://dx.doi.org/10.1371/journal.pone.0029510

Gneiting & Katzfuss (2014) http://dx.doi.org/10.1146/

annurev-statistics-062713-085831

Hothorn & Jung (2014)

http://dx.doi.org/10.3109/21678421.2014.893361

Hothorn, Kneib & B¨uhlmann (2014)

References

Related documents

I’m convinced, once word gets out, there will be a long line waiting for these employees.” Officials for The Arc of Indiana, an organization advocating for and serving people

Overall, the current study has revealed university students with a higher level of resilience reported significantly higher levels of mindfulness, greater use of adaptive

Dean Row Road Twinnies Road Styal Road Barlow Road Colshaw Drive Countess Avenue Countess Avenue Wilmslow Dean Row Lacey Green Handforth Kitt’s Moss Bramhall Park Bramhall

Coles, Jeffrey , and Zhichuan Li, 2012, An empirical Assessment of Empirical Corporate Finance, Working Paper, Arizona State University. Fama, Eugene, Lawrence Fisher, Michael

Medical Director, Stroke and Cerebrovascular Center, Department of Neurology, Brigham and Women’s Hospital; Assistant Professor of Neurology, Harvard Medical

“Given that the higher education sector is situated at the crossroads of research, education and innovation, it is a central player in the knowledge economy and society and key to

This article examines the long run relationship between economic growth and stock prices for Canada and the United States through cointegration estimation procedure, and it

From traditional TPMs and database management systems (DBMSs) to ESB technology of today, technology has evolved dramatically to support high scalability and performance,