SlideShare una empresa de Scribd logo
1 de 14
Think stats: chi square test
in digital analytics
Chi-Square Test for independence FTW!!11one
Pawel Kapuscinski
pawel@databall.co
@aliendeg
Chi-square test use cases
Is gender a factor in color preference of a car?
Comparing the number of sales from the test experience vs the control
experience (A/B test or A/B/n)
Comparing sales revenues of each product before and after the change in
strategy
Is country a factor in pricing plan preference?
Is weather a factor in sales of different products?
Implementing the chi square test
1. Identify the two variables of interest from the data table
2. State hypothesis
3. Compute Margin summations
4. Build contingency table
5. Compute the observed chi-square value
6. Compare the observed value to critical value
IMPORTANT: Requirements for chi squared test
The variables under study are each categorical. If sample data are displayed in a
Hypothesis testing steps
1. State null (H0) and alternative (H1) hypothesis
2. Choose level of significance
3. Find critical values
4. Find test statistic
5. Draw your conclusion
Chi squared distribution plots
Dataset - pricing plans sold across world
Sold plans
Professional Team Business Enterprise
USA 1220 790 500 190
UK 950 590 200 120
Germany 880 420 320 70
Sweden 340 260 130 60
Belgium 290 190 110 80
Poland 910 290 190 40
Spain 250 320 220 50
Hypothesis
H0: Number of sales of each pricing plan is independent upon country
H1: Number of sales of each pricing plan is dependent upon country
Finding test statistics (manually, Excel and R)
Find critical value
(https://www.ma.utexas.edu/users/davis/375/popecol/tables/chisq.html)
Compute Margin summations
Summing rows and columns
Build contingency table
Compute the observed chi-square value
Finding test statistics - results
R code
df = data.frame(Prof= c(152,118,110,42,36,113,31),
Team = c(98,73,52,32,23,36,40),
Business = c(62,25,40,16,13,23,27),
Enterprise = c(23,15,8,7,10,6,6))
chisq.test(df)
Drawing conclusion
We can reject hypothesis zero (H0) and
accept H1. Number of sales of each pricing
plan is dependent upon country
Learn more
http://stats.stackexchange.com
www.analyticsvidhya.com
www.dartistics.com
Measure Slack - http://join.measure.chat
Assignment / homework
Transactions
mobile desktop tablet
Direct 3490028 538101 526095
Paid Search 1229227 214050 210811
Organic Search 862144 401720 193064
Referral 228352 129927 39693
Affiliates 38669 31947 12523
Email 35681 14284 6615
Social 9013 5196 2070
Display 231 171 47
(Other) 58 82 36
Questions?

Más contenido relacionado

La actualidad más candente

Indirect cost elcir
Indirect cost elcirIndirect cost elcir
Indirect cost elcirnaji maalouf
 
Examplelf flowchart
Examplelf flowchartExamplelf flowchart
Examplelf flowchartAnkit Dubey
 
Excel - Vloopup, Averageif , Countif, Index and Sumif
Excel - Vloopup, Averageif , Countif, Index and SumifExcel - Vloopup, Averageif , Countif, Index and Sumif
Excel - Vloopup, Averageif , Countif, Index and SumifVIVEKRAJ546946
 
Financial modeling & coding
Financial modeling  & coding Financial modeling  & coding
Financial modeling & coding Johnsmith5188
 
5 creating a_histogram
5 creating a_histogram5 creating a_histogram
5 creating a_histogramMedia4math
 
Bis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.comBis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.comDavis142
 
[Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014]
[Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014][Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014]
[Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014]Mumbai B.Sc.IT Study
 
Using line-based Voronoi cells in GIS
Using line-based Voronoi cells in GISUsing line-based Voronoi cells in GIS
Using line-based Voronoi cells in GISFabien Ancelin
 

La actualidad más candente (8)

Indirect cost elcir
Indirect cost elcirIndirect cost elcir
Indirect cost elcir
 
Examplelf flowchart
Examplelf flowchartExamplelf flowchart
Examplelf flowchart
 
Excel - Vloopup, Averageif , Countif, Index and Sumif
Excel - Vloopup, Averageif , Countif, Index and SumifExcel - Vloopup, Averageif , Countif, Index and Sumif
Excel - Vloopup, Averageif , Countif, Index and Sumif
 
Financial modeling & coding
Financial modeling  & coding Financial modeling  & coding
Financial modeling & coding
 
5 creating a_histogram
5 creating a_histogram5 creating a_histogram
5 creating a_histogram
 
Bis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.comBis 155 Exceptional Education / snaptutorial.com
Bis 155 Exceptional Education / snaptutorial.com
 
[Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014]
[Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014][Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014]
[Question Paper] Visual Basic – 6 (Old Syllabus) [April / 2014]
 
Using line-based Voronoi cells in GIS
Using line-based Voronoi cells in GISUsing line-based Voronoi cells in GIS
Using line-based Voronoi cells in GIS
 

Destacado

You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceCarmen Mardiros
 
Phils Session cards @ Measurecamp
Phils Session cards @ MeasurecampPhils Session cards @ Measurecamp
Phils Session cards @ MeasurecampPhil Pearce
 
Plan a Digital Analytics Training Strategy for an Analytics Agency
Plan a Digital Analytics Training Strategy for an Analytics AgencyPlan a Digital Analytics Training Strategy for an Analytics Agency
Plan a Digital Analytics Training Strategy for an Analytics AgencyPhil Pearce
 
Morphing GA into an Affiliate Analytics Monster
Morphing GA into an Affiliate Analytics MonsterMorphing GA into an Affiliate Analytics Monster
Morphing GA into an Affiliate Analytics MonsterPhil Pearce
 
Top 10 Google Analytics tips to save you money!
Top 10 Google Analytics tips to save you money!Top 10 Google Analytics tips to save you money!
Top 10 Google Analytics tips to save you money!Phil Pearce
 
Measurecamp 6 session: Effective Customer Feedback & Measurement Frameworks
Measurecamp 6 session: Effective Customer Feedback & Measurement FrameworksMeasurecamp 6 session: Effective Customer Feedback & Measurement Frameworks
Measurecamp 6 session: Effective Customer Feedback & Measurement FrameworksSean Burton
 
4 clicks 2 Measurement - Analytics Automation @ SuperWeek
4 clicks 2 Measurement - Analytics Automation @ SuperWeek4 clicks 2 Measurement - Analytics Automation @ SuperWeek
4 clicks 2 Measurement - Analytics Automation @ SuperWeekPhil Pearce
 
User-Centric Analytics (MeasureCamp Talk)
User-Centric Analytics (MeasureCamp Talk)User-Centric Analytics (MeasureCamp Talk)
User-Centric Analytics (MeasureCamp Talk)Taste Medio
 
Superweek 2015 traffic attribution
Superweek 2015 traffic attributionSuperweek 2015 traffic attribution
Superweek 2015 traffic attributionJacob Kildebogaard
 
Google Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ MeasurecampGoogle Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ MeasurecampPhil Pearce
 
31 Ways To Destroy Your Google Analytics Implementation
31 Ways To Destroy Your Google Analytics Implementation31 Ways To Destroy Your Google Analytics Implementation
31 Ways To Destroy Your Google Analytics ImplementationCharles Meaden
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheLeslie Samuel
 
Brand Management Training Program
Brand Management Training ProgramBrand Management Training Program
Brand Management Training ProgramBeloved Brands Inc.
 
Web Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics team
Web Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics teamWeb Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics team
Web Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics teamRachelle Maisner
 
Proactive Measures for Good Site Health - Brighton SEO 2014
Proactive Measures for Good Site Health - Brighton SEO 2014Proactive Measures for Good Site Health - Brighton SEO 2014
Proactive Measures for Good Site Health - Brighton SEO 2014Thomas Whittam
 
MeasureCamp London - Using enhanced ecommerce for non-ecommerce websites
MeasureCamp London - Using enhanced ecommerce for non-ecommerce websitesMeasureCamp London - Using enhanced ecommerce for non-ecommerce websites
MeasureCamp London - Using enhanced ecommerce for non-ecommerce websitesYard
 
A study of digital data about yourself - By Phil Pearce
A study of digital data about yourself - By Phil PearceA study of digital data about yourself - By Phil Pearce
A study of digital data about yourself - By Phil PearcePhil Pearce
 

Destacado (20)

You Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data ScienceYou Don't Have to Be a Data Scientist to Do Data Science
You Don't Have to Be a Data Scientist to Do Data Science
 
Phils Session cards @ Measurecamp
Phils Session cards @ MeasurecampPhils Session cards @ Measurecamp
Phils Session cards @ Measurecamp
 
Plan a Digital Analytics Training Strategy for an Analytics Agency
Plan a Digital Analytics Training Strategy for an Analytics AgencyPlan a Digital Analytics Training Strategy for an Analytics Agency
Plan a Digital Analytics Training Strategy for an Analytics Agency
 
Morphing GA into an Affiliate Analytics Monster
Morphing GA into an Affiliate Analytics MonsterMorphing GA into an Affiliate Analytics Monster
Morphing GA into an Affiliate Analytics Monster
 
Top 10 Google Analytics tips to save you money!
Top 10 Google Analytics tips to save you money!Top 10 Google Analytics tips to save you money!
Top 10 Google Analytics tips to save you money!
 
Measurecamp 6 session: Effective Customer Feedback & Measurement Frameworks
Measurecamp 6 session: Effective Customer Feedback & Measurement FrameworksMeasurecamp 6 session: Effective Customer Feedback & Measurement Frameworks
Measurecamp 6 session: Effective Customer Feedback & Measurement Frameworks
 
4 clicks 2 Measurement - Analytics Automation @ SuperWeek
4 clicks 2 Measurement - Analytics Automation @ SuperWeek4 clicks 2 Measurement - Analytics Automation @ SuperWeek
4 clicks 2 Measurement - Analytics Automation @ SuperWeek
 
Measure camp pres 5 cro myths
Measure camp pres   5 cro mythsMeasure camp pres   5 cro myths
Measure camp pres 5 cro myths
 
User-Centric Analytics (MeasureCamp Talk)
User-Centric Analytics (MeasureCamp Talk)User-Centric Analytics (MeasureCamp Talk)
User-Centric Analytics (MeasureCamp Talk)
 
Superweek 2015 traffic attribution
Superweek 2015 traffic attributionSuperweek 2015 traffic attribution
Superweek 2015 traffic attribution
 
Google Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ MeasurecampGoogle Data Studio - First impressions @ Measurecamp
Google Data Studio - First impressions @ Measurecamp
 
31 Ways To Destroy Your Google Analytics Implementation
31 Ways To Destroy Your Google Analytics Implementation31 Ways To Destroy Your Google Analytics Implementation
31 Ways To Destroy Your Google Analytics Implementation
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 
Brand Management Training Program
Brand Management Training ProgramBrand Management Training Program
Brand Management Training Program
 
SlideShare 101
SlideShare 101SlideShare 101
SlideShare 101
 
Web Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics team
Web Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics teamWeb Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics team
Web Analytics Project Brief: How to MOBILIZE and ENERGIZE your analytics team
 
Proactive Measures for Good Site Health - Brighton SEO 2014
Proactive Measures for Good Site Health - Brighton SEO 2014Proactive Measures for Good Site Health - Brighton SEO 2014
Proactive Measures for Good Site Health - Brighton SEO 2014
 
MeasureCamp London - Using enhanced ecommerce for non-ecommerce websites
MeasureCamp London - Using enhanced ecommerce for non-ecommerce websitesMeasureCamp London - Using enhanced ecommerce for non-ecommerce websites
MeasureCamp London - Using enhanced ecommerce for non-ecommerce websites
 
The Lego Data Layer
The Lego Data LayerThe Lego Data Layer
The Lego Data Layer
 
A study of digital data about yourself - By Phil Pearce
A study of digital data about yourself - By Phil PearceA study of digital data about yourself - By Phil Pearce
A study of digital data about yourself - By Phil Pearce
 

Similar a Chi squared test for digital analytics

6 CVP anlysis NEW.pptx
6 CVP anlysis NEW.pptx6 CVP anlysis NEW.pptx
6 CVP anlysis NEW.pptxfadilaamalis
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square Test
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square TestJavier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square Test
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square TestJ. García - Verdugo
 
6 product specifications (1)
6 product specifications (1)6 product specifications (1)
6 product specifications (1)sadha sivam
 
6 product specifications
6 product specifications6 product specifications
6 product specificationssadha sivam
 
Analyze phase lean six sigma tollgate template
Analyze phase   lean six sigma tollgate templateAnalyze phase   lean six sigma tollgate template
Analyze phase lean six sigma tollgate templateSteven Bonacorsi
 
Analyze Phase Lean Six Sigma Tollgate Templates
Analyze Phase Lean Six Sigma Tollgate TemplatesAnalyze Phase Lean Six Sigma Tollgate Templates
Analyze Phase Lean Six Sigma Tollgate TemplatesSteven Bonacorsi
 
Convenience shoppingSTAT-S301Fall 2019Question Set 1.docx
Convenience shoppingSTAT-S301Fall 2019Question Set 1.docxConvenience shoppingSTAT-S301Fall 2019Question Set 1.docx
Convenience shoppingSTAT-S301Fall 2019Question Set 1.docxbobbywlane695641
 
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxWeek 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxmelbruce90096
 
Bis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-newBis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-newassignmentcloud85
 
Math 533 ( applied managerial statistics ) final exam answers
Math 533 ( applied managerial statistics ) final exam answersMath 533 ( applied managerial statistics ) final exam answers
Math 533 ( applied managerial statistics ) final exam answersPatrickrasacs
 
Workshop: Your first machine learning project
Workshop: Your first machine learning projectWorkshop: Your first machine learning project
Workshop: Your first machine learning projectAlex Austin
 
MATH 533 Education Specialist / snaptutorial.com
MATH 533 Education Specialist / snaptutorial.comMATH 533 Education Specialist / snaptutorial.com
MATH 533 Education Specialist / snaptutorial.comMcdonaldRyan97
 
ManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdfManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdfMierukoChan2
 
1. What is operations management Why is it important Is a good k.docx
1. What is operations management Why is it important Is a good k.docx1. What is operations management Why is it important Is a good k.docx
1. What is operations management Why is it important Is a good k.docxjackiewalcutt
 
Math 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseMath 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseBrittneDean
 
Math 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseMath 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseNathanielZaleski
 
Math 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseMath 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseDennisHine
 
MATH 533 RANK Achievement Education--math533rank.com
MATH 533 RANK Achievement Education--math533rank.comMATH 533 RANK Achievement Education--math533rank.com
MATH 533 RANK Achievement Education--math533rank.comkopiko162
 

Similar a Chi squared test for digital analytics (20)

6 CVP anlysis NEW.pptx
6 CVP anlysis NEW.pptx6 CVP anlysis NEW.pptx
6 CVP anlysis NEW.pptx
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square Test
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square TestJavier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square Test
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W2 Chi Square Test
 
Chap 5.ppt
Chap 5.pptChap 5.ppt
Chap 5.ppt
 
6 product specifications (1)
6 product specifications (1)6 product specifications (1)
6 product specifications (1)
 
6 product specifications
6 product specifications6 product specifications
6 product specifications
 
Analyze phase lean six sigma tollgate template
Analyze phase   lean six sigma tollgate templateAnalyze phase   lean six sigma tollgate template
Analyze phase lean six sigma tollgate template
 
Analyze Phase Lean Six Sigma Tollgate Templates
Analyze Phase Lean Six Sigma Tollgate TemplatesAnalyze Phase Lean Six Sigma Tollgate Templates
Analyze Phase Lean Six Sigma Tollgate Templates
 
Convenience shoppingSTAT-S301Fall 2019Question Set 1.docx
Convenience shoppingSTAT-S301Fall 2019Question Set 1.docxConvenience shoppingSTAT-S301Fall 2019Question Set 1.docx
Convenience shoppingSTAT-S301Fall 2019Question Set 1.docx
 
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docxWeek 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
Week 2 iLab TCO 2 — Given a simple problem, design a solutio.docx
 
Bis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-newBis 345-final-exam-guide-set-1-new
Bis 345-final-exam-guide-set-1-new
 
Math 533 ( applied managerial statistics ) final exam answers
Math 533 ( applied managerial statistics ) final exam answersMath 533 ( applied managerial statistics ) final exam answers
Math 533 ( applied managerial statistics ) final exam answers
 
DEC215 Statistics .docx
DEC215 Statistics                                               .docxDEC215 Statistics                                               .docx
DEC215 Statistics .docx
 
Workshop: Your first machine learning project
Workshop: Your first machine learning projectWorkshop: Your first machine learning project
Workshop: Your first machine learning project
 
MATH 533 Education Specialist / snaptutorial.com
MATH 533 Education Specialist / snaptutorial.comMATH 533 Education Specialist / snaptutorial.com
MATH 533 Education Specialist / snaptutorial.com
 
ManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdfManScie_Chapter1_Introduction (4).pdf
ManScie_Chapter1_Introduction (4).pdf
 
1. What is operations management Why is it important Is a good k.docx
1. What is operations management Why is it important Is a good k.docx1. What is operations management Why is it important Is a good k.docx
1. What is operations management Why is it important Is a good k.docx
 
Math 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseMath 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire course
 
Math 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseMath 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire course
 
Math 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire courseMath 533 ( applied managerial statistics ) entire course
Math 533 ( applied managerial statistics ) entire course
 
MATH 533 RANK Achievement Education--math533rank.com
MATH 533 RANK Achievement Education--math533rank.comMATH 533 RANK Achievement Education--math533rank.com
MATH 533 RANK Achievement Education--math533rank.com
 

Último

DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNKTimothy Spann
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
➥🔝 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
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...karishmasinghjnh
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...gajnagarg
 
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
 
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
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachBoston Institute of Analytics
 
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...Valters Lauzums
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...amitlee9823
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...amitlee9823
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...Elaine Werffeli
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...amitlee9823
 

Último (20)

DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
➥🔝 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...
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
Just Call Vip call girls Palakkad Escorts ☎️9352988975 Two shot with one girl...
 
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 ...
 
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...
 
Detecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning ApproachDetecting Credit Card Fraud: A Machine Learning Approach
Detecting Credit Card Fraud: A Machine Learning Approach
 
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...
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men  🔝Sambalpur🔝   Esc...
➥🔝 7737669865 🔝▻ Sambalpur Call-girls in Women Seeking Men 🔝Sambalpur🔝 Esc...
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
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
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men  🔝Ongole🔝   Escorts S...
➥🔝 7737669865 🔝▻ Ongole Call-girls in Women Seeking Men 🔝Ongole🔝 Escorts S...
 

Chi squared test for digital analytics

  • 1. Think stats: chi square test in digital analytics Chi-Square Test for independence FTW!!11one Pawel Kapuscinski pawel@databall.co @aliendeg
  • 2. Chi-square test use cases Is gender a factor in color preference of a car? Comparing the number of sales from the test experience vs the control experience (A/B test or A/B/n) Comparing sales revenues of each product before and after the change in strategy Is country a factor in pricing plan preference? Is weather a factor in sales of different products?
  • 3. Implementing the chi square test 1. Identify the two variables of interest from the data table 2. State hypothesis 3. Compute Margin summations 4. Build contingency table 5. Compute the observed chi-square value 6. Compare the observed value to critical value IMPORTANT: Requirements for chi squared test The variables under study are each categorical. If sample data are displayed in a
  • 4. Hypothesis testing steps 1. State null (H0) and alternative (H1) hypothesis 2. Choose level of significance 3. Find critical values 4. Find test statistic 5. Draw your conclusion
  • 6. Dataset - pricing plans sold across world Sold plans Professional Team Business Enterprise USA 1220 790 500 190 UK 950 590 200 120 Germany 880 420 320 70 Sweden 340 260 130 60 Belgium 290 190 110 80 Poland 910 290 190 40 Spain 250 320 220 50
  • 7. Hypothesis H0: Number of sales of each pricing plan is independent upon country H1: Number of sales of each pricing plan is dependent upon country
  • 8. Finding test statistics (manually, Excel and R) Find critical value (https://www.ma.utexas.edu/users/davis/375/popecol/tables/chisq.html) Compute Margin summations Summing rows and columns Build contingency table Compute the observed chi-square value
  • 10. R code df = data.frame(Prof= c(152,118,110,42,36,113,31), Team = c(98,73,52,32,23,36,40), Business = c(62,25,40,16,13,23,27), Enterprise = c(23,15,8,7,10,6,6)) chisq.test(df)
  • 11. Drawing conclusion We can reject hypothesis zero (H0) and accept H1. Number of sales of each pricing plan is dependent upon country
  • 13. Assignment / homework Transactions mobile desktop tablet Direct 3490028 538101 526095 Paid Search 1229227 214050 210811 Organic Search 862144 401720 193064 Referral 228352 129927 39693 Affiliates 38669 31947 12523 Email 35681 14284 6615 Social 9013 5196 2070 Display 231 171 47 (Other) 58 82 36

Notas del editor

  1. rejection region