SlideShare a Scribd company logo
EMOS Webinar
Big Data Methods and Techniques
Piet Daas & Marco Puts
Statistics Netherlands
Center for Big Data Statistics
March 21, 2018 16:15 – 17:30
Piet Daas
• Work
– Senior methodologist CBS
– Lead Data Scientist CBDS
– Project leader Big Data research CBS
– Involved in ESSnet Big Data
• Trainer
– ESTP training course leader
– EMOS Big Data trainer Univ. Utrecht
– CBDS trainer
– For lot’s and lot’s of students
– And 2 dogs and 8 hamsters
@pietdaas
Marco Puts
• Work
– Methodologist CBS
– Lead Data Scientist CBDS
– Big Data Task Force member
– Involved in ESSnet Big Data
– Vegan
• Trainer
– ESTP training course leader
– CBDS trainer
– 4 tortoises
Overview of Webinar
• Properties of Big Data
• Big Data processes
– Collect
– Process
– Analyse
– Disseminate
• Wrap up & Discussion
• Questions in between topics
Big Data
• What is Big Data?
– How do we use this term?
• Big Data is a source of data that is:
– Rapidly available
– Usually available in large amounts
– Often generated by an unknown population
– May have poor quality metadata
– Usually has low information content
– Requires processing prior to use
– Unknown design
Big Data’s most important property
Information content can be rather low for Big Data
Paradigm shift
• Need of change in the way (official)
statisticians look at data
https://en.wikipedia.org/wiki/Rabbit%E2%80%93duck_illusion#/media/File:Kaninchen_und_Ente.png
Question 1
• What sources do you consider Big Data?
– Social media messages
– Product prices on web sites
– Satellite pictures
– Sensor data of cows
– Persons register of China
– Activity tracker data of 8 persons
Big Data uses
• Big Data was introduced in previous Webinars
• A number of examples have been shown
• Big Data: how can it be used?! (not only its
potential)
• General view on Big Data processes
Big Data processes
• In GSBPM terms, 4 phases
1. Collect Get (access to) data
2. Process Check and convert data
3. Analyse Learn from and extract
knowledge from data
4. Disseminate Release results
In this Webinar, we discuss Big Data as the main source of input for official statistics
Alternatives uses are: as an additional source, to impute missing data and in model.
*GSPBM = Generic Statistical Business Process Model
In this Webinar
• Focus is Big Data as the main source of input
for official statistics
• Alternative uses are:
– as an additional source,
– to impute missing data,
– in a calibration model.
Big Data processes (2)
• Data driven: cycles in every stage and in between
Collect Process Analyse Disseminate
Developed from input to output (in cycles)
input output
Big Data processes (3)
• Phases will be illustrated with examples
– Road intensity statistics (published)
• Using road sensor data
– Innovative company statistics (work in progress)
• Using text on main page of company web sites
– Energy: solar panel detection (work in progress)
• Using areal pictures to identify solar panels
There are three types of ‘data’ that can be used
1. Collect phase
• Assure stable access to data
– Long-term access is essential
– Often data from private companies
• Try to get some data
– Learn from the data (trail-and-error)
– Check various potential uses
• Include domain expert knowledge
– But not to early (ideas come first)
1. Collect phase (2)
• Road sensor data
– Maintained by organisation paid by the government
– Statistics Netherlands law gives us access
• Web sites of companies
– Scrape data for studies (scrape once, store raw data)
– In the future: inform companies in advance
• Solar panels work
– Free access to areal pictures (updated once a year)
– Is that frequent enough?
Questions 2
• What is the biggest problem when creating a
statistics fully based on Big Data?
• Stability of the source content
• Stability of access
• Stability of population included
• All of the above
• No problems at all
2. Process phase
• Composed of multiple steps
– Preprocessing
• Perform some very (time) efficient initial checks
• Convert and adjust the data prior to use
• May involve visualizations
– Cleaning (a.k.a. editing)
• Clean data when the quality for a specific use is not
sufficient
• Should be fully automatic (no manual checks)
• May involve visualizations
2. Process phase - preprocessing
• Raw data is usually preprocessed:
– After receiving it at the office (in a secure way)
Automatic Information System data (GPS of ships),
Areal Images, web scraping
• Dataset transmitted can be huge
• High infrastructural needs
– At the location of data maintainer
Road sensor data, Mobile phone data
• Use infrastructure of data maintainer
• Smaller dataset is transferred
• May solve privacy issue
• Process chain should still be in control of NSI
2. Process phase - preprocessing
• Increasing information content !!
– Remove unneeded and clearly erroneous records
• Size and population reduction
– Remove unneeded and clearly erroneous values
• Less columns, only keep what is needed
– To convert event-based to unit-based data
• Create a more suited dataset
• E.g. combining check-in and check-out data to trips
– Tailor data to needs of NSI
• Convert values to ranges used by NSI
– Extract features
• Construct new variables
For texts, very important choices (remove stop words, stemming, ….)
Discuss road sensor data as example
Population and variables
• In general it is important to consider:
– The units included in the source vs target population
• Which units are included? How to identify them?
• Topic of research at our office
• Extract features indicative for background characteristics
– Definition alignment
• Correspondence between definition used by data maintainer
(if known) and NSI
• Similar to administrative data
Example: Road sensor data
• Data generated by 20.000 road sensors
– Every minute data is produced by each sensor
(1440 records per sensor per day)
– A total of 48 variables are included in each record
of which only 13 are needed
– Some records contain clearly erroneous data:
-1 vehicles, no measurement, error flag on, location not
on road, ….
Raw road sensor data
Data of a single sensor during 196 subsequent days
Implemented quality indicators
- O: Number of zero measurements
|O|
D:
S:
Road sensor data indicators
• Relation between indicators, for 12 million
records
L (number of measurements) versus B (block indicator)
Question 3
• What is good quality?
• What are the advantages of Big Data in this
context?
Data Cleaning
• Why clean the data?
– Many data sources are very noisy
– Doing analysis on noisy data is difficult:
X = sin(seq(from=0,to=2*pi,by=0.01))
Y1 = X+2*runif(length(x))
Y2 = X+2*runif(length(x))
Print(cor(y1,y2)) will give a correlation of 0.6!!!!
– Erroneous data have a negative effect on the
quality of the estimates
The Signal and the Data
What is noise?
information
noise
data
data = information + noise
Noise is that part of the data that
is not relevant!
The Signal and the Data (2)
Road Sensor Data
• Counts per minute of vehicles
• Arrivals of vehicles at a road sensor
• (semi-) Poisson process
Implemented quality indicators
- O: Number of zero measurements
|O|
D:
S:
Recursive Bayesian Estimation
Cleaning the Data
Cleaning the Data
Recursive Bayesian Estimation
Cleaning the Data
Recursive Bayesian Estimation
34
Result of the filter
Example: Solar Panels
• Detect solar panels on rooftops
• Preprocessing by cutting out roofs
3. Analyse
• Getting insights from the data
Analysis
Model Driven Data Driven
Making sense of the data
Survey statistics
Target population (unit=person)
Sample of Persons
Questionnaire
Based on demographics
Frame
Selection
Measurements
Weights
Traffic statistics
Roads (unit=km)
Road sensors
Sensor data
Based on location …
Modeling the network of
Road Sensors
Modeling the network of
Road Sensors
• Dutch Highways
• Main routes only
Modeling the network of
Road Sensors
Main routes
Simplify
Main routesRaw shape
Projections
• Project road sensors on main routes
• Determine points of bifurcation for all entrance
and exit ramps
Entrance
ramp
Calibration of road sensors (2)
3000 2000 2500
20 7
Traffic
flow
Count 3000 3000 2000 2000 2500
Length 1055
5*3000 + 5*3000 + 10*2000 + 20*2000 + 7*2500 = 107,500 vehicle-km
3. Analyse (2)
• When only a part of the data is composed of
records of interest
– This amount may vary between 50% - 1%
– For example:
• Innovative companies (9%)
• Social tension (‘rare event’)
• Company accounts on social media (3%)
• Identify Belgian users (18%)
• All about modelling an imbalanced dataset
Analysis
Model
Driven
Data
Driven
3. Analyse (3)
• Dealing with imbalanced datasets
– Manually classify a sample (~1000 or more)
• Multiple persons, write down instructions!
• Result: training and test set
– Try various approaches to test what works best
• Logistic regression, Naive Bayes, Random Forest, SVM, NN,…
– Add features (try as many as possible)
• This adds domain knowledge
– Check effect of preprocessing steps
• Especially relevant for texts
– Sometimes over- or under-sampling training set works
• Results may vary, add more positive cases
– Visualize findings
Example: innovative companies
• Companies from innovation statistics survey
– 3000 innovative companies
– 3000 non-innovative companies
Downside: only companies with 10 or more working persons!
• Scraped websites
– Language detection, remove stop words, stemming
– Words: unigram, bigram, trigram, word embeddings
– Features: language, URL’s, email addresses, phone numbers,
address
• Checked various approaches
– Logistic regression, Naïve Bayes, Random Forest, NN
Example: innovative companies (2)
• Evaluated model on:
– Dutch SME innovation top 100 (various years) and list of Dutch
start-up's
• SME use different definition, nearly all start-up’s are innovative
• Model focusses on technological innovation
– 1 million company web sites and created detailed maps
• Way to reveals curious behaviour of model
• Able to create very detailed maps, at 4-digit zip-code level
• Around 9% is innovative (according to our model)
Question 4
• Name a few ways of dealing with imbalanced
datasets when modelling
• Under sample negative cases
• Add more positive cases
• Change evaluation metric
• Cross validate 10x
4. Dissemination
• Very much resembles standard output
• Visualization are particularly important for Big
Data based statistics
• A few examples
– Dot maps
– AIS journeys
Dot Maps
(commuting patterns)
https://research.cbs.nl/colordotmap/woonwerk
Animation on transhipment
https://research.cbs.nl/AIS_transshipment
Questions?
Thank you for your attention !!

