SlideShare a Scribd company logo
1 of 59
Download to read offline
FOLLOW @CARTO ON TWITTER
The Sum of Our Parts
Data Scientist Content Marketing Manager
CARTO is the platform to build
powerful Location Intelligence apps
with the best data streams available.
CARTO
Customers
Pioneers in Location Intelligence
1,200 End-users
300K Team members
100+
The Complete Journey
1. Data
2. Enrichment
3. Analysis
4. Solutions
5. Integration
The Complete Journey
1. Data
2. Enrichment
3. Analysis
4. Solutions
5. Integration
Enrichment
Augment any data
with demographic
data from around
the globe with easeData
Observatory
Develop robust ETL
processes and
update
mechanisms so
your data is always
enriched
Mastercard Human
Mobility
POI
The Journey - Analysis
Bring CARTO maps and data into
your data science workflows and
the Python data science
ecosystem to work with Pandas,
PySal,PyMC3, scikit-learn, etc.
CARTOFrames
Use the power of PostGIS and our APIs to
productionalize analysis workflows in your
CARTO platform.
PostGIS by
CARTO
SQL API Python
SDK
John Snow’s map of cholera cases in London 1854. Red circles indicate locations of cholera
cases and blue circles indicate locations of water pumps.
………………………………………………………………………………………………………….………………….…...
“Everything is related to
everything else, but near
things are more related
than distant things.”
(Tobler, 1970)
………………………………………………………………………………………………………….………………….…...
Modelling dependence on covariates and the spatial correlation structure
● Estimation of underlying model parameters
● Prediction at unsampled locations
● Change of support (downscaling/upscaling)
………………………………………………………………………………………………………….………………….…...
Failure to include spatial dependence in your model can lead to biased statistical
results and erroneous conclusions.
How can CARTO help me with my spatial models?
➢ Types of spatial data
➢ Spatial modelling
➢ Demos
………………………………………………………………………………………………………….………………….…...
● GPS tracking
● Fixed measuring devices
● High resolution satellites
Geostatistical data
We are thinking of a
continuous spatial field
● Census data
● Region-based counts
● Coarse resolution satellites
Region-based data
We are observing a discrete
spatial field,
but what are we thinking of?
● Census data
● Region-based counts
● Coarse resolution satellites
Region-based data
We are observing a discrete
spatial field,
but what are we thinking of?
● Locations of occurrences of some
event
● Locations of trees
● UFO sightings
Point patterns
We are thinking of
occurrences of events
● We need a complex function based on the coordinates to adequately describe
the effect of the location
● Regression models using the location's coordinates as predictors do not work
well!
● More natural to explicitly model the variations of the process considering that
it may be similar at nearby locations
………………………………………………………………………………………………………….………………….…...
What we are trying to model
(or the response variable)
This is modelling!
………………………………………………………………………………………………………….………………….…...
The mean structure
e.g. some function of some
covariates
The residual (or what is not
explained by the mean
structure)
What we are trying to model
(or the response variable)
………………………………………………………………………………………………………….………………….…...
But the number of ways we could construct a model for the spatial process is unlimited!
Spatially continuous models
➢ Gaussian processes (GP)
Spatially discrete models
➢ Gaussian Markov Random Fields (GMRF)
………………………………………………………………………………………………………….………………….…...
➢ A GP is parameterized by a mean function and covariance function
➢ as ↑ then ↓
➢ depends on some parameters
e.g.: the exponential covariance:
The joint distribution of a finite number of outputs is a Gaussian!
………………………………………………………………………………………………………….………………….…...
………………………………………………………………………………………………………….………………….…...
Empirical
………………………………………………………………………………………………………….………………….…...
Empirical
Model
………………………………………………………………………………………………………….………………….…...
………………………………………………………………………………………………………….………………….…...
➢ How can we properly account for the uncertainty in the spatial dependence
structure?
THINK BAYESIAN!
DATA LEVEL (LIKELIHOOD)
PROCESS LEVEL
PRIOR LEVEL
………………………………………………………………………………………………………….………………….…...
➢ THE BIG PROBLEM: computations scale as O(N3
), for more than a few thousand
points this is intractable!
Construct a DISCRETE APPROXIMATION of the continuous field
Figure from Cameletti et al. (AStA, 2013)
………………………………………………………………………………………………………….………………….…...
➢ Based on neighbourhood structures
𝑖-th area
first-order neighbours
second-order neighbours
➢ Markov means conditional independence
………………………………………………………………………………………………………….………………….…...
Under the Markovian property, the elements in the precision matrix (the inverse of the
covariance) are non-zero only for neighbours
➢ Fast computations due to a sparse
precision matrix!
➢ Difficult to construct reasonable
dependence structures
0.1% of non-zero elements!
………………………………………………………………………………………………………….………………….…...
………………………………………………………………………………………………………….………………….…...
➢ Compare revenues from each travel agency to market performance
➢ We can use data from credit cards from purchases in the travel sector
………………………………………………………………………………………………………….………………….…...
Travel agencies
Credit card data
………………………………………………………………………………………………………….………………….…...
➢ Compare revenues from each travel agency to market performance
➢ We can use data from credit cards from purchases in the travel sector
➢ BUT… credit card data get anonymized in many locations
………………………………………………………………………………………………………….………………….…...
1 month of data
5 months of data
12 months of data
………………………………………………………………………………………………………….………………….…...
➢ Compare revenues from each travel agency to market performance
➢ We can use data from credit cards from purchases in the travel sector
➢ BUT… credit card data get anonymized in many locations
………………………………………………………………………………………………………….………………….…...
CAN WE PREDICT AT LOCATIONS WHERE THERE ARE NO DATA?
R package: mgcv, Wood (2011, Journal of the Royal Statistical Society: Series B)
CAN WE PREDICT AT LOCATIONS WHERE THERE ARE NO DATA?
➢ Compare revenues from each travel agency to market performance
➢ We can use data from credit cards from purchases in the travel sector
➢ BUT… credit card data get anonymized in many locations
………………………………………………………………………………………………………….………………….…...
R package: mgcv, Wood (2011, Journal of the Royal Statistical Society: Series B)
w/ GRMF smoothw/o GRMF smooth
PREDICTED
ORIGINAL ORIGINAL
………………………………………………………………………………………………………….………………….…...
………………………………………………………………………………………………………….………………….…...
………………………………………………………………………………………………………….………………….…...
………………………………………………………………………………………………………….………………….…...
NUMBER OF TRANSACTIONS
➢ Upload your data to CARTO and viz it using CARTOframes
First we need to define the aggregation or zoom level. At CARTO we use QuadKeys
………………………………………………………………………………………………………….………………….…...
NUMBER OF TRANSACTIONS WHERE WE WANT TO PREDICT
➢ Upload your data to your CARTO account and plot it using CARTOframes
………………………………………………………………………………………………………….………………….…...
➢ Before modelling, enrich your data with CARTO DATA OBSERVATORY (DO)
………………………………………………………………………………………………………….………………….…...
➢ Before modelling, enrich your data with CARTO DATA OBSERVATORY (DO)
………………………………………………………………………………………………………….………………….…...
➢ Before modelling, enrich your data with CARTO DATA OBSERVATORY (DO)
………………………………………………………………………………………………………….………………….…...
NUMBER OF TRANSACTIONS DATA WE WANT TO USE AS COVARIATES
e.g. POPULATION
➢ Before modelling, viz with CARTOframes
………………………………………………………………………………………………………….………………….…...
NUMBER OF TRANSACTIONS DATA WE WANT TO USE AS COVARIATES
e.g. NUMBER OF FOOD POIs
➢ Before modelling, viz with CARTOframes
………………………………………………………………………………………………………….………………….…...
PRIORS
HYPER PRIORS
PROCESS
DATA
………………………………………………………………………………………………………….………………….…...
NUMBER OF TRANSACTIONS
R package: R-INLA, Lindgren and Rue (2015, JSS)
PREDICTED NUMBER OF TRANSACTIONS
(MEAN)
NUMBER OF TRANSACTIONS
………………………………………………………………………………………………………….………………….…...
PREDICTED NUMBER OF TRANSACTIONS
(STANDARD DEVIATION)
NUMBER OF TRANSACTIONS
………………………………………………………………………………………………………….………………….…...
Population # POI food # POI entertainment
Income# POI transport # employees
………………………………………………………………………………………………………….………………….…...
RANDOM SPATIAL EFFECT
(MEAN)
RANDOM SPATIAL EFFECT
(STANDARD DEVIATION)
SPATIAL DOMAIN
………………………………………………………………………………………………………….………………….…...
PREDICTED NUMBER OF TRANSACTIONS (MEAN)
………………………………………………………………………………………………………….………………….…...
➢ Think carefully what is the problem you are trying to solve and get the right data
at the right spatial resolution
CARTO Data Observatory
………………………………………………………………………………………………………….………………….…...
➢ Think carefully what is the problem you are trying to solve and get the right data
at the right spatial resolution
➢ Choose a scalable model and a flexible implementation
CARTO Data Observatory
………………………………………………………………………………………………………….………………….…...
CARTO Analysis Framework and API
A Framework for provisioning, orchestrating, executing and monitoring of analyses (processes)
An API to define, register, schedule and execute user-defined analysis written in virtually any language
➢ Think carefully what is the problem you are trying to solve and get the right data
at the right spatial resolution
➢ Choose a scalable model and a flexible implementation
➢ The estimates we construct come from a complicated interaction of the model
and the computational method: visualization (and other metrics) are essential
CARTO Data Observatory
………………………………………………………………………………………………………….………………….…...
CARTO Analysis Framework and API
CARTOframes
Request a demo at CARTO.COM
Data Scientist // giulia@carto.com
Content Marketing Manager // sisaac@carto.com

