# Understanding Aggregate COVID Curves

Posted 1 year ago
5056 Views
|
5 Replies
|
17 Total Likes
|
 MODERATOR NOTE: coronavirus resources & updates: https://wolfr.am/coronavirus
5 Replies
Sort By:
Posted 1 year ago
 Very nice deep dive into the data!I find it very curious that many of the national curves have very sharp, flat-topped "peaks" of about a week's duration. Do you know of an explanation for this feature? I suspect that they are reporting errors, and it would be useful to know their origin and appropriate data-cleaning techniques.I've been using ColorData for many years, and learned something new about it today: one can get the colors reversed directly with ColorData[{"RedBlueTones","Reversed"}][#]& 
Posted 1 year ago
 Yes, I assume those plateaus are reporting errors of some kind. There are also some negative ones, which are even more suspect.About the ColorFunction, you also might think that ColorData[{"RedBlueTones","Reversed"}][#]& is equivalent to ColorData[{"RedBlueTones","Reversed"}] but GeoRegionValuePlot will bin the data if you use the second, but not if you use the first. I think it is much more useful to look at the unbinned data, so I often wrote this weird ColorData[...][#]& construct. I believe there is going to be an option to get around this in a future version.
Posted 1 year ago
 Isn't that really a bug though? those should be equivalent no? ColorData[{"RedBlueTones","Reversed"}][#]&[0.3] would evaluate to: ColorData[{"RedBlueTones","Reversed"}][0.3] so then, they are the same?Unless ColorData[…] is recognized in some special way of course…
 If the ColorFunction is of the form ColorData[...] it processes it differently from generalized functions. They are equivalent in general, but GeoRegionValuePlot treats them differently.