More Related Content

PPTX
Big data as a source for official statistics
Edwin de Jonge
 
PDF
Strata Big data presentation
Piet J.H. Daas
 
PDF
Using Road Sensor Data for Official Statistics: towards a Big Data Methodology
Piet J.H. Daas
 
PDF
Political Science and Machine Learning - Neural Ideal Point Estimation Network
NAVER Engineering
 
PDF
Introduction to Computational Statistics
Setia Pramana
 
PPTX
Efficient Query Processing Infrastructures
Crai Macdonald
 
PDF
Big Data, the Future of Statistics: Experiences at Statistics Netherlands
Piet J.H. Daas
 
PDF
Opportunities and methodological challenges of Big Data for official statist...
Piet J.H. Daas
 
Big data as a source for official statistics
Edwin de Jonge
 
Strata Big data presentation
Piet J.H. Daas
 
Using Road Sensor Data for Official Statistics: towards a Big Data Methodology
Piet J.H. Daas
 
Political Science and Machine Learning - Neural Ideal Point Estimation Network
NAVER Engineering
 
Introduction to Computational Statistics
Setia Pramana
 
Efficient Query Processing Infrastructures
Crai Macdonald
 
Big Data, the Future of Statistics: Experiences at Statistics Netherlands
Piet J.H. Daas
 