More Related Content

What's hot

What's hot (20)

CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
 
Why High-Resolution Spatial Data on Population Matters
 Why High-Resolution Spatial Data on Population Matters Why High-Resolution Spatial Data on Population Matters
Why High-Resolution Spatial Data on Population Matters
 
CARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysisCARTO BUILDER: from visualization to geospatial analysis
CARTO BUILDER: from visualization to geospatial analysis
 
The Role of Indoor Mapping in the “New Normal”
The Role of Indoor Mapping in the “New Normal”The Role of Indoor Mapping in the “New Normal”
The Role of Indoor Mapping in the “New Normal”
 
Embedding Location Intelligence in Web Apps that Enhance User Experience [Air...
Embedding Location Intelligence in Web Apps that Enhance User Experience [Air...Embedding Location Intelligence in Web Apps that Enhance User Experience [Air...
Embedding Location Intelligence in Web Apps that Enhance User Experience [Air...
 
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes] How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
How to Use Spatial Data Science in your Site Planning Process? [CARTOframes]
 
Google Analytics location data visualised with CARTO & BigQuery
Google Analytics location data visualised with CARTO & BigQueryGoogle Analytics location data visualised with CARTO & BigQuery
Google Analytics location data visualised with CARTO & BigQuery
 
Tips and tricks for Working with Demographic Data [CARTOframes & Python]
Tips and tricks for Working with Demographic Data [CARTOframes & Python]Tips and tricks for Working with Demographic Data [CARTOframes & Python]
Tips and tricks for Working with Demographic Data [CARTOframes & Python]
 
Scaling Spatial Analytics with Google Cloud & CARTO
Scaling Spatial Analytics with Google Cloud & CARTOScaling Spatial Analytics with Google Cloud & CARTO
Scaling Spatial Analytics with Google Cloud & CARTO
 
The geography of geospatial
The geography of  geospatialThe geography of  geospatial
The geography of geospatial
 
Market analysis through Consumer Behavior Pattern Insights
Market analysis through Consumer Behavior Pattern InsightsMarket analysis through Consumer Behavior Pattern Insights
Market analysis through Consumer Behavior Pattern Insights
 
The Ultimate Guide to Location Data: New Datasets & Methods
The Ultimate Guide to Location Data: New Datasets & MethodsThe Ultimate Guide to Location Data: New Datasets & Methods
The Ultimate Guide to Location Data: New Datasets & Methods
 
Applying Spatial Analysis to Real Estate Decision-Making
Applying Spatial Analysis to Real Estate Decision-MakingApplying Spatial Analysis to Real Estate Decision-Making
Applying Spatial Analysis to Real Estate Decision-Making
 
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTOCan Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
Can Kanye West Save Gap? Real-Time Consumer Social Media Segmentation On CARTO
 
New Challenges, New Data: The Power of Location Data in Utilities
New Challenges, New Data: The Power of Location Data in UtilitiesNew Challenges, New Data: The Power of Location Data in Utilities
New Challenges, New Data: The Power of Location Data in Utilities
 
Leveraging Social Media Data During COVID-19
Leveraging Social Media Data During COVID-19Leveraging Social Media Data During COVID-19
Leveraging Social Media Data During COVID-19
 
Helping insurers Uncover Location Data and the Predictive Analytics Factor
Helping insurers Uncover Location Data and the Predictive Analytics FactorHelping insurers Uncover Location Data and the Predictive Analytics Factor
Helping insurers Uncover Location Data and the Predictive Analytics Factor
 
Understanding Retail Catchment Areas with Human Mobility Data
Understanding Retail Catchment Areas with Human Mobility DataUnderstanding Retail Catchment Areas with Human Mobility Data
Understanding Retail Catchment Areas with Human Mobility Data
 
Understanding short term rental & tourism trends through geospatial data [CAR...
Understanding short term rental & tourism trends through geospatial data [CAR...Understanding short term rental & tourism trends through geospatial data [CAR...
Understanding short term rental & tourism trends through geospatial data [CAR...
 
Location Intelligence & Data Visualization
Location Intelligence & Data VisualizationLocation Intelligence & Data Visualization
Location Intelligence & Data Visualization
 

Similar to Think Spatial: Don't Ignore Location in your Models! [CARTOframes]

Bi sample sap learn book
Bi sample sap learn bookBi sample sap learn book
Bi sample sap learn book
cj12chi
 
Data Science & BI Salary & Skills Report
Data Science & BI Salary & Skills ReportData Science & BI Salary & Skills Report
Data Science & BI Salary & Skills Report
Paul Buzby
 
Unstructured Data and the Enterprise
Unstructured Data and the EnterpriseUnstructured Data and the Enterprise
Unstructured Data and the Enterprise
DATAVERSITY
 
01 introduction tovulcanmanual_v81_20120817-libre
01 introduction tovulcanmanual_v81_20120817-libre01 introduction tovulcanmanual_v81_20120817-libre
01 introduction tovulcanmanual_v81_20120817-libre
Walquer huacani calsin
 
Abstract contents
Abstract contentsAbstract contents
Abstract contents
loisy28
 
Element V1 6 User Manual Rev A
Element V1 6 User Manual Rev AElement V1 6 User Manual Rev A
Element V1 6 User Manual Rev A
guestfe8f45
 
Outline Of Dissertation
Outline Of DissertationOutline Of Dissertation
Outline Of Dissertation
Abhay Shirke
 
Pc 811 transformation_guide
Pc 811 transformation_guidePc 811 transformation_guide
Pc 811 transformation_guide
Venkat Madduru
 

Similar to Think Spatial: Don't Ignore Location in your Models! [CARTOframes] (20)

Spocto a new paradigm
Spocto a new paradigmSpocto a new paradigm
Spocto a new paradigm
 
Bi sample sap learn book
Bi sample sap learn bookBi sample sap learn book
Bi sample sap learn book
 
Showcase: on segmentation importance for marketing campaign in retail using R...
Showcase: on segmentation importance for marketing campaign in retail using R...Showcase: on segmentation importance for marketing campaign in retail using R...
Showcase: on segmentation importance for marketing campaign in retail using R...
 
Ercis wp 18new (1)
Ercis wp 18new (1)Ercis wp 18new (1)
Ercis wp 18new (1)
 
Data Science & BI Salary & Skills Report
Data Science & BI Salary & Skills ReportData Science & BI Salary & Skills Report
Data Science & BI Salary & Skills Report
 
Delta v emerson_getting_started
Delta v emerson_getting_startedDelta v emerson_getting_started
Delta v emerson_getting_started
 
Meet Minitab 15 User's Guide ( PDFDrive ).pdf
Meet Minitab 15 User's Guide ( PDFDrive ).pdfMeet Minitab 15 User's Guide ( PDFDrive ).pdf
Meet Minitab 15 User's Guide ( PDFDrive ).pdf
 
Dell Data Migration A Technical White Paper
Dell Data Migration  A Technical White PaperDell Data Migration  A Technical White Paper
Dell Data Migration A Technical White Paper
 
Unstructured Data and the Enterprise
Unstructured Data and the EnterpriseUnstructured Data and the Enterprise
Unstructured Data and the Enterprise
 
Data Visualization Techniques
Data Visualization TechniquesData Visualization Techniques
Data Visualization Techniques
 
01 introduction tovulcanmanual_v81_20120817-libre
01 introduction tovulcanmanual_v81_20120817-libre01 introduction tovulcanmanual_v81_20120817-libre
01 introduction tovulcanmanual_v81_20120817-libre
 
Abstract contents
Abstract contentsAbstract contents
Abstract contents
 
Element V1 6 User Manual Rev A
Element V1 6 User Manual Rev AElement V1 6 User Manual Rev A
Element V1 6 User Manual Rev A
 
Chapter 2-beginning-spatial-with-sql-server-2008-pt-i
Chapter 2-beginning-spatial-with-sql-server-2008-pt-iChapter 2-beginning-spatial-with-sql-server-2008-pt-i
Chapter 2-beginning-spatial-with-sql-server-2008-pt-i
 
Outline Of Dissertation
Outline Of DissertationOutline Of Dissertation
Outline Of Dissertation
 
Understanding the travel consumers path to purchase
Understanding the travel consumers path to purchaseUnderstanding the travel consumers path to purchase
Understanding the travel consumers path to purchase
 
Pc 811 transformation_guide
Pc 811 transformation_guidePc 811 transformation_guide
Pc 811 transformation_guide
 
Kopinath retail installation_consideration2
Kopinath retail installation_consideration2Kopinath retail installation_consideration2
Kopinath retail installation_consideration2
 
Ibm spss bootstrapping
Ibm spss bootstrappingIbm spss bootstrapping
Ibm spss bootstrapping
 
Crisp dm
Crisp dmCrisp dm
Crisp dm
 

More from CARTO

More from CARTO (20)

4 Ways Telecoms are Using GIS & Location Intelligence.pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf4 Ways Telecoms are Using GIS & Location Intelligence.pdf
4 Ways Telecoms are Using GIS & Location Intelligence.pdf
 
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdfHow to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
How to Analyze & Optimize Mobility with Geospatial Data (Snowflake).pdf
 
Understanding Residential Energy Usage with CARTO & Doorda.pdf
Understanding Residential Energy Usage with CARTO & Doorda.pdfUnderstanding Residential Energy Usage with CARTO & Doorda.pdf
Understanding Residential Energy Usage with CARTO & Doorda.pdf
 
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
How to Use Spatial Data to Create a Wildfire Risk Index.pdfHow to Use Spatial Data to Create a Wildfire Risk Index.pdf
How to Use Spatial Data to Create a Wildfire Risk Index.pdf
 
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
CARTO for Retail: Driving Site Selection Decisions with Advanced Spatial Anal...
 
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
Winning Market Expansion Strategies for CPG brands, Using Spatial Data and An...
 
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Advancing Spatial Analysis in BigQuery using CARTO Analytics ToolboxAdvancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
Advancing Spatial Analysis in BigQuery using CARTO Analytics Toolbox
 
Developing Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTODeveloping Spatial Applications with Google Maps and CARTO
Developing Spatial Applications with Google Maps and CARTO
 
Location Intelligence: The Secret Sauce for OOH Advertising
Location Intelligence: The Secret Sauce for OOH AdvertisingLocation Intelligence: The Secret Sauce for OOH Advertising
Location Intelligence: The Secret Sauce for OOH Advertising
 
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
Sentiment, Popularity & Potentiality: 3 Unique KPIs to add to your Site Selec...
 
Spatial Analytics in the Cloud Using Snowflake & CARTO
Spatial Analytics in the Cloud Using Snowflake & CARTOSpatial Analytics in the Cloud Using Snowflake & CARTO
Spatial Analytics in the Cloud Using Snowflake & CARTO
 
What Spatial Analytics Tells Us About the Future of the UK High Street
What Spatial Analytics Tells Us About the Future of the UK High StreetWhat Spatial Analytics Tells Us About the Future of the UK High Street
What Spatial Analytics Tells Us About the Future of the UK High Street
 
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Using Spatial Analysis to Drive Post-Pandemic Site Selection in RetailUsing Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
Using Spatial Analysis to Drive Post-Pandemic Site Selection in Retail
 
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
6 Ways CPG Brands are Using Location Data to Prepare for the "Post-Pandemic"
 
Using Places (POI) Data for QSR Site Selection
Using Places (POI) Data for QSR Site SelectionUsing Places (POI) Data for QSR Site Selection
Using Places (POI) Data for QSR Site Selection
 
5 Ways to Strategize for Emerging Short-Term Rental Trends
5 Ways to Strategize for Emerging Short-Term Rental Trends5 Ways to Strategize for Emerging Short-Term Rental Trends
5 Ways to Strategize for Emerging Short-Term Rental Trends
 
How to Use Geospatial Data to Identify CPG Demnd Hotspots
How to Use Geospatial Data to Identify CPG Demnd HotspotsHow to Use Geospatial Data to Identify CPG Demnd Hotspots
How to Use Geospatial Data to Identify CPG Demnd Hotspots
 
Using Location Data to Adapt to the New normal
Using Location Data to Adapt to the New normalUsing Location Data to Adapt to the New normal
Using Location Data to Adapt to the New normal
 
7 Reasons Why CPG Marketers Are Turning To Location Analytics
7 Reasons Why CPG Marketers Are Turning To Location Analytics7 Reasons Why CPG Marketers Are Turning To Location Analytics
7 Reasons Why CPG Marketers Are Turning To Location Analytics
 
Analyzing the Rise of the Staycation during COVID-19
Analyzing the Rise of the Staycation during COVID-19Analyzing the Rise of the Staycation during COVID-19
Analyzing the Rise of the Staycation during COVID-19
 

Recently uploaded

Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 

Recently uploaded (20)

Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men  🔝mahisagar🔝   Esc...
➥🔝 7737669865 🔝▻ mahisagar Call-girls in Women Seeking Men 🔝mahisagar🔝 Esc...
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 

Think Spatial: Don't Ignore Location in your Models! [CARTOframes]

  • 2. The Sum of Our Parts Data Scientist Content Marketing Manager
  • 3. CARTO is the platform to build powerful Location Intelligence apps with the best data streams available.
  • 4. CARTO Customers Pioneers in Location Intelligence 1,200 End-users 300K Team members 100+
  • 5. The Complete Journey 1. Data 2. Enrichment 3. Analysis 4. Solutions 5. Integration
  • 6. The Complete Journey 1. Data 2. Enrichment 3. Analysis 4. Solutions 5. Integration
  • 7. Enrichment Augment any data with demographic data from around the globe with easeData Observatory Develop robust ETL processes and update mechanisms so your data is always enriched Mastercard Human Mobility POI
  • 8. The Journey - Analysis Bring CARTO maps and data into your data science workflows and the Python data science ecosystem to work with Pandas, PySal,PyMC3, scikit-learn, etc. CARTOFrames Use the power of PostGIS and our APIs to productionalize analysis workflows in your CARTO platform. PostGIS by CARTO SQL API Python SDK
  • 9. John Snow’s map of cholera cases in London 1854. Red circles indicate locations of cholera cases and blue circles indicate locations of water pumps. ………………………………………………………………………………………………………….………………….…...
  • 10. “Everything is related to everything else, but near things are more related than distant things.” (Tobler, 1970) ………………………………………………………………………………………………………….………………….…...
  • 11. Modelling dependence on covariates and the spatial correlation structure ● Estimation of underlying model parameters ● Prediction at unsampled locations ● Change of support (downscaling/upscaling) ………………………………………………………………………………………………………….………………….…...
  • 12. Failure to include spatial dependence in your model can lead to biased statistical results and erroneous conclusions. How can CARTO help me with my spatial models? ➢ Types of spatial data ➢ Spatial modelling ➢ Demos ………………………………………………………………………………………………………….………………….…...
  • 13.
  • 14. ● GPS tracking ● Fixed measuring devices ● High resolution satellites Geostatistical data We are thinking of a continuous spatial field
  • 15. ● Census data ● Region-based counts ● Coarse resolution satellites Region-based data We are observing a discrete spatial field, but what are we thinking of?
  • 16. ● Census data ● Region-based counts ● Coarse resolution satellites Region-based data We are observing a discrete spatial field, but what are we thinking of?
  • 17. ● Locations of occurrences of some event ● Locations of trees ● UFO sightings Point patterns We are thinking of occurrences of events
  • 18.
  • 19. ● We need a complex function based on the coordinates to adequately describe the effect of the location ● Regression models using the location's coordinates as predictors do not work well! ● More natural to explicitly model the variations of the process considering that it may be similar at nearby locations ………………………………………………………………………………………………………….………………….…...
  • 20. What we are trying to model (or the response variable) This is modelling! ………………………………………………………………………………………………………….………………….…...
  • 21. The mean structure e.g. some function of some covariates The residual (or what is not explained by the mean structure) What we are trying to model (or the response variable) ………………………………………………………………………………………………………….………………….…...
  • 22. But the number of ways we could construct a model for the spatial process is unlimited! Spatially continuous models ➢ Gaussian processes (GP) Spatially discrete models ➢ Gaussian Markov Random Fields (GMRF) ………………………………………………………………………………………………………….………………….…...
  • 23. ➢ A GP is parameterized by a mean function and covariance function ➢ as ↑ then ↓ ➢ depends on some parameters e.g.: the exponential covariance: The joint distribution of a finite number of outputs is a Gaussian! ………………………………………………………………………………………………………….………………….…...
  • 28. ➢ How can we properly account for the uncertainty in the spatial dependence structure? THINK BAYESIAN! DATA LEVEL (LIKELIHOOD) PROCESS LEVEL PRIOR LEVEL ………………………………………………………………………………………………………….………………….…...
  • 29. ➢ THE BIG PROBLEM: computations scale as O(N3 ), for more than a few thousand points this is intractable! Construct a DISCRETE APPROXIMATION of the continuous field Figure from Cameletti et al. (AStA, 2013) ………………………………………………………………………………………………………….………………….…...
  • 30. ➢ Based on neighbourhood structures 𝑖-th area first-order neighbours second-order neighbours ➢ Markov means conditional independence ………………………………………………………………………………………………………….………………….…...
  • 31. Under the Markovian property, the elements in the precision matrix (the inverse of the covariance) are non-zero only for neighbours ➢ Fast computations due to a sparse precision matrix! ➢ Difficult to construct reasonable dependence structures 0.1% of non-zero elements! ………………………………………………………………………………………………………….………………….…...
  • 33. ➢ Compare revenues from each travel agency to market performance ➢ We can use data from credit cards from purchases in the travel sector ………………………………………………………………………………………………………….………………….…...
  • 34. Travel agencies Credit card data ………………………………………………………………………………………………………….………………….…...
  • 35. ➢ Compare revenues from each travel agency to market performance ➢ We can use data from credit cards from purchases in the travel sector ➢ BUT… credit card data get anonymized in many locations ………………………………………………………………………………………………………….………………….…...
  • 36. 1 month of data 5 months of data 12 months of data ………………………………………………………………………………………………………….………………….…...
  • 37. ➢ Compare revenues from each travel agency to market performance ➢ We can use data from credit cards from purchases in the travel sector ➢ BUT… credit card data get anonymized in many locations ………………………………………………………………………………………………………….………………….…... CAN WE PREDICT AT LOCATIONS WHERE THERE ARE NO DATA? R package: mgcv, Wood (2011, Journal of the Royal Statistical Society: Series B)
  • 38. CAN WE PREDICT AT LOCATIONS WHERE THERE ARE NO DATA? ➢ Compare revenues from each travel agency to market performance ➢ We can use data from credit cards from purchases in the travel sector ➢ BUT… credit card data get anonymized in many locations ………………………………………………………………………………………………………….………………….…... R package: mgcv, Wood (2011, Journal of the Royal Statistical Society: Series B)
  • 39. w/ GRMF smoothw/o GRMF smooth PREDICTED ORIGINAL ORIGINAL ………………………………………………………………………………………………………….………………….…...
  • 43. ➢ Upload your data to CARTO and viz it using CARTOframes First we need to define the aggregation or zoom level. At CARTO we use QuadKeys ………………………………………………………………………………………………………….………………….…...
  • 44. NUMBER OF TRANSACTIONS WHERE WE WANT TO PREDICT ➢ Upload your data to your CARTO account and plot it using CARTOframes ………………………………………………………………………………………………………….………………….…...
  • 45. ➢ Before modelling, enrich your data with CARTO DATA OBSERVATORY (DO) ………………………………………………………………………………………………………….………………….…...
  • 46. ➢ Before modelling, enrich your data with CARTO DATA OBSERVATORY (DO) ………………………………………………………………………………………………………….………………….…...
  • 47. ➢ Before modelling, enrich your data with CARTO DATA OBSERVATORY (DO) ………………………………………………………………………………………………………….………………….…...
  • 48. NUMBER OF TRANSACTIONS DATA WE WANT TO USE AS COVARIATES e.g. POPULATION ➢ Before modelling, viz with CARTOframes ………………………………………………………………………………………………………….………………….…...
  • 49. NUMBER OF TRANSACTIONS DATA WE WANT TO USE AS COVARIATES e.g. NUMBER OF FOOD POIs ➢ Before modelling, viz with CARTOframes ………………………………………………………………………………………………………….………………….…...
  • 51. PREDICTED NUMBER OF TRANSACTIONS (MEAN) NUMBER OF TRANSACTIONS ………………………………………………………………………………………………………….………………….…...
  • 52. PREDICTED NUMBER OF TRANSACTIONS (STANDARD DEVIATION) NUMBER OF TRANSACTIONS ………………………………………………………………………………………………………….………………….…...
  • 53. Population # POI food # POI entertainment Income# POI transport # employees ………………………………………………………………………………………………………….………………….…...
  • 54. RANDOM SPATIAL EFFECT (MEAN) RANDOM SPATIAL EFFECT (STANDARD DEVIATION) SPATIAL DOMAIN ………………………………………………………………………………………………………….………………….…...
  • 55. PREDICTED NUMBER OF TRANSACTIONS (MEAN) ………………………………………………………………………………………………………….………………….…...
  • 56. ➢ Think carefully what is the problem you are trying to solve and get the right data at the right spatial resolution CARTO Data Observatory ………………………………………………………………………………………………………….………………….…...
  • 57. ➢ Think carefully what is the problem you are trying to solve and get the right data at the right spatial resolution ➢ Choose a scalable model and a flexible implementation CARTO Data Observatory ………………………………………………………………………………………………………….………………….…... CARTO Analysis Framework and API A Framework for provisioning, orchestrating, executing and monitoring of analyses (processes) An API to define, register, schedule and execute user-defined analysis written in virtually any language
  • 58. ➢ Think carefully what is the problem you are trying to solve and get the right data at the right spatial resolution ➢ Choose a scalable model and a flexible implementation ➢ The estimates we construct come from a complicated interaction of the model and the computational method: visualization (and other metrics) are essential CARTO Data Observatory ………………………………………………………………………………………………………….………………….…... CARTO Analysis Framework and API CARTOframes
  • 59. Request a demo at CARTO.COM Data Scientist // giulia@carto.com Content Marketing Manager // sisaac@carto.com