Models: pets and herds 
Carlos J. Gil Bellosta 
cgb@datanalytics.com 
September 2014 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 1 / 21
This is a pet... 
Source: http://jessfalcone.wordpress.com 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 2 / 21
... and this is a herd 
Source: http://bonfirehealth.com/negative-influences-comparisons-social-cues-herd/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 3 / 21
Some people treat computers as pets... 
Source: aliexpress.com 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 4 / 21
... an others like herds 
Source: Failure Trends in a Large Disk Drive Population, Pinheiro et al. 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 5 / 21
This is a statistical model treated as a pet 
Source: http://www.ats.ucla.edu/stat/stata/seminars/interaction_sem/interaction_sem.htm 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 6 / 21
Pets are very demanding and require... 
1 variable selection, 
2 checks for outilers, 
3 assessment of the goodness of
t, 
4
nding con
dence intervals, 
5 calculating p-values, 
6 interpretating the results, 
7 discuss the generalization, 
8 ... 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 7 / 21
Models... as herds? 
Source: http://www.gotmedieval.com 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 8 / 21
Model construction: population 
Source: http://timyeo.wordpress.com/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 9 / 21
Model construction: data enrichment (aka left join) 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 10 / 21
But subject data is often messy... 
Source: http://arquitectolegista.com.ar/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 11 / 21
... and contains temporal data... 
Source: http://thirdorderscientist.org/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 12 / 21
... that is dicult to
t in a box (table) 
Source: http://cutestcatpics.com/cat-trying-to-fit-into-tiny-box/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 13 / 21
We have a whole dataset per subject! 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 14 / 21
... and a model per subject? 
Source: http://www.unc.edu/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 15 / 21
(Most) models are sophisticated summaries of data 
Source: http://xkcd.r-forge.r-project.org/ 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 16 / 21
Do you seek ? Build a model per stock! 
Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 17 / 21

[Databeers] 18-09-2014 Models: pets and herds. Carlos J. Gil Bellosta

  • 1.
    Models: pets andherds Carlos J. Gil Bellosta cgb@datanalytics.com September 2014 Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 1 / 21
  • 2.
    This is apet... Source: http://jessfalcone.wordpress.com Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 2 / 21
  • 3.
    ... and thisis a herd Source: http://bonfirehealth.com/negative-influences-comparisons-social-cues-herd/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 3 / 21
  • 4.
    Some people treatcomputers as pets... Source: aliexpress.com Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 4 / 21
  • 5.
    ... an otherslike herds Source: Failure Trends in a Large Disk Drive Population, Pinheiro et al. Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 5 / 21
  • 6.
    This is astatistical model treated as a pet Source: http://www.ats.ucla.edu/stat/stata/seminars/interaction_sem/interaction_sem.htm Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 6 / 21
  • 7.
    Pets are verydemanding and require... 1 variable selection, 2 checks for outilers, 3 assessment of the goodness of
  • 8.
  • 9.
  • 10.
    dence intervals, 5calculating p-values, 6 interpretating the results, 7 discuss the generalization, 8 ... Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 7 / 21
  • 11.
    Models... as herds? Source: http://www.gotmedieval.com Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 8 / 21
  • 12.
    Model construction: population Source: http://timyeo.wordpress.com/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 9 / 21
  • 13.
    Model construction: dataenrichment (aka left join) Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 10 / 21
  • 14.
    But subject datais often messy... Source: http://arquitectolegista.com.ar/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 11 / 21
  • 15.
    ... and containstemporal data... Source: http://thirdorderscientist.org/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 12 / 21
  • 16.
    ... that isdicult to
  • 17.
    t in abox (table) Source: http://cutestcatpics.com/cat-trying-to-fit-into-tiny-box/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 13 / 21
  • 18.
    We have awhole dataset per subject! Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 14 / 21
  • 19.
    ... and amodel per subject? Source: http://www.unc.edu/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 15 / 21
  • 20.
    (Most) models aresophisticated summaries of data Source: http://xkcd.r-forge.r-project.org/ Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 16 / 21
  • 21.
    Do you seek? Build a model per stock! Carlos J. Gil Bellosta { datanalytics Models: pets and herds September 2014 17 / 21