Opportunities and methodological challenges of Big Data for official statist...
Piet J.H. Daas
 

Similar to EMOS 2018 Big Data methods and techniques (20)

PPTX
Predictive Analytics: Context and Use Cases
Kimberley Mitchell
 
PPT
Unit 1_data mining and warehousing subject
tomjerryguest
 
PDF
Lecture1 introduction to big data
hktripathy
 
PDF
Big Data and official statistics with examples of their use
Piet J.H. Daas
 
PPTX
Big Data and Data Science: The Technologies Shaping Our Lives
Rukshan Batuwita
 
PDF
Responsible Data Science at Statistics Netherlands
Piet J.H. Daas
 
PPTX
Experimental transformation of ABS data into Data Cube Vocabulary (DCV) form...
Alistair Hamilton
 
PPTX
Presentation on Big Data Analytics
S P Sajjan
 
PPTX
Data Science Fundamentals and Practices.pptx
justjoking99yt
 
PPT
dwdm unit 1.ppt
nayanakarsh469
 
PDF
Data preprocessing using Machine Learning
Gopal Sakarkar
 
PPTX
The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
israel edem
 
PPTX
Data analytics introduction
amiyadash
 
PPTX
IT Architectures for Handling Big Data in Official Statistics: the Case of Sc...
Istituto nazionale di statistica
 
