Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Analytics for Developers
Search
Trent Hauck
May 05, 2013
Programming
430
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Analytics for Developers
A talk I gave at Kansas City Developer Conference 2013.
Trent Hauck
May 05, 2013
Transcript
34 slides
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?
Other Decks in Programming
See All in Programming
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
980
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
310
Getting Started with Vibe Coding
miccheng
0
250
LLM 101
dalinaum
0
540
SODA - FACT BOOK(JP)
sodainc
1
40k
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
120
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
350
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
710
Featured
See All Featured
Bash Introduction
62gerente
615
220k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
590
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
Between Models and Reality
mayunak
4
610
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Statistics for Hackers
jakevdp
799
230k
Tell your own story through comics
letsgokoyo
1
1.1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
480
We Have a Design System, Now What?
morganepeng
55
8.4k
Facilitating Awesome Meetings
lara
57
7.2k