Median curve and bounds #800
Unanswered
mhamilton-avenir
asked this question in
General
Replies: 3 comments 1 reply
-
are you referring to the values shown in the graph, or exported values in a table. In the graph, I can't see any case where the median exceeds the upper bound. A trajectory corresponding to the median value can very well exceed the trajectory for the highest value at some point in time. We samples the ranges for R0 and the effectiveness of mitigations. Other parameters are fixed at a specific value. hope this helps, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Richard. Attached are screen shots for Tanzania with default parameters. If you set linear axis and remove susceptibles and recovered, you can see the median instantaneous number infectious just slightly exceeds the range. This happens only at the peak, as you say, but it’s true for (almost?) every one of the ~100 scenarios I’ve run for several African countries. So it seems like there must be some simple explanation based on what it means to be the median sampled value.
The scenarios I’m making are not weird – no mitigation, just varying your fitted R0 ranges slightly by a factor. Cumulative deaths, perhaps because cumulative rather than instantaneous, are always right in the middle of the range.
Matt
From: Richard Neher <notifications@github.com>
Sent: Friday, August 14, 2020 4:18 PM
To: neherlab/covid19_scenarios <covid19_scenarios@noreply.github.com>
Cc: Matt Hamilton <MHamilton@avenirhealth.org>; Mention <mention@noreply.github.com>
Subject: Re: [neherlab/covid19_scenarios] Median curve and bounds (#800)
Hi @mhamilton-avenir<https://github.com/mhamilton-avenir>,
are you referring to the values shown in the graph, or exported values in a table. In the graph, I can't see any case where the median exceeds the upper bound. A trajectory corresponding to the median value can very well exceed the trajectory for the highest value at some point in time.
We samples the ranges for R0 and the effectiveness of mitigations. Other parameters are fixed at a specific value.
hope this helps,
richard
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#800 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANC7J6VCDGLIVCB4HWYPDDDSAWLYFANCNFSM4P5GQ22Q>.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Okay, yes that does make sense. To restate, you run N trajectories, and the upper and lower bounds just string together the 20th and 80th percentiles of each value (S, I, R, etc.), taken independently for each quantity at each time point. The solid line is something different, a new trajectory run with the mean of the sampled parameter. It does not correspond to any string of points drawn from the N sampled trajectories, and in particular not to the 50th percentile.
We don’t see any of the other quantities, such as number susceptible or cumulative fatalities, exceed their bounds. That’s because for the number infectious (unlike other quantities) every curve curves peaks at a different time and must exceed all the others at its own peak. This new trajectory for number infectious just does the same, and because it’s the mean of parameters, it tends to peak in the middle of the others.
Thanks Richard, that clears it up!
From: Richard Neher <notifications@github.com>
Sent: Monday, August 17, 2020 9:58 AM
To: neherlab/covid19_scenarios <covid19_scenarios@noreply.github.com>
Cc: Matt Hamilton <MHamilton@avenirhealth.org>; Mention <mention@noreply.github.com>
Subject: Re: [neherlab/covid19_scenarios] Median curve and bounds (#800)
Ok, I think I know why this is. Our terminology is a little confusing. We sample parameters from the ranges given for R0 and the mitigations and generate a bunch of trajectories. We then report the 20% and 80% percentiles at each time point for each quantity as upper and lower bounds. In addition, we run a trajectory for the average parameters. This mostly falls right in the middle of the bounds other than right at the peak (some parameter combinations peak earlier, others later, reversing the order of the lines). We opted for showing the deterministic center trajectory to produce reproducible output between runs, but we probably shouldn't call it "median".
[image]<https://user-images.githubusercontent.com/8379168/90404211-627e7580-e0a2-11ea-83e9-0446f58931a4.png>
hope this makes sense.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#800 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANC7J6SITKZFLE67PXZCVYDSBEZPPANCNFSM4P5GQ22Q>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a few very basic questions about how variance is handled.
Beta Was this translation helpful? Give feedback.
All reactions