You are an analyst for Initech Analytica (IA), a nefarious policy research company. IA has been hired by the Oat Milk Advocacy Group to create a misinformation campaign against the dairy industry. In the notes for this unit, I gave an example of lying with scatter plots using a spurious correlation between mozzarella and deaths by poisoning. Your assignment is to create a similar chart selecting a different variety of cheese (i.e., you may not use mozzarella).
Your assignment must contain the following elements:
A scatter plot that shows the relationship between a non-mozzarella cheese and an “injury intent” with a correlation coefficient greater than 0.8. (60 points, 40 points if less than or equal to 0.8 ) A trend line or other smoother. (10 points ) An intentionally misleading title. (10 points ) No warnings or messages displayed. (10 points ) No typos. (10 points )
## Rows: 24
## Columns: 8
## $ year <dbl> 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,…
## $ cheddar <dbl> 9.04, 9.19, 9.51, 9.60, 10.01, 9.87, 9.89, 9.76, 9.38, 10.2…
## $ swiss <dbl> 1.09, 1.07, 0.99, 1.01, 1.09, 1.02, 1.12, 1.09, 1.13, 1.20,…
## $ blue <dbl> 0.16, 0.17, 0.18, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, N…
## $ brick <dbl> 0.04, 0.04, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03,…
## $ muenster <dbl> 0.41, 0.39, 0.37, 0.34, 0.28, 0.30, 0.28, 0.28, 0.27, 0.25,…
## $ neufchatel <dbl> 2.04, 2.11, 2.25, 2.20, 2.26, 2.39, 2.21, 2.33, 2.30, 2.34,…
## $ hispanic <dbl> NA, 0.25, 0.25, 0.27, 0.30, 0.33, 0.37, 0.42, 0.45, 0.48, 0…
## Rows: 98,280
## Columns: 17
## $ Year <dbl> 2016, 2015, 2014, 2013, 201…
## $ Sex <chr> "Both sexes", "Both sexes",…
## $ `Age group (years)` <chr> "All Ages", "All Ages", "Al…
## $ Race <chr> "All races", "All races", "…
## $ `Injury mechanism` <chr> "All Mechanisms", "All Mech…
## $ `Injury intent` <chr> "All Intentions", "All Inte…
## $ Deaths <dbl> 231991, 214008, 199752, 192…
## $ Population <dbl> 323127513, 321418820, 31885…
## $ `Age Specific Rate` <dbl> 71.795496, 66.582287, 62.64…
## $ `Age Specific Rate Standard Error` <dbl> 0.1490602, 0.1439275, 0.140…
## $ `Age Specific Rate Lower Confidence Limit` <dbl> 71.503338, 66.300189, 62.37…
## $ `Age Specific Rate Upper Confidence Limit` <dbl> 72.087654, 66.864384, 62.92…
## $ `Age Adjusted Rate` <dbl> 68.98224, 63.86611, 60.1272…
## $ `Age Adjusted Rate Standard Error` <dbl> 0.1460097, 0.1405070, 0.136…
## $ `Age Adjusted Rate Lower Confidence Limit` <dbl> 68.69606, 63.59072, 59.8592…
## $ `Age Adjusted Rate Upper Confidence Limit` <dbl> 69.26842, 64.14151, 60.3952…
## $ Unit <chr> "per 100,000 population", "…
## year Unintentional Suicide Homicide
## year 1.0000000 0.93714079 0.98933826 -0.23023632
## Unintentional 0.9371408 1.00000000 0.93045853 0.02860829
## Suicide 0.9893383 0.93045853 1.00000000 -0.23414469
## Homicide -0.2302363 0.02860829 -0.23414469 1.00000000
## Undetermined 0.5330230 0.65625952 0.46409753 0.28688435
## Legal intervention/war 0.8400371 0.83474497 0.86029722 -0.11764121
## cheddar 0.1184547 0.28556071 0.07993685 0.40353823
## swiss -0.2728961 -0.21104305 -0.37383083 0.30115909
## blue NA NA NA NA
## brick -0.5537756 -0.66446405 -0.58043467 -0.11323212
## muenster 0.9256053 0.86434680 0.95555102 -0.25343850
## neufchatel 0.5951581 0.73140304 0.56720557 0.13750275
## hispanic 0.9724835 0.90414385 0.93136149 -0.21529392
## Undetermined Legal intervention/war cheddar
## year 0.5330230 0.8400371 0.11845475
## Unintentional 0.6562595 0.8347450 0.28556071
## Suicide 0.4640975 0.8602972 0.07993685
## Homicide 0.2868843 -0.1176412 0.40353823
## Undetermined 1.0000000 0.3248518 0.37233536
## Legal intervention/war 0.3248518 1.0000000 -0.10806485
## cheddar 0.3723354 -0.1080649 1.00000000
## swiss 0.3833953 -0.3948131 0.36440743
## blue NA NA NA
## brick -0.3946106 -0.3204917 -0.43079658
## muenster 0.2930508 0.8720061 -0.01300016
## neufchatel 0.5403603 0.5148627 0.48400345
## hispanic 0.6294393 0.7591338 0.17554643
## swiss blue brick muenster neufchatel
## year -0.27289609 NA -0.5537756 0.92560533 0.5951581
## Unintentional -0.21104305 NA -0.6644641 0.86434680 0.7314030
## Suicide -0.37383083 NA -0.5804347 0.95555102 0.5672056
## Homicide 0.30115909 NA -0.1132321 -0.25343850 0.1375028
## Undetermined 0.38339535 NA -0.3946106 0.29305080 0.5403603
## Legal intervention/war -0.39481312 NA -0.3204917 0.87200611 0.5148627
## cheddar 0.36440743 NA -0.4307966 -0.01300016 0.4840034
## swiss 1.00000000 NA 0.2432531 -0.55622176 -0.1970470
## blue NA 1 NA NA NA
## brick 0.24325311 NA 1.0000000 -0.52287922 -0.5641413
## muenster -0.55622176 NA -0.5228792 1.00000000 0.5468760
## neufchatel -0.19704696 NA -0.5641413 0.54687599 1.0000000
## hispanic -0.07832513 NA -0.4987780 0.83568947 0.5741243
## hispanic
## year 0.97248346
## Unintentional 0.90414385
## Suicide 0.93136149
## Homicide -0.21529392
## Undetermined 0.62943926
## Legal intervention/war 0.75913376
## cheddar 0.17554643
## swiss -0.07832513
## blue NA
## brick -0.49877799
## muenster 0.83568947
## neufchatel 0.57412432
## hispanic 1.00000000