SlideShare a Scribd company logo
1 of 3
To: Naomi Kelly From: Keith Li Memorandum
Subject: Analysis of crimes attempted at attractions in San Francisco
I. Top 5 Crimes Attemptedby Attractions
This memorandum is focusing on identifying major crimes occurredat various tourist
attractions, such as Pier 39, Chinatown, ATT Parkand Golden State Park, and the potential
correlations between crimes and several variables (day of a week and Baseball results).
To identify the increase and decrease in crimes occurrencerates, we suggest twomain ratios as
listed below:
ο‚· 𝑸 = π‘ͺπ’“π’Šπ’Žπ’†π’” π’‚π’•π’•π’†π’Žπ’‘π’•π’†π’… 𝒑𝒆𝒓 π’…π’‚π’š = π‘Ίπ’–π’Ž 𝒐𝒇 π‘ͺπ’“π’Šπ’Žπ’†π’” 𝑹𝒆𝒄𝒐𝒓𝒅𝒔 Γ·
π‘Ήπ’†π’π’‚π’•π’Šπ’—π’† 𝑻𝒐𝒕𝒂𝒍 π‘«π’‚π’šπ’”
ο‚· 𝑻 = π‘»π’Šπ’Žπ’† π’ƒπ’†π’•π’˜π’†π’†π’ π’•π’˜π’ π‘ͺπ’“π’Šπ’Žπ’†π’” π’‚π’•π’•π’†π’Žπ’‘π’•π’†π’… = π‘Ήπ’†π’π’‚π’•π’Šπ’—π’† 𝑻𝒐𝒕𝒂𝒍 π‘«π’‚π’šπ’” Γ·
π‘Ίπ’–π’Ž 𝒐𝒇 π‘ͺπ’“π’Šπ’Žπ’†π’” 𝑹𝒆𝒄𝒐𝒓𝒅𝒔
Q ratio identify the quantity of crimes happened per day while T ratio calculate the average
time between twocrimes. The higher the Q, the lowerthe T.
Besides that, we determine the crimes near the attraction by drawing a geographic box with
0.02 degree in latitude and 0.02 degree in longitude. We then select a time frame for each
attraction based on operation hours, culture, and baseball game times. Moreover, the cutting
points chosen forT is below 7 days. The results are identified below:
ο‚· Larceny/Theftisthe No.01
Crimesattemptedat all attractions.
On average,one theft occursevery
0.46 days.
ο‚· Assault,vandalismandburglary
have high attemptedrates at all four
areas.
ο‚· Drugs (𝑇 = 2.1 π‘‘π‘Žπ‘¦π‘ ) and
MissingPerson(𝑇 = 2.3 π‘‘π‘Žπ‘¦π‘ )
happened more frequentlyatGolden
State Park.
ο‚· Every5.2 days a thief attempts
to steal a vehicle atATT Park.
II. Crime Variance in one dayβ€”ATT Park
Our next step is to attempt to analyze the increase and decrease on T overthe time frame
chosen for each top crimes. The results for analyzing ATT Parks is showed as follow:
Results: The T for TheftCrime increases constantly, indicating that the occurrencerate decreases
constantly from6 P.M.to 12 A.M. Generally, more burglary and vehicle theft happen during the
nightfall period (6-8 pm) than midnight. On the contrary,Assault crime arises from6 pm to 12 am.
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
III. Win & Loss Effect
To better describe and better classify the criminal position around ATT park, it will be
reasonable to put the effectof baseball game (win/loss) into consideration. More data is
collectedfrom Baseball-reference.com1,asports data collectionwebsite. Data scraped and used
here includes game-by-game schedules and results for Giant’s 2010-2015 seasons.
Dates are divided into three categories, Winning (Home),Losing (Home) and Non-Home. We
first run an analysis for 2010 seasons (Note: only join with dates in our original crime data).
The results are shown below:
Results:It can be noticed that the time between two crimes increases for both the losing
nights and non-home-game nights, suggesting that the crime incidents per day decreases as
time goes on.
On the contrary, it is interesting to notice that, on winning nights, crimes incidents decrease
during the game time and then increases significantly after the game. That trends can be
used to allocate police resources more effectively.
The results need to be verifiedwith more data tested for 2011-2015 seasons.
1 http://www.baseball-reference.com/teams/SFG/2010-schedule-scores.shtml
http://www.baseball-reference.com/teams/SFG/2011-schedule-scores.shtml
Season: 2010
Time Period: 7/1-12/31
Types DAYS
WIN 24
LOSS 15
NON-HOME 145
Total 184

