SlideShare a Scribd company logo
Increasing Reporting
        Value with Statistics




              Safe Harbor
I've always said to anyone that will listen to me
(which is not very many) that software is an art
form. It attracts artists.
Just look at any software company and the
amount of musicians, artists, carpenters, etc…
working there that create code for a living and
create other things in their down time.
 - Steve Lacey




                                                    1
Statistics is the study of the collection,
organization, analysis, and interpretation
of data. It deals with all aspects of this,
including the planning of data collection
in terms of the design of surveys and
experiments.

                  - From wikipedia, the free encyclopedia




Why is this important
                                  e
 4 out                      s cal
         o
d e n ti f 5          On a 10…
        sts…                to
                       o f1
                               Lead
      Data                     Scorin
                                      g
      quality
      indicator




                                                            2
salesforce
 •   Lead Scoring
 •   Contact Scoring
 •   Data Quality Indicators
 •   Deal sizes
 •   Wait times
 •   Call volume
 •   New customers
 •   …….




             Statistics 101
• Analysis of information
     –   Sum
     –   Average      available in
     –   Minimum      salesforce
     –   Maximum
• Distribution
     – Normal
     – Skewed
     – Standard Deviation




                                     3
Normal Distribution




     Skewed




                      4
HELP!!!




              Lead Scoring
•   e-mail – 10 points
•   Company size, industry – 10 points
•   Location – 10, 20 or 30 points
•   Phone – 30 points
•   Lead source – 5–15 points
•   Other information – 5-15 points
•   Job title – 15 points

• What is a good score?




                                         5
Analysis of lead scores
• 1000 leads per week

• Who are my top 10%?

• Data quality – bottom 20%

• How do I know who to follow-up with?




           I have an Idea !




                                         6
1000 leads…

  • 700 leads about average

  • 125 leads above average

  • 25-30 leads top tier




How do we do this in salesforce?
 • Lead Object
   – Add a scoring process / field
   – Add ranking
   – Create a queue
 • Campaign
   – Add lead count / average
   – Add standard deviation - NEW
   – Triggers to update campaign (or lead)
     statistics




                                             7
Standard Deviation
 • Measurement of difference between
   the average and each observation

 • There are some limitations

 • Not natively calculated by salesforce




         Let’s make this easy
• Deviation = the “difference between observation
  and average” = lead score – campaign average


• Sum of expected squared deviation


• Take the average




                                                    8