PPT
WWV2015: Jibes Paul van der Hulst big data
webwinkelvakdag
 
PDF
ESSnet Big Data WP8 Methodology (+ Quality, +IT)
Piet J.H. Daas
 
PDF
Big Data
Seminar Links
 
PPTX
Big Data.pptx
naveenlingala2
 
PDF
Introduction to Data Analytics, AKTU - UNIT-1
Dr Anuranjan Misra
 
Predictive Analytics: Context and Use Cases
Kimberley Mitchell
 
Unit 1_data mining and warehousing subject
tomjerryguest
 
Lecture1 introduction to big data
hktripathy
 
Big Data and official statistics with examples of their use
Piet J.H. Daas
 
Big Data and Data Science: The Technologies Shaping Our Lives
Rukshan Batuwita
 
Responsible Data Science at Statistics Netherlands
Piet J.H. Daas
 
Experimental transformation of ABS data into Data Cube Vocabulary (DCV) form...
Alistair Hamilton
 
Presentation on Big Data Analytics
S P Sajjan
 
Data Science Fundamentals and Practices.pptx
justjoking99yt
 
dwdm unit 1.ppt
nayanakarsh469
 
Data preprocessing using Machine Learning
Gopal Sakarkar
 
The Paradigm of Fog Computing with Bio-inspired Search Methods and the “5Vs” ...
israel edem
 
Data analytics introduction
amiyadash
 
IT Architectures for Handling Big Data in Official Statistics: the Case of Sc...
Istituto nazionale di statistica
 
WWV2015: Jibes Paul van der Hulst big data
webwinkelvakdag
 
ESSnet Big Data WP8 Methodology (+ Quality, +IT)
Piet J.H. Daas
 
Big Data
Seminar Links
 
Big Data.pptx
naveenlingala2
 
Introduction to Data Analytics, AKTU - UNIT-1
Dr Anuranjan Misra
 
Ad

More from Piet J.H. Daas (20)

PDF
IT infrastructure for Big Data and Data Science at Statistics Netherlands
Piet J.H. Daas
 
PDF
Use of social media for official statistics
Piet J.H. Daas
 
PDF
Isi 2017 presentation on Big Data and bias
Piet J.H. Daas
 
PDF
CBS lecture at the opening of Data Science Campus of ONS
Piet J.H. Daas
 
PDF
Ntts2017 presentation 45
Piet J.H. Daas
 
PDF
Big Data presentation Mannheim
Piet J.H. Daas
 
PDF
Extracting information from ' messy' social media data
Piet J.H. Daas
 
PPT
Big data cbs_piet_daas
Piet J.H. Daas
 
PDF
Gebruik van sociale media voor de officiële statistiek
Piet J.H. Daas
 
PDF
Big Data @ CBS
Piet J.H. Daas
 
PDF
Profiling Big Data sources to assess their selectivity
Piet J.H. Daas
 
PDF
Big Data @ CBS for Fontys students in Eindhoven
Piet J.H. Daas
 
PDF
Big Data presentation for Statistics Canada
Piet J.H. Daas
 
PPT
Quality challenges in modernising business statistics
Piet J.H. Daas
 
PDF
Quality Approaches to Big Data
Piet J.H. Daas
 
PDF
Social media sentiment and consumer confidence
Piet J.H. Daas
 
PDF
Big data @ CBS
Piet J.H. Daas
 
PDF
Big data Big impact?
Piet J.H. Daas
 