More Related Content

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
Β 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Β 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
Β 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
Β 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
Β 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
Β 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
Β 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
Β 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
Β 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Β 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
Β 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
Β 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
Β 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
Β 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
Β 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
Β 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
Β 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
Β 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Β 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
Β 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Β 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Β 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Β 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
Β 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Β 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Β 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Β 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
Β 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Β 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Β 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Β 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Β 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Β 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Β 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
Β 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Β 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Β 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
Β 

Keith_Li_San Francisco Crime Analysis

  • 1. To: Naomi Kelly From: Keith Li Memorandum Subject: Analysis of crimes attempted at attractions in San Francisco I. Top 5 Crimes Attemptedby Attractions This memorandum is focusing on identifying major crimes occurredat various tourist attractions, such as Pier 39, Chinatown, ATT Parkand Golden State Park, and the potential correlations between crimes and several variables (day of a week and Baseball results). To identify the increase and decrease in crimes occurrencerates, we suggest twomain ratios as listed below: ο‚· 𝑸 = π‘ͺπ’“π’Šπ’Žπ’†π’” π’‚π’•π’•π’†π’Žπ’‘π’•π’†π’… 𝒑𝒆𝒓 π’…π’‚π’š = π‘Ίπ’–π’Ž 𝒐𝒇 π‘ͺπ’“π’Šπ’Žπ’†π’” 𝑹𝒆𝒄𝒐𝒓𝒅𝒔 Γ· π‘Ήπ’†π’π’‚π’•π’Šπ’—π’† 𝑻𝒐𝒕𝒂𝒍 π‘«π’‚π’šπ’” ο‚· 𝑻 = π‘»π’Šπ’Žπ’† π’ƒπ’†π’•π’˜π’†π’†π’ π’•π’˜π’ π‘ͺπ’“π’Šπ’Žπ’†π’” π’‚π’•π’•π’†π’Žπ’‘π’•π’†π’… = π‘Ήπ’†π’π’‚π’•π’Šπ’—π’† 𝑻𝒐𝒕𝒂𝒍 π‘«π’‚π’šπ’” Γ· π‘Ίπ’–π’Ž 𝒐𝒇 π‘ͺπ’“π’Šπ’Žπ’†π’” 𝑹𝒆𝒄𝒐𝒓𝒅𝒔 Q ratio identify the quantity of crimes happened per day while T ratio calculate the average time between twocrimes. The higher the Q, the lowerthe T. Besides that, we determine the crimes near the attraction by drawing a geographic box with 0.02 degree in latitude and 0.02 degree in longitude. We then select a time frame for each attraction based on operation hours, culture, and baseball game times. Moreover, the cutting points chosen forT is below 7 days. The results are identified below: ο‚· Larceny/Theftisthe No.01 Crimesattemptedat all attractions. On average,one theft occursevery 0.46 days. ο‚· Assault,vandalismandburglary have high attemptedrates at all four areas. ο‚· Drugs (𝑇 = 2.1 π‘‘π‘Žπ‘¦π‘ ) and MissingPerson(𝑇 = 2.3 π‘‘π‘Žπ‘¦π‘ ) happened more frequentlyatGolden State Park. ο‚· Every5.2 days a thief attempts to steal a vehicle atATT Park. II. Crime Variance in one dayβ€”ATT Park Our next step is to attempt to analyze the increase and decrease on T overthe time frame chosen for each top crimes. The results for analyzing ATT Parks is showed as follow:
  • 2. Results: The T for TheftCrime increases constantly, indicating that the occurrencerate decreases constantly from6 P.M.to 12 A.M. Generally, more burglary and vehicle theft happen during the nightfall period (6-8 pm) than midnight. On the contrary,Assault crime arises from6 pm to 12 am. Sunday Monday Tuesday Wednesday Thursday Friday Saturday
  • 3. III. Win & Loss Effect To better describe and better classify the criminal position around ATT park, it will be reasonable to put the effectof baseball game (win/loss) into consideration. More data is collectedfrom Baseball-reference.com1,asports data collectionwebsite. Data scraped and used here includes game-by-game schedules and results for Giant’s 2010-2015 seasons. Dates are divided into three categories, Winning (Home),Losing (Home) and Non-Home. We first run an analysis for 2010 seasons (Note: only join with dates in our original crime data). The results are shown below: Results:It can be noticed that the time between two crimes increases for both the losing nights and non-home-game nights, suggesting that the crime incidents per day decreases as time goes on. On the contrary, it is interesting to notice that, on winning nights, crimes incidents decrease during the game time and then increases significantly after the game. That trends can be used to allocate police resources more effectively. The results need to be verifiedwith more data tested for 2011-2015 seasons. 1 http://www.baseball-reference.com/teams/SFG/2010-schedule-scores.shtml http://www.baseball-reference.com/teams/SFG/2011-schedule-scores.shtml Season: 2010 Time Period: 7/1-12/31 Types DAYS WIN 24 LOSS 15 NON-HOME 145 Total 184