APEX Code
leadData = [Select id, TV_points__c from Lead where campaign__c =:cmpang.Id];

    for (Lead l:leadData) {
        lCount ++;
        lValue += l.TV_points__c;
     }
     if (lCount > 1) {
          lAverage = lValue / lCount;

         for (Lead l:leadData) {
            lVariance = (l.TV_points__c - lAverage);
            lVarTot += lVariance * lVariance;
          }
         lVarAvg = lVarTot / (lCount - 1);
*
*
*




      Approximate the square root


                                        lVarAvg




                                                                                9
Approximate the square root


                       lVarAvg

        Use interval halving




Square root of 10 = 3.1623
        min     max     half    estimate   max –
                                           half
   1    0       10      5       25         5
   2    0       5       2.5     6.25       2.5
   3    2.50    5       3.75    14.06      1.25
   4    2.50    3.75    3.125   9.77       .62
   5    3.125   3.750   3.438   11.82      .31
   6    3.125   3.438   3.281   10.77      .16
   7    3.125   3.281   3.203   10.26      .08
   8    3.125   3.203   3.164   10.01      .04
   9    3.125   3.164   3.145   9.89       .02
   10   3.145   3.164   3.154   9.95       .01
   11   3.154   3.164   3.160   9.99       .004
   12   3.160   3.164   3.162   10.00      .002




                                                   10
APEX Code, cont
 sMin = 0;
 sMax = lAverage;
 stdDev = (sMin + sMax) / 2 ;

 while (sMax - stdDev > .01) {
   if (stdDev * stdDev > lVarAvg) {
       sMax=stdDev;
   } else {
       sMin=stdDev;
   }
   stdDev = (sMin + sMax) / 2 ;
 }




                   Wrap it up
• Average = lAverage
• Standard Deviation = stdDev

• Above Average = lAverage + stdDev

• Top Tier = lAverage + 2 * stdDev




                                      11
Next Steps
• Use a lead trigger?
  or
• A campaign trigger?

• Create the business rules and queue(s)

• Don’t forget the 70%




                                           12
Questions?

   Mike Melnick

mikem@asktwice.com

   770-329-3664




                     13
Ad

More Related Content

Similar to Increasing reporting value with statistics (20)

Forecasting Revenue With Stationary Time Series Models
Forecasting Revenue With Stationary Time Series ModelsForecasting Revenue With Stationary Time Series Models
Forecasting Revenue With Stationary Time Series Models
Geoffery Mullings
 
What are the odds of making that number risk analysis with crystal ball - O...
What are the odds of making that number   risk analysis with crystal ball - O...What are the odds of making that number   risk analysis with crystal ball - O...
What are the odds of making that number risk analysis with crystal ball - O...
p6academy
 
Zuora CFO Roundtable - Vancouver | Dec 9
Zuora CFO Roundtable - Vancouver | Dec 9Zuora CFO Roundtable - Vancouver | Dec 9
Zuora CFO Roundtable - Vancouver | Dec 9
Zuora, Inc.
 
Improving Findability through Site Search Analytics
Improving Findability through Site Search AnalyticsImproving Findability through Site Search Analytics
Improving Findability through Site Search Analytics
Louis Rosenfeld
 
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in MicroservicesLife Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Sean Chittenden
 
Agile Metrics - Modeling, Simulation, and Data Mining
Agile Metrics - Modeling, Simulation, and Data MiningAgile Metrics - Modeling, Simulation, and Data Mining
Agile Metrics - Modeling, Simulation, and Data Mining
Rally Software
 
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Troy Magennis
 
Modeling, simulation & data mining agile 2012 (magennis & maccherone)
Modeling, simulation & data mining   agile 2012 (magennis & maccherone)Modeling, simulation & data mining   agile 2012 (magennis & maccherone)
Modeling, simulation & data mining agile 2012 (magennis & maccherone)
drewz lin
 
PAC 2020 Santorin - Andreas Grabner
PAC 2020 Santorin - Andreas Grabner PAC 2020 Santorin - Andreas Grabner
PAC 2020 Santorin - Andreas Grabner
Neotys
 
BIIntro.ppt
BIIntro.pptBIIntro.ppt
BIIntro.ppt
PerumalPitchandi
 
BIIntroduction. on business intelligenceppt
BIIntroduction. on business intelligencepptBIIntroduction. on business intelligenceppt
BIIntroduction. on business intelligenceppt
ShivaniSharma335055
 
How to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeHow to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on Snowflake
AtScale
 
Introduction to Six Sigma (Basic)
Introduction to Six Sigma (Basic)Introduction to Six Sigma (Basic)
Introduction to Six Sigma (Basic)
Narendra Narendra
 
How Leaders See Data? (Level 1)
How Leaders See Data? (Level 1)How Leaders See Data? (Level 1)
How Leaders See Data? (Level 1)
Narendra Narendra
 
desai_wharton2002
desai_wharton2002desai_wharton2002
desai_wharton2002
Vijay Desai
 
Tips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitionsTips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitions
Darius Barušauskas
 
SQLBits Module 2 RStats Introduction to R and Statistics
SQLBits Module 2 RStats Introduction to R and StatisticsSQLBits Module 2 RStats Introduction to R and Statistics
SQLBits Module 2 RStats Introduction to R and Statistics
Jen Stirrup
 
Eleventy Marketing Intelligence presentation
Eleventy Marketing Intelligence presentationEleventy Marketing Intelligence presentation
Eleventy Marketing Intelligence presentation
Jeff Birkner
 
미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가
미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가
미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가
JaeCheolKim10
 
LTV Predictions: How do real-life companies use them & what can you learn fro...
LTV Predictions: How do real-life companies use them & what can you learn fro...LTV Predictions: How do real-life companies use them & what can you learn fro...
LTV Predictions: How do real-life companies use them & what can you learn fro...
AppAgent / Strategic & Creative Mobile Marketing Agency
 
Forecasting Revenue With Stationary Time Series Models
Forecasting Revenue With Stationary Time Series ModelsForecasting Revenue With Stationary Time Series Models
Forecasting Revenue With Stationary Time Series Models
Geoffery Mullings
 
What are the odds of making that number risk analysis with crystal ball - O...
What are the odds of making that number   risk analysis with crystal ball - O...What are the odds of making that number   risk analysis with crystal ball - O...
What are the odds of making that number risk analysis with crystal ball - O...
p6academy
 
Zuora CFO Roundtable - Vancouver | Dec 9
Zuora CFO Roundtable - Vancouver | Dec 9Zuora CFO Roundtable - Vancouver | Dec 9
Zuora CFO Roundtable - Vancouver | Dec 9
Zuora, Inc.
 
Improving Findability through Site Search Analytics
Improving Findability through Site Search AnalyticsImproving Findability through Site Search Analytics
Improving Findability through Site Search Analytics
Louis Rosenfeld
 
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in MicroservicesLife Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Life Cycle of Metrics, Alerting, and Performance Monitoring in Microservices
Sean Chittenden
 
Agile Metrics - Modeling, Simulation, and Data Mining
Agile Metrics - Modeling, Simulation, and Data MiningAgile Metrics - Modeling, Simulation, and Data Mining
Agile Metrics - Modeling, Simulation, and Data Mining
Rally Software
 
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Modeling, simulation & data mining: Answering Tough Executive Questions (Agil...
Troy Magennis
 
Modeling, simulation & data mining agile 2012 (magennis & maccherone)
Modeling, simulation & data mining   agile 2012 (magennis & maccherone)Modeling, simulation & data mining   agile 2012 (magennis & maccherone)
Modeling, simulation & data mining agile 2012 (magennis & maccherone)
drewz lin
 
PAC 2020 Santorin - Andreas Grabner
PAC 2020 Santorin - Andreas Grabner PAC 2020 Santorin - Andreas Grabner
PAC 2020 Santorin - Andreas Grabner
Neotys
 
BIIntroduction. on business intelligenceppt
BIIntroduction. on business intelligencepptBIIntroduction. on business intelligenceppt
BIIntroduction. on business intelligenceppt
ShivaniSharma335055
 
How to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeHow to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on Snowflake
AtScale
 
Introduction to Six Sigma (Basic)
Introduction to Six Sigma (Basic)Introduction to Six Sigma (Basic)
Introduction to Six Sigma (Basic)
Narendra Narendra
 
How Leaders See Data? (Level 1)
How Leaders See Data? (Level 1)How Leaders See Data? (Level 1)
How Leaders See Data? (Level 1)
Narendra Narendra
 
desai_wharton2002
desai_wharton2002desai_wharton2002
desai_wharton2002
Vijay Desai
 
Tips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitionsTips and tricks to win kaggle data science competitions
Tips and tricks to win kaggle data science competitions
Darius Barušauskas
 
SQLBits Module 2 RStats Introduction to R and Statistics
SQLBits Module 2 RStats Introduction to R and StatisticsSQLBits Module 2 RStats Introduction to R and Statistics
SQLBits Module 2 RStats Introduction to R and Statistics
Jen Stirrup
 
Eleventy Marketing Intelligence presentation
Eleventy Marketing Intelligence presentationEleventy Marketing Intelligence presentation
Eleventy Marketing Intelligence presentation
Jeff Birkner
 
미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가
미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가
미움 받을 용기 : 저 팀은 뭘 안다고 추천한다고 들쑤시고 다니는건가
JaeCheolKim10
 

More from vraopolisetti (17)

Concurforce - Atlanta ASUG Presentation
Concurforce - Atlanta ASUG PresentationConcurforce - Atlanta ASUG Presentation
Concurforce - Atlanta ASUG Presentation
vraopolisetti
 
Salesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUGSalesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUG
vraopolisetti
 
Salesforce Adoption and Best Practices
Salesforce Adoption and Best PracticesSalesforce Adoption and Best Practices
Salesforce Adoption and Best Practices
vraopolisetti
 
Take Your Sales Pipeline Reporting to the Next Level 05-30-2012
Take Your Sales Pipeline Reporting to the Next Level   05-30-2012Take Your Sales Pipeline Reporting to the Next Level   05-30-2012
Take Your Sales Pipeline Reporting to the Next Level 05-30-2012
vraopolisetti
 
Getting your data into salesforce 5 30-2012
Getting your data into salesforce 5 30-2012Getting your data into salesforce 5 30-2012
Getting your data into salesforce 5 30-2012
vraopolisetti
 
Earning certifications efficiently 5.30.12 atlanta user group
Earning certifications efficiently 5.30.12 atlanta user groupEarning certifications efficiently 5.30.12 atlanta user group
Earning certifications efficiently 5.30.12 atlanta user group
vraopolisetti
 
Atlanta Salesforce UG Meeting 2/23/2011 Symplified
Atlanta Salesforce UG Meeting 2/23/2011 SymplifiedAtlanta Salesforce UG Meeting 2/23/2011 Symplified
Atlanta Salesforce UG Meeting 2/23/2011 Symplified
vraopolisetti
 
Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12)
Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12) Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12)
Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12)
vraopolisetti
 
Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11
vraopolisetti
 