PDF
Bi dutch meeting data science
Piet J.H. Daas
 
PDF
Piet daas big_data_official_statistics_target_groningen
Piet J.H. Daas
 
IT infrastructure for Big Data and Data Science at Statistics Netherlands
Piet J.H. Daas
 
Use of social media for official statistics
Piet J.H. Daas
 
Isi 2017 presentation on Big Data and bias
Piet J.H. Daas
 
CBS lecture at the opening of Data Science Campus of ONS
Piet J.H. Daas
 
Ntts2017 presentation 45
Piet J.H. Daas
 
Big Data presentation Mannheim
Piet J.H. Daas
 
Extracting information from ' messy' social media data
Piet J.H. Daas
 
Big data cbs_piet_daas
Piet J.H. Daas
 
Gebruik van sociale media voor de officiële statistiek
Piet J.H. Daas
 
Big Data @ CBS
Piet J.H. Daas
 
Profiling Big Data sources to assess their selectivity
Piet J.H. Daas
 
Big Data @ CBS for Fontys students in Eindhoven
Piet J.H. Daas
 
Big Data presentation for Statistics Canada
Piet J.H. Daas
 
Quality challenges in modernising business statistics
Piet J.H. Daas
 
Quality Approaches to Big Data
Piet J.H. Daas
 
Social media sentiment and consumer confidence
Piet J.H. Daas
 
Big data @ CBS
Piet J.H. Daas
 
Big data Big impact?
Piet J.H. Daas
 
Bi dutch meeting data science
Piet J.H. Daas
 
Piet daas big_data_official_statistics_target_groningen
Piet J.H. Daas
 
Ad

Recently uploaded (20)

PPTX
ILRI_PPP_ Presentation_08 Nov 2024.pptx.FJBGTFGJJJJGFGHGTYUYTRRTYYGBBJHFFFGHJ...
seidyimer7
 
PDF
Abhay Bhutada’s Journey Of Creating Wealth and Uplifting Communities
Lokesh Agrawal
 
PPTX
Lupong Tagapamayapa Incentive Awards Refresher 2025.pptx
MarkBalagat
 
PPTX
PPT ASKING AND GIVING OPINIONS XI CLASS.pptx
TujuhTujuh2
 
PPTX
Get On The GSA Schedule: EO's, Requirements & Timelines
JSchaus & Associates
 
PDF
Shree Shakti Seva Kendra – Child Development NGO in Mehsana
shreeshaktisevakendr
 
PPTX
原版Winchester毕业证文凭温彻斯特大学成绩单水印办理流程办文凭
e7nw4o4
 
PDF
UK email opt-in changes - what do they mean for charities?
More Onion
 
PPTX
原版Dunelm毕业证办理流程杜伦大学文凭证书录取通知书怎么办学历证书
mookxk3
 
PPTX
Development Project Proposal of Digital Transition of the.pptx
MdMahbuburRahmanSidd1
 
PPTX
Culture_Presentation_Abdul_Rafay_With_Images.pptx
ehsanejaz57
 
PPTX
AIHA Heat Stress App Version 2 Presentation.pptx
AIHA
 
DOCX
DRAFT COMMUNICATION STRATEGY FOR THE NYAMIRA COUNTY GOVERNOR.docx
JoshuaMokaya3
 
