Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Analytics for Developers
Search
Trent Hauck
May 05, 2013
Programming
1
420
Analytics for Developers
A talk I gave at Kansas City Developer Conference 2013.
Trent Hauck
May 05, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
高速開発のためのコード整理術
sutetotanuki
1
390
CSC307 Lecture 08
javiergs
PRO
0
670
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.8k
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AtCoder Conference 2025
shindannin
0
1k
Patterns of Patterns
denyspoltorak
0
1.4k
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
700
CSC307 Lecture 07
javiergs
PRO
0
550
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Implementation Patterns
denyspoltorak
0
280
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
Fluid Templating in TYPO3 14
s2b
0
130
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
How to Ace a Technical Interview
jacobian
281
24k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Are puppies a ranking factor?
jonoalderson
1
2.7k
4 Signs Your Business is Dying
shpigford
187
22k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Transcript
Analytics for Developers and Developing for Analytics
About Me 2006-2011: Educated Accounting & Finance 2011-Present: Reeducated Marketing
& Operations Twitter: @trent_hauck Work: @AlightAnalytics Other: Contribute (now and then) to Pandas & StatsModels
Two Parts Analytics (more) Development (less)
Why should you care?
“In God we trust; all others must bring data.”
To do analytics you need x
Where x is data collection...
Site Analytics Should be a 1st Class Citizen of Development
Collect More Than You Need Now
Now Some GA Code <script type="text/javascript"> var _gaq = _gaq
|| []; _gaq.push(['_setAccount', 'UA-31465642-1']); _gaq.push(['_setDomainName', 'trenthauck.com']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
Next Steps Events _gaq.push(['_trackEvent', 'Cat', 'Act', ‘Label’]); Custom Variables _gaq.push(['_setCustomVar',
1, ‘key’, ‘value’, 1])
Where x is data analysis...
Differences in Data Small Data == Math Problem Big Data
== Engineering Problem
The Math Problem
Descriptive Stats (please compute these) Max, Min Quartiles Mean Variance
Mode
Web Stats are Easy A user converts or not... what
are the chances of that? p or q (=1-p) 3 users convert or not... what are the changes of that? p^3 or (p^2)q or p(q^2) or q^3
Hypothetical Worlds Trials = 100, Size = 100, p =
.1
Back to real world Stats: p-bar = .08, SE =
0.027
So then AB Testing 500 Trials A B p 0.1
0.2 SE 0.01 0.01 95% CI .1 +/- .02 .2 +/- 0.02
The Engineering Problem
Build Data Pipelines • Repeatable Flows of Data • Handles
Initial Analysis For You • Literate Programming
Programming For Data Analysis • Scripting good for Discovery •
Larger Jobs need Types • Mapping high dimensional space to lower dimensional space... then add
Where x is visualization....
Visualization Types •Distributions •Comparisons •Time Series •Other (Match Domain)
Distributions Single Variable: Histograms Multiple Variables: Scatter plot
Comparisons Categorical Variables
TimeSeries X Axis is Time
Match Domain with Analysis
Where x is storytelling...
Storytelling
3 Temporal Stages 1. What happened 2. What is happening
3. What will happen (Plus a tease)
Start With the Simple Stuff Friday Saturday Sunday 40º 42º
(Why do I live in KC)º
Build Up to Complex Idea
Thanks... Questions?