exploratory data analysis and models in r

20
@cjlortie exploratory data analysis & models in R

Upload: cjlortie

Post on 17-Feb-2017

454 views

Category:

Data & Analytics


1 download

TRANSCRIPT

Page 1: Exploratory data analysis and models in R

@cjlortie

exploratory data analysis & models in R

Page 2: Exploratory data analysis and models in R

untangle, describe, predict, share, advance understanding

Page 3: Exploratory data analysis and models in R

read data/build frameinspect data structurevisualize dataEDAfit model

Page 4: Exploratory data analysis and models in R

EDA != the statistical model

Page 5: Exploratory data analysis and models in R

EDA

creative adventures with your data

Page 6: Exploratory data analysis and models in R

EDA structurescope of inferencedata quality[ ]

Page 7: Exploratory data analysis and models in R

statistical model

an elegant, representative simplification of the patterns identified through data viz & EDA

Page 8: Exploratory data analysis and models in R

model convey structuresupport evidenceestimate probability[ ]

Page 9: Exploratory data analysis and models in R

two kinds of statistical models

descriptive or predictive

Page 10: Exploratory data analysis and models in R

time travelbackward or forward

but not both

Page 11: Exploratory data analysis and models in R

effective model use is still process not product

effect sizes and coefficients

Page 12: Exploratory data analysis and models in R

fit, inspect, mine

Page 13: Exploratory data analysis and models in R

Dalgaard 2008

Page 14: Exploratory data analysis and models in R

t.test to GLMM

Page 15: Exploratory data analysis and models in R

summary and coef

Page 16: Exploratory data analysis and models in R

predictmake_predictionadd_predictionsadd_residuals

Page 17: Exploratory data analysis and models in R

train & test

predictions are for new outcomes & naive data

Page 18: Exploratory data analysis and models in R

bootstrapping

Page 19: Exploratory data analysis and models in R

fixed or random effects

Page 20: Exploratory data analysis and models in R

big picture of models is to advance understanding

‘R for Data Science’ convergence with R for statistics