Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show United States Rt #6

Open
icco opened this issue Jun 28, 2020 · 6 comments
Open

Show United States Rt #6

icco opened this issue Jun 28, 2020 · 6 comments

Comments

@icco
Copy link

icco commented Jun 28, 2020

It'd be really nice to also see an Rt for the entire US.

@k-sys
Copy link

k-sys commented Jun 28, 2020

Thank you for the feedback.

(1) We haven't done this yet because we've been clear that you can't manage the country as a whole as much as you can manage local infections, but this argument is true at a state level – which is why it's better to see county-level metrics. I'm a bit reluctant to add it because it's not a metric we can actually manage.

(2) It's actually a difficult problem to solve, because testing regimes/standards across states are actually quite different. We've brainstormed a bit about different approaches and we'll see where we get.

On balance, I'm leaning towards adding something like this if we find it because I think intellectually it's an interesting metric even if it's not clearly actionable.

@icco
Copy link
Author

icco commented Jul 2, 2020

Yeah, I'm just kind of curious. I'm not someone making policy or anything, I just wanna know how the country is doing as a whole.

@k-sys k-sys changed the title Show a country level ratio Show United States Rt Jul 3, 2020
@benmarten
Copy link

Second that!
While the management of the pandemic might require different approaches on all levels of the government, we should at least be able to be consistent when comparing countries.
The US is still a single country, so comparing it to Other countries would still be helpful. I.e. compare apples to apples.
For example the EU is a federation of states, while Germany is a federal republic, similar to the US. The sheer size might not be a factor, since the us is also often compared to China, Russia or Brazil!

@michaelosthege
Copy link
Collaborator

Implementation note:

There are countries where the sum of all states is less than the numbers for the entire country (in Germany b/c of data protection, for example). Therefore, it may be easiest to include a "all" region in the dataframes and handle it like any other region.

@TyMick
Copy link
Contributor

TyMick commented Aug 13, 2020

Would a weighted average of all the states' Rt estimates, weighted by each state's population, be a very rough but acceptable proxy for the country's Rt overall? Or would that be wildly inaccurate?

Not to add that to Rt Live's homepage—the reason I ask is because I'm building a little project visualizing the consequences of various Rt values over the next four months. I'm fetching your calculated Rt values to let users feed their state's current Rt estimate (including confidence intervals) and current average daily new cases into the simulation, but I feel like it'd be interesting to let them fill in a current estimate for the United States as a whole, as well.

@michaelosthege
Copy link
Collaborator

I don't think a weighted average can get you there. If at all, it would have to be by number of tests or positives.

The main limitation about summarizing for the entire country is to do the sum over the performed and positive tests. There is often at least one region that has a gap in the data on a particular day. And nansum will give you a number that's too low.. First you have to make sure that 0 actually means 0 and nan is used for "we don't know" or "obviously wrong".

For Germany (https://rtlive.de) we first apply forecasting (see PRs here) to fill gaps before doing the sum.
If I had the time, I'd already done it for the US) - just adding another region "all". But with >50 regions there's a lot more diversity of data artifacts (OK, for example) that mandates a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants