Thread : this is going to be my penultimate post on Swedish mortality & covid. After SCB's next update, Jan 18th, we can consider the prel. numbers for all cause mortality 2020 fully stable, and I will then do a final update. What follows below, is still subject to minor updates.

2/n: To get ahead of media, who no doubt any hour now will report "Sweden has highest number of deaths since 1918!", here's what the absolute deaths deaths look like:
3/n: So expect media headlines painting Sweden as "The World's Cautionary Tale". However, with a little bit of thought and analysis, we might reach different conclusions... Let's first take population size into account:
4/n: when adjusting for population, 2020 as we speak (remember, the numbers are not fully finalized yet) has mortality on par with 2015. Can you spot the two outliers...? (hint: 2020 is not one of them).
5/n: As I've mentioned earlier, it's not enough to adjust for population - different years have quite different demographics in terms of age. So we need to take that into account, by adjusting for age:
6/n: Another way we can illustrate the importance of age is by looking at the proportion of deaths - actually: the proportion survivors - in a number of age intervals (I'm using only 4 age intervals, since that's how the SCB prel data are presented): Can you spot the outlier...?
7/n: Finally, let's look at one of those very popular Linear Regression models for Swedish deaths: first, non-age-adj. mortality 2010-2020 : can you spot any outliers...?
8/8: And lastly, a Linear Regression for age-adj mortality: again, can you spot any outliers...?

As mentioned, in a week, I'll do one more posting. After that, I'm off Twitter & most other social media.
@threadreaderapp unroll, pls.

More from For later read

You May Also Like

महाभारत की कहानी कौन नहीं जानता।लेकिन क्या आपको पता है कि महाभारत के ज्यादातर पात्र किसी न किसी श्राप में फंसे थे।अगर ये श्राप न होते तो कदाचित महाभारत की कहानी कुछ और होती।हिन्दु पौराणिक ग्रंथों में विभिन्न श्रापों का वर्णन मिलता है व हर श्राप के पीछे कोई कहानी अवश्य होती है।


आइए आज जानते हैं महाभारत कथा में वर्णित कुछ श्रापों के बारे में।

1) राजा पाण्डु को ऋषि किन्दम का श्राप

एकबार महाराज पाण्डु शिकार खेलने वन गए।झाडियों के पीछे कुछ हिल रहा था। मृग है सोचकर राजा ने बाण चलाया जो जाकर ऋषि किन्दम और उनकी पत्नी को लगा।वे दोनो रति-क्रीड़ा में लिप्त थे।

जब राजा ने उन्हें देखा तो बहुत दुखी हुए कि ये मुझसे क्या पाप हो गया।बहुत क्षमा याचना के बाद भी किन्दम ऋषि ने पाण्डु को श्राप दे दिया कि जब भी वो किसी स्त्री को काम भावना से स्पर्श करेंगे उसी क्षण उनकी मृत्यु हो जाएगी।पश्चाताप करने, वे सिंहासन पे अन्धे राजा धृतराष्ट्र को बैठाकर...


..स्वयं अपनी रानियों कुंती व माद्री के साथ वन चले गए।पांडवों का जन्म भी कुंती को ऋषि दुर्वासा द्वारा दिए गए मंत्र से हुआ था जिसमे किसी भी देव का स्मरण कर उस देव से कुंती,पुत्र प्राप्त कर सकती थी।एक बार माद्री पे मोहित हो जब पांडु ने उसे स्पर्श किया,उसी क्षण पांडु की मृत्यु होगयी।


2) उर्वशी का अर्जुन को श्राप

महाभारत युद्ध से पहले जब अर्जुन दिव्यास्त्र प्राप्त करने स्वर्ग गए तो वहां उर्वशी नाम की अप्सरा उन पर मोहित हो गयी। अर्जुन ने जब उन्हें अपनी माता के समान बताया तो यह सुनकर उर्वशी क्रोधित हो गयी और अर्जुन को श्राप दे डाला कि तुम नपुंसक की भांति...
A brief analysis and comparison of the CSS for Twitter's PWA vs Twitter's legacy desktop website. The difference is dramatic and I'll touch on some reasons why.

Legacy site *downloads* ~630 KB CSS per theme and writing direction.

6,769 rules
9,252 selectors
16.7k declarations
3,370 unique declarations
44 media queries
36 unique colors
50 unique background colors
46 unique font sizes
39 unique z-indices

https://t.co/qyl4Bt1i5x


PWA *incrementally generates* ~30 KB CSS that handles all themes and writing directions.

735 rules
740 selectors
757 declarations
730 unique declarations
0 media queries
11 unique colors
32 unique background colors
15 unique font sizes
7 unique z-indices

https://t.co/w7oNG5KUkJ


The legacy site's CSS is what happens when hundreds of people directly write CSS over many years. Specificity wars, redundancy, a house of cards that can't be fixed. The result is extremely inefficient and error-prone styling that punishes users and developers.

The PWA's CSS is generated on-demand by a JS framework that manages styles and outputs "atomic CSS". The framework can enforce strict constraints and perform optimisations, which is why the CSS is so much smaller and safer. Style conflicts and unbounded CSS growth are avoided.