building an app exchange app
building an app exchange appbuilding an app exchange app
building an app exchange app
vraopolisetti
 
Flow presentation
Flow presentationFlow presentation
Flow presentation
vraopolisetti
 
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
vraopolisetti
 
Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce
vraopolisetti
 
Build Amazing Website without coding using Salesforce SiteForce
Build Amazing Website without coding using Salesforce SiteForceBuild Amazing Website without coding using Salesforce SiteForce
Build Amazing Website without coding using Salesforce SiteForce
vraopolisetti
 
Configuration tips
Configuration tipsConfiguration tips
Configuration tips
vraopolisetti
 
Apttus atlanta sfdc user group pres feb 2011
Apttus atlanta sfdc user group pres feb 2011Apttus atlanta sfdc user group pres feb 2011
Apttus atlanta sfdc user group pres feb 2011
vraopolisetti
 
Marketing operations and resource management with salesforcecom
Marketing operations and resource management with salesforcecomMarketing operations and resource management with salesforcecom
Marketing operations and resource management with salesforcecom
vraopolisetti
 
Concurforce - Atlanta ASUG Presentation
Concurforce - Atlanta ASUG PresentationConcurforce - Atlanta ASUG Presentation
Concurforce - Atlanta ASUG Presentation
vraopolisetti
 
Salesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUGSalesforce Batch processing - Atlanta SFUG
Salesforce Batch processing - Atlanta SFUG
vraopolisetti
 
Salesforce Adoption and Best Practices
Salesforce Adoption and Best PracticesSalesforce Adoption and Best Practices
Salesforce Adoption and Best Practices
vraopolisetti
 
Take Your Sales Pipeline Reporting to the Next Level 05-30-2012
Take Your Sales Pipeline Reporting to the Next Level   05-30-2012Take Your Sales Pipeline Reporting to the Next Level   05-30-2012
Take Your Sales Pipeline Reporting to the Next Level 05-30-2012
vraopolisetti
 
Getting your data into salesforce 5 30-2012
Getting your data into salesforce 5 30-2012Getting your data into salesforce 5 30-2012
Getting your data into salesforce 5 30-2012
vraopolisetti
 
Earning certifications efficiently 5.30.12 atlanta user group
Earning certifications efficiently 5.30.12 atlanta user groupEarning certifications efficiently 5.30.12 atlanta user group
Earning certifications efficiently 5.30.12 atlanta user group
vraopolisetti
 
Atlanta Salesforce UG Meeting 2/23/2011 Symplified
Atlanta Salesforce UG Meeting 2/23/2011 SymplifiedAtlanta Salesforce UG Meeting 2/23/2011 Symplified
Atlanta Salesforce UG Meeting 2/23/2011 Symplified
vraopolisetti
 
Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12)
Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12) Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12)
Atlanta Salesforce UG 2/23/2012: Release overview deck (spring '12)
vraopolisetti
 
Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11
vraopolisetti
 
building an app exchange app
building an app exchange appbuilding an app exchange app
building an app exchange app
vraopolisetti
 
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
Who Sees What When? Using Dynamic Sharing Rules To Manage Access To Records
vraopolisetti
 
Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce
vraopolisetti
 
Build Amazing Website without coding using Salesforce SiteForce
Build Amazing Website without coding using Salesforce SiteForceBuild Amazing Website without coding using Salesforce SiteForce
Build Amazing Website without coding using Salesforce SiteForce
vraopolisetti
 
Apttus atlanta sfdc user group pres feb 2011
Apttus atlanta sfdc user group pres feb 2011Apttus atlanta sfdc user group pres feb 2011
Apttus atlanta sfdc user group pres feb 2011
vraopolisetti
 
Marketing operations and resource management with salesforcecom
Marketing operations and resource management with salesforcecomMarketing operations and resource management with salesforcecom
Marketing operations and resource management with salesforcecom
vraopolisetti
 
Ad

Recently uploaded (20)

Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACYUNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
DR.PRISCILLA MARY J
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Michelle Rumley & Mairéad Mooney, Boole Library, University College Cork. Tra...
Library Association of Ireland
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACYUNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
UNIT 3 NATIONAL HEALTH PROGRAMMEE. SOCIAL AND PREVENTIVE PHARMACY
DR.PRISCILLA MARY J
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Ad

Increasing reporting value with statistics

  • 1. Increasing Reporting Value with Statistics Safe Harbor I've always said to anyone that will listen to me (which is not very many) that software is an art form. It attracts artists. Just look at any software company and the amount of musicians, artists, carpenters, etc… working there that create code for a living and create other things in their down time. - Steve Lacey 1
  • 2. Statistics is the study of the collection, organization, analysis, and interpretation of data. It deals with all aspects of this, including the planning of data collection in terms of the design of surveys and experiments. - From wikipedia, the free encyclopedia Why is this important e 4 out s cal o d e n ti f 5 On a 10… sts… to o f1 Lead Data Scorin g quality indicator 2
  • 3. salesforce • Lead Scoring • Contact Scoring • Data Quality Indicators • Deal sizes • Wait times • Call volume • New customers • ……. Statistics 101 • Analysis of information – Sum – Average available in – Minimum salesforce – Maximum • Distribution – Normal – Skewed – Standard Deviation 3
  • 5. HELP!!! Lead Scoring • e-mail – 10 points • Company size, industry – 10 points • Location – 10, 20 or 30 points • Phone – 30 points • Lead source – 5–15 points • Other information – 5-15 points • Job title – 15 points • What is a good score? 5
  • 6. Analysis of lead scores • 1000 leads per week • Who are my top 10%? • Data quality – bottom 20% • How do I know who to follow-up with? I have an Idea ! 6
  • 7. 1000 leads… • 700 leads about average • 125 leads above average • 25-30 leads top tier How do we do this in salesforce? • Lead Object – Add a scoring process / field – Add ranking – Create a queue • Campaign – Add lead count / average – Add standard deviation - NEW – Triggers to update campaign (or lead) statistics 7
  • 8. Standard Deviation • Measurement of difference between the average and each observation • There are some limitations • Not natively calculated by salesforce Let’s make this easy • Deviation = the “difference between observation and average” = lead score – campaign average • Sum of expected squared deviation • Take the average 8
  • 9. APEX Code leadData = [Select id, TV_points__c from Lead where campaign__c =:cmpang.Id]; for (Lead l:leadData) { lCount ++; lValue += l.TV_points__c; } if (lCount > 1) { lAverage = lValue / lCount; for (Lead l:leadData) { lVariance = (l.TV_points__c - lAverage); lVarTot += lVariance * lVariance; } lVarAvg = lVarTot / (lCount - 1); * * * Approximate the square root lVarAvg 9
  • 10. Approximate the square root lVarAvg Use interval halving Square root of 10 = 3.1623 min max half estimate max – half 1 0 10 5 25 5 2 0 5 2.5 6.25 2.5 3 2.50 5 3.75 14.06 1.25 4 2.50 3.75 3.125 9.77 .62 5 3.125 3.750 3.438 11.82 .31 6 3.125 3.438 3.281 10.77 .16 7 3.125 3.281 3.203 10.26 .08 8 3.125 3.203 3.164 10.01 .04 9 3.125 3.164 3.145 9.89 .02 10 3.145 3.164 3.154 9.95 .01 11 3.154 3.164 3.160 9.99 .004 12 3.160 3.164 3.162 10.00 .002 10
  • 11. APEX Code, cont sMin = 0; sMax = lAverage; stdDev = (sMin + sMax) / 2 ; while (sMax - stdDev > .01) { if (stdDev * stdDev > lVarAvg) { sMax=stdDev; } else { sMin=stdDev; } stdDev = (sMin + sMax) / 2 ; } Wrap it up • Average = lAverage • Standard Deviation = stdDev • Above Average = lAverage + stdDev • Top Tier = lAverage + 2 * stdDev 11
  • 12. Next Steps • Use a lead trigger? or • A campaign trigger? • Create the business rules and queue(s) • Don’t forget the 70% 12
  • 13. Questions? Mike Melnick [email protected] 770-329-3664 13