PPTX
Aspire Leaders Project ( an app to schedule monthly medication deliveries for...
biancaleao5
 
PPT
AtomsFirst2e_day18_sec22.1-22.2_22.4-22.5_CHMY172_spring_2016.ppt
sumodmjohn3
 
PPTX
pppppppppppppppppppppppppPIR Bothoan.pptx
RHUCARAMORANCatandua
 
PDF
UGANDA NATIONAL ANTHEM IN LUGANDA - LYRICS.pdf
MIKE SSENDIKWANAWA
 
PPTX
UW文凭办理|办理温莎大学毕业证学费单100%复刻毕业证丢失补办成绩单
6b9ab940
 
PPTX
原版丹佛大学毕业证文凭DU学生证购买在线制作本科文凭
sw6vvn9s
 
PPT
lecture_20_anxsacAFAERVedcdvrvVatomy.ppt
BALQISNURAZIZAH1
 
ILRI_PPP_ Presentation_08 Nov 2024.pptx.FJBGTFGJJJJGFGHGTYUYTRRTYYGBBJHFFFGHJ...
seidyimer7
 
Abhay Bhutada’s Journey Of Creating Wealth and Uplifting Communities
Lokesh Agrawal
 
Lupong Tagapamayapa Incentive Awards Refresher 2025.pptx
MarkBalagat
 
PPT ASKING AND GIVING OPINIONS XI CLASS.pptx
TujuhTujuh2
 
Get On The GSA Schedule: EO's, Requirements & Timelines
JSchaus & Associates
 
Shree Shakti Seva Kendra – Child Development NGO in Mehsana
shreeshaktisevakendr
 
原版Winchester毕业证文凭温彻斯特大学成绩单水印办理流程办文凭
e7nw4o4
 
UK email opt-in changes - what do they mean for charities?
More Onion
 
原版Dunelm毕业证办理流程杜伦大学文凭证书录取通知书怎么办学历证书
mookxk3
 
Development Project Proposal of Digital Transition of the.pptx
MdMahbuburRahmanSidd1
 
Culture_Presentation_Abdul_Rafay_With_Images.pptx
ehsanejaz57
 
AIHA Heat Stress App Version 2 Presentation.pptx
AIHA
 
DRAFT COMMUNICATION STRATEGY FOR THE NYAMIRA COUNTY GOVERNOR.docx
JoshuaMokaya3
 
Aspire Leaders Project ( an app to schedule monthly medication deliveries for...
biancaleao5
 
AtomsFirst2e_day18_sec22.1-22.2_22.4-22.5_CHMY172_spring_2016.ppt
sumodmjohn3
 
pppppppppppppppppppppppppPIR Bothoan.pptx
RHUCARAMORANCatandua
 
UGANDA NATIONAL ANTHEM IN LUGANDA - LYRICS.pdf
MIKE SSENDIKWANAWA
 
UW文凭办理|办理温莎大学毕业证学费单100%复刻毕业证丢失补办成绩单
6b9ab940
 
原版丹佛大学毕业证文凭DU学生证购买在线制作本科文凭
sw6vvn9s
 
lecture_20_anxsacAFAERVedcdvrvVatomy.ppt
BALQISNURAZIZAH1
 

EMOS 2018 Big Data methods and techniques

  • 1. EMOS Webinar Big Data Methods and Techniques Piet Daas & Marco Puts Statistics Netherlands Center for Big Data Statistics March 21, 2018 16:15 – 17:30
  • 2. Piet Daas • Work – Senior methodologist CBS – Lead Data Scientist CBDS – Project leader Big Data research CBS – Involved in ESSnet Big Data • Trainer – ESTP training course leader – EMOS Big Data trainer Univ. Utrecht – CBDS trainer – For lot’s and lot’s of students – And 2 dogs and 8 hamsters @pietdaas
  • 3. Marco Puts • Work – Methodologist CBS – Lead Data Scientist CBDS – Big Data Task Force member – Involved in ESSnet Big Data – Vegan • Trainer – ESTP training course leader – CBDS trainer – 4 tortoises
  • 4. Overview of Webinar • Properties of Big Data • Big Data processes – Collect – Process – Analyse – Disseminate • Wrap up & Discussion • Questions in between topics
  • 5. Big Data • What is Big Data? – How do we use this term? • Big Data is a source of data that is: – Rapidly available – Usually available in large amounts – Often generated by an unknown population – May have poor quality metadata – Usually has low information content – Requires processing prior to use – Unknown design
  • 6. Big Data’s most important property Information content can be rather low for Big Data
  • 7. Paradigm shift • Need of change in the way (official) statisticians look at data https://en.wikipedia.org/wiki/Rabbit%E2%80%93duck_illusion#/media/File:Kaninchen_und_Ente.png
  • 8. Question 1 • What sources do you consider Big Data? – Social media messages – Product prices on web sites – Satellite pictures – Sensor data of cows – Persons register of China – Activity tracker data of 8 persons
  • 9. Big Data uses • Big Data was introduced in previous Webinars • A number of examples have been shown • Big Data: how can it be used?! (not only its potential) • General view on Big Data processes
  • 10. Big Data processes • In GSBPM terms, 4 phases 1. Collect Get (access to) data 2. Process Check and convert data 3. Analyse Learn from and extract knowledge from data 4. Disseminate Release results In this Webinar, we discuss Big Data as the main source of input for official statistics Alternatives uses are: as an additional source, to impute missing data and in model. *GSPBM = Generic Statistical Business Process Model
  • 11. In this Webinar • Focus is Big Data as the main source of input for official statistics • Alternative uses are: – as an additional source, – to impute missing data, – in a calibration model.
  • 12. Big Data processes (2) • Data driven: cycles in every stage and in between Collect Process Analyse Disseminate Developed from input to output (in cycles) input output
  • 13. Big Data processes (3) • Phases will be illustrated with examples – Road intensity statistics (published) • Using road sensor data – Innovative company statistics (work in progress) • Using text on main page of company web sites – Energy: solar panel detection (work in progress) • Using areal pictures to identify solar panels There are three types of ‘data’ that can be used
  • 14. 1. Collect phase • Assure stable access to data – Long-term access is essential – Often data from private companies • Try to get some data – Learn from the data (trail-and-error) – Check various potential uses • Include domain expert knowledge – But not to early (ideas come first)
  • 15. 1. Collect phase (2) • Road sensor data – Maintained by organisation paid by the government – Statistics Netherlands law gives us access • Web sites of companies – Scrape data for studies (scrape once, store raw data) – In the future: inform companies in advance • Solar panels work – Free access to areal pictures (updated once a year) – Is that frequent enough?
  • 16. Questions 2 • What is the biggest problem when creating a statistics fully based on Big Data? • Stability of the source content • Stability of access • Stability of population included • All of the above • No problems at all
  • 17. 2. Process phase • Composed of multiple steps – Preprocessing • Perform some very (time) efficient initial checks • Convert and adjust the data prior to use • May involve visualizations – Cleaning (a.k.a. editing) • Clean data when the quality for a specific use is not sufficient • Should be fully automatic (no manual checks) • May involve visualizations
  • 18. 2. Process phase - preprocessing • Raw data is usually preprocessed: – After receiving it at the office (in a secure way) Automatic Information System data (GPS of ships), Areal Images, web scraping • Dataset transmitted can be huge • High infrastructural needs – At the location of data maintainer Road sensor data, Mobile phone data • Use infrastructure of data maintainer • Smaller dataset is transferred • May solve privacy issue • Process chain should still be in control of NSI
  • 19. 2. Process phase - preprocessing • Increasing information content !! – Remove unneeded and clearly erroneous records • Size and population reduction – Remove unneeded and clearly erroneous values • Less columns, only keep what is needed – To convert event-based to unit-based data • Create a more suited dataset • E.g. combining check-in and check-out data to trips – Tailor data to needs of NSI • Convert values to ranges used by NSI – Extract features • Construct new variables For texts, very important choices (remove stop words, stemming, ….) Discuss road sensor data as example
  • 20. Population and variables • In general it is important to consider: – The units included in the source vs target population • Which units are included? How to identify them? • Topic of research at our office • Extract features indicative for background characteristics – Definition alignment • Correspondence between definition used by data maintainer (if known) and NSI • Similar to administrative data
  • 21. Example: Road sensor data • Data generated by 20.000 road sensors – Every minute data is produced by each sensor (1440 records per sensor per day) – A total of 48 variables are included in each record of which only 13 are needed – Some records contain clearly erroneous data: -1 vehicles, no measurement, error flag on, location not on road, ….
  • 22. Raw road sensor data Data of a single sensor during 196 subsequent days
  • 23. Implemented quality indicators - O: Number of zero measurements |O| D: S:
  • 24. Road sensor data indicators • Relation between indicators, for 12 million records L (number of measurements) versus B (block indicator)
  • 25. Question 3 • What is good quality? • What are the advantages of Big Data in this context?
  • 26. Data Cleaning • Why clean the data? – Many data sources are very noisy – Doing analysis on noisy data is difficult: X = sin(seq(from=0,to=2*pi,by=0.01)) Y1 = X+2*runif(length(x)) Y2 = X+2*runif(length(x)) Print(cor(y1,y2)) will give a correlation of 0.6!!!! – Erroneous data have a negative effect on the quality of the estimates
  • 27. The Signal and the Data What is noise? information noise data data = information + noise Noise is that part of the data that is not relevant!
  • 28. The Signal and the Data (2)
  • 29. Road Sensor Data • Counts per minute of vehicles • Arrivals of vehicles at a road sensor • (semi-) Poisson process
  • 30. Implemented quality indicators - O: Number of zero measurements |O| D: S:
  • 32. Cleaning the Data Recursive Bayesian Estimation
  • 33. Cleaning the Data Recursive Bayesian Estimation
  • 35. Example: Solar Panels • Detect solar panels on rooftops • Preprocessing by cutting out roofs
  • 36. 3. Analyse • Getting insights from the data Analysis Model Driven Data Driven
  • 37. Making sense of the data Survey statistics Target population (unit=person) Sample of Persons Questionnaire Based on demographics Frame Selection Measurements Weights Traffic statistics Roads (unit=km) Road sensors Sensor data Based on location …
  • 38. Modeling the network of Road Sensors
  • 39. Modeling the network of Road Sensors
  • 40. • Dutch Highways • Main routes only Modeling the network of Road Sensors
  • 42. Projections • Project road sensors on main routes • Determine points of bifurcation for all entrance and exit ramps Entrance ramp
  • 43. Calibration of road sensors (2) 3000 2000 2500 20 7 Traffic flow Count 3000 3000 2000 2000 2500 Length 1055 5*3000 + 5*3000 + 10*2000 + 20*2000 + 7*2500 = 107,500 vehicle-km
  • 44. 3. Analyse (2) • When only a part of the data is composed of records of interest – This amount may vary between 50% - 1% – For example: • Innovative companies (9%) • Social tension (‘rare event’) • Company accounts on social media (3%) • Identify Belgian users (18%) • All about modelling an imbalanced dataset Analysis Model Driven Data Driven
  • 45. 3. Analyse (3) • Dealing with imbalanced datasets – Manually classify a sample (~1000 or more) • Multiple persons, write down instructions! • Result: training and test set – Try various approaches to test what works best • Logistic regression, Naive Bayes, Random Forest, SVM, NN,… – Add features (try as many as possible) • This adds domain knowledge – Check effect of preprocessing steps • Especially relevant for texts – Sometimes over- or under-sampling training set works • Results may vary, add more positive cases – Visualize findings
  • 46. Example: innovative companies • Companies from innovation statistics survey – 3000 innovative companies – 3000 non-innovative companies Downside: only companies with 10 or more working persons! • Scraped websites – Language detection, remove stop words, stemming – Words: unigram, bigram, trigram, word embeddings – Features: language, URL’s, email addresses, phone numbers, address • Checked various approaches – Logistic regression, Naïve Bayes, Random Forest, NN
  • 47. Example: innovative companies (2) • Evaluated model on: – Dutch SME innovation top 100 (various years) and list of Dutch start-up's • SME use different definition, nearly all start-up’s are innovative • Model focusses on technological innovation – 1 million company web sites and created detailed maps • Way to reveals curious behaviour of model • Able to create very detailed maps, at 4-digit zip-code level • Around 9% is innovative (according to our model)
  • 48. Question 4 • Name a few ways of dealing with imbalanced datasets when modelling • Under sample negative cases • Add more positive cases • Change evaluation metric • Cross validate 10x
  • 49. 4. Dissemination • Very much resembles standard output • Visualization are particularly important for Big Data based statistics • A few examples – Dot maps – AIS journeys
  • 52. Questions? Thank you for your attention !!