This isn't a major paper, but it's an interesting jumping-off point for three different topics:

- Accuracy of RATs—in practice
- Understanding what descriptive (incl. Bayesian) statistics mean
- HOW rapid tests work

Here's a thread written for a general audience!

1/ Published Aug 2, 2024 in PLOS ONE: "Evaluation of COVID-19 rapid antigen test against polymerase chain reaction test in immunocompromised patients"  Abstract: "... Patients with Ct value less than 20, had the highest detection rate which is consistent with other studies in the literature. The sensitivity and specificity of Panbio Rapid Antigen testing were of 69.9% and 100%, respectively. A correlation between age group and false negative results could not be made, but a correlation between Ct value and false negative result was noticed, Ct value was directly related to false...
This study was conducted from January 2020 to June 2021 using admission screening swabs from 556 oncology patients at a single hospital in Jerusalem.

The patients in this study were swabbed for both PCR and RAT, allowing for comparison of the detection ability.

2/ "Materials and methods Study design  This prospective study was conducted on 556 patients evaluated at Augusta Victoria Hospital (AVH) between January 2020 and June 2021. Patients’ age range was from 1 month to 90 years of age with an average age of 41.8 years. Of the 556 patients, 481 (86.5%) were adult patients and 75 (13.5%) were pediatric patients. with an overall male to female ratio of 1:1.04.  Patients arriving at AVH with any signs of respiratory symptoms, were simultaneously evaluated for the presence of SARS-CoV-2 antigens by Panbio TM COVID-19 Ag Rapid Test Device and for th...
The takeaway is simple: The Rapid Antigen Test (RAT) used here had a sensitivity of 69.6%.

Sensitivity is the *true positive* rate. This means that, out of the patients who tested positive for SARS-CoV-2 using qRT-PCR testing, only 69.6% were *also* positive on the RAT.

3/ "Results Panbio TM COVID-19 Test Device clinical sensitivity and specificity  Of the 556 patient’s analyzed NPS, 112 (20.1%) samples were positive by the Allplex TM SARSCoV-2 Assay, while 78 (16.3%) were positive by the Panbio TM COVID-19 assay. Thirty-four samples were negative by Panbio TM COVID-19 Ag Rapid Test Device and positive by the Allplex TM SARS-CoV-2 Assay. Thus, the overall sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) were, 69.6%, 100%, 100%, and 92.9%, respectively."  ---  Characteristics of Panbio Rapid Antigen Test ...
Additionally, specificity (true negative rate) of the RAT is 100%, which means that 100% of the patients who were negative on the qRT-PCR were also negative on the RAT.

However, we can also consider these values from a totally different (probabalistic) perspective...

4/ /var/folders/yr/_gzpb_gd2457k8yvz52dbrrh0000gn/T/images/Obsidian 2024-08-03 21.54.38.png
Positive and negative predictive values (PPV & NPV) reflect how well a test predicts a condition.

PPV is, essentially, the probability a positive TEST result predicts an actual positive COVID case.

Here, positive RATs had a 100% chance of accurately predicting a COVID case.

5/ The positive predictive value (PPV) of rapid antigen tests is 100%. This means that a positive RAT results predicts a TRUE underlying COVID case 100% of the time.
NPV is, conversely, the probability a negative TEST result predicts an actual negative COVID status.

In this study, negative RAT only had a 92.9% chance of accurately predicting a negative final diagnosis for COVID.

So why four different numbers? What the hell do they mean?

6/ Image
It'll actually be easier to explain the statistics if we derive them from scratch! These stats are calculated with simple arithmetic!

So, I started by loading the data into a set of descriptively-named variables we can use for the calculation:

7/ # Testing outcomes of 556 patients PCR+ & RAT+ cases = 78 patients PCR- & RAT+ cases = 0 patients PCR+ & RAT- cases = 34 patients PCR- & RAT- cases = 444 patients  # Distribution of RAT testing outcomes all RAT+ cases = (PCR+ & RAT+ cases) + (PCR- & RAT+ cases) = 78 all RAT- cases = (PCR+ & RAT- cases) + (PCR- & RAT- cases) = 478  # Distribution of PCR testing outcomes all PCR+ cases = (PCR+ & RAT+ cases) + (PCR+ & RAT- cases) = 112 all PCR- cases = (PCR- & RAT+ cases) + (PCR- & RAT- cases) = 444 total tested = all PCR+ cases + all PCR- cases = 556
Another way to think of sensitivity is that it's the TRUE POSITIVES detected by RATs, as a fraction of the TOTAL PCR POSITIVES, which is the "gold standard" test, in this case.

(Specificity is more relevant than here if/when there is higher risk of false positives.)

8/ Calculations for Sensitivity & Specificity  # Sensitivity sensitivity = (true positives) ÷ (true positives + false negatives) sensitivity = PCR+ & RAT+ cases ÷ (PCR+ & RAT+ cases + PCR+ & RAT- cases)  Sensitivity of RATs (relative to PCR): 69.6%  # Specificity specificity = (true negatives) ÷ (true negatives + false positives) specificity = PCR- & RAT- cases ÷ (PCR- & RAT- cases + PCR- & RAT+ cases)  Specificity of RATs (relative to PCR): 100%
PPV and NPV differ from the above in that they're derived from Bayes' theorem, and they factor the baseline positivity rate of the tested sample into the calculation.

In this study, the prevalence of COVID among the tested sample was 20.1%.

9/ Calculations for Prevalence  # Prevalence prevalence = (positives) ÷ (positives + negatives) prevalence = (all PCR+ cases) ÷ (total tested)  Prevalence of COVID during test period (as measured by PCR): 20.1%  This means that, out of everyone who was tested, 20.1% were positive via PCR testing. This is our baseline positivity rate within the tested population.
We can use the sensitivity, specificity, and prevalence values we calculated above to derive the PPV and NPV.

THIS is why the accuracy of diagnostic tests decreases as the population-level positivity rate increases: Significant interaction between prevalence and accuracy!

10/ # Positive predictive value (PPV) The formula for PPV is derived from Bayes' theorem: PPV = (sensitivity × prevalence) ÷ (sensitivity × prevalence + (1 - specificity) × (1 - prevalence))  Positive predictive value of RATs for predicting a true COVID case: 100%  ---  # Negative predictive value (NPV) The formula for NPV is derived from Bayes' theorem: NPV = (specificity x (1 - prevalence)) ÷ (specificity × (1 - prevalence) + (1 - sensitivity) × prevalence)  Negative predictive value of RATs for predicting a true non-COVID case: 92.9%
False Omission Rate is the inverse of Negative Predictive Value. This means the probability of a COVID case being missed by a RAT—at the population level—is 7.1% *when you factor in prevalence*!

The probability of tests on different days both missing a COVID case is 0.5%.

11/ # False omission rate (FOR) FOR = 1 - NPV as % = 7.1% Probability of true COVID case being missed: 7.1% Probability of true COVID case being missed twice: 0.5%  Probability that a RAT result will be negative even if the person is actually positive for COVID: 7.1%  Probability that two RAT results will be negative (on separate days) even if the person has COVID: 0.5%
Why is prevalence part of the calculation? Let's see how it impacts the outcome.

Here are the PPV and NPV calculations for tests for hypothetical conditions which affect:

1. 100% of the population
2. 80% of the population
3. 50% of the population
4. 0% of the population

12/ Example: 100% prevalence - PPV: 100% - NPV: 0%  If 100% of the population has some condition, then a negative test result is incorrect, by definition!  ---  Example: 80% prevalence - PPV: 100% - NPV: 45.2%  If the prevalence in the population is very high, then a negative result is much more likely to be wrong.  ---  Example: 50% prevalence - PPV: 100% - NPV: 76.7%  ---  Example: 0% prevalence - PPV: division by zero error - NPV: 100%  If a condition were eliminated from the population, we can (probably) assume that a positive test result is actually a false positive (if it's like... smallp...
And now you can see why you need to have two negatives, two days in a row on rapid antigen tests to consider it a true negative: variable likelihood of *what* is causing your symptoms, *when* you were infected relative to today, etc., means false negatives vary!

13/
Anyway, back to the paper! In qRT-PCR testing, the Ct value is a "relative measure of the concentration of target in the PCR reaction."

That is, it's an arbitrary value that is *consistently meaningful* for all machines running this specific test.

14/
Figure 1. Graphical representation of real-time PCR data. Rn is the fluorescence of the reporter dye divided by the fluorescence of a passive reference dye; i.e.,Rn is the reporter signal normalized to the fluorescence signal of Applied Biosystems ™ ROXtM Dye. (A) In this view, Rn is plotted against PCR cycle number. (B) ARn is Rn minus the baseline; ARn is plotted against PCR cycle number. (C) An amplification plot shows the variation of log (ARn) with PCR cycle number.  Source: https://www.thermofisher.com/ca/en/home/life-science/pcr/real-time-pcr/real-time-pcr-learning-center/real-time-p...
Factors that can influence Ct  Ct (threshold cycle) is the intersection between an amplification curve and a threshold line. It is a relative measure of the concentration of target in the PCR reaction. Many factors impact the absolute value of Ct besides the concentration of the target. We will discuss the most common template-independent factors that can influence Ct and describe how to evaluate the performance of a real-time PCR reaction.  The exponential phase in Figure 1B corresponds to the linear phase in Figure 1C. ... The Ct value increases with a decreasing amount of template. Howev...
This study found that if the qRT-PCR threshold was set to a value of 20—indicating the positivity threshold was crossed after 20 or fewer amplification cycles—the sensitivity of RATs was 91.8%.

RAT sensitivity dropped to 77.5% for those with PCR positivity between 20-30 Ct!

15/ "Panbio COVID-19 Test Device detection limit based on qRT-PCR assay Ct value  Stratifying the positive SARS-CoV-2 samples by the qRT-PCR Ct value, revealed that the Panbio TM COVID-19 Ag Rapid Test Device performed well with a high sensitivity (91.8%) when the qRT-PCR Ct value was below 20. The Panbio COVID-19 Ag Rapid Test Device sensitivity dropped to 77.5% in patient samples with a Ct value 20–30. The Panbio TM COVID-19 Ag Rapid Test Device performance was very poor in samples with qRT-PCR Ct values between 30–34 and 35–40, 18.2% and 0%, respectively."
What does it mean? Well, a lower qRT-PCR Ct value corresponds to *higher* viral load, so in an immunocompromised group (oncology patients), RATs are *somewhat* reliable at detecting COVID cases.

In this patient group, viral load skewed higher (indicated by lower Ct values).

16/ Table 2. Ct values and Panbio COVID-19 Ag rapid test results.  Ct / Antigen positive / Antigen negative / Total / Percent (%) Less than 20 / 45 / 4 / 49 / 91.8 20-29 / 31 / 9 / 40 / 77.5 30-34 / 2 / 9 / 11 / 18.2 35-40 / 0 / 12 / 12 / 0  https://doi.org/10.1371/journal.pone.0306396.t002
The biggest caveat to this study is that they didn't have symptom info for all cases. This can had an impact on the effectiveness of RATs: "Most studies agree on the fact that RAT can be mostly reliable in patients with respiratory symptoms and not asymptomatic individuals"

17/ "P-Value of 0.007 indicates that our hypothesis that the difference between rapid test results of COVID-19 samples versus PCR test is statistically significant. However, PCR testing is more sensitive and might be considered in rapid test negative cases if it is still suspected to have a positive result through PCR based on symptoms or exposure to infected individuals.  In our study, one of the main limitations was that symptoms were not reported for all cases, a previous study showed that RAT sensitivity was 34% in an emergency department with 421 patients participating in the study. O...
What's the takeaway? If we're following the precautionary principle:

- RATs shouldn't be relied upon for *ruling out* infections.
- RATs still CAN be used to quickly and effective *rule in* an infection.

18/ "Conclusion  Based on the results obtained in this research, and other similar studies, it can be concluded that using qRT-PCR testing in asymptomatic patients is preferred, while in symptomatic patients antigen testing somehow showed positive results that can be used to make fast and effective decisions regarding the isolation of patients and preventing outbreaks in hospital setting, thus we recommend performing RT-PCR in patients with negative results that are highly suspected to have Covid- 19 afterwards."
Note that the data in the paper is pre-Omicron. On top of that, the RAT used here requires a nasopharyngeal swab to be taken by a professional.

All that is to say that the numbers here should probably be taken as the UPPER BOUNDARY for RAT reliability in the Omicron era.

19/
IMO, the reliability of RATs is probably much lower today, because:

- self-tests already have a lower reliability, and
- other studies have shown that Omicron seems to produce lower levels of antigen presentation.

Both of those could increase the false negative rate.

20/
Why is there such a big difference between RAT and PCR sensitivity? They work in fundamentally different ways!

qRT-PCR detects the presence of genes which encode: 1) the enzyme the virus uses to replicate, 2) the nucleocapsid gene, 3) the envelope gene.

21/ "Abbott Panbio COVID-19 Rapid Test Device.  This lateral flow assay (LFA) is intended to rapidly detect SARS-CoV-2 Antigen in the patient's nasopharyngeal swab within 15 minutes. The Panbio COVID-19 Ag Rapid Test Device is a chromatography assay that contains a membrane strip that is pre-coated with immobilized anti-SARS-CoV-2 antibody on the test line...  Seegene Allplex SARS-CoV-2 Assay.  The FDA-EUO-approved multiplex qRT-PCR was designed to detect three SARS-CoV-2 target genes and one internal control gene in a single reaction tube within 3-4 hours. The assay detects SARS-CoV-2 spe...
For this rapid antigen test, in contrast, the test line is coated with an anti-SARS-CoV-2 antibody, which reacts with a SARS-CoV-2 antigen.

The control line is coated with an anti-chicken IgY antibody, and the buffer solution contains a chicken IgY protein to react with.

22/ "The Panbio™ COVID-19 Ag Rapid Test Device is a chromatography assay that contains a membrane strip that is pre-coated with immobilized anti-SARS-CoV-2 antibody on the test line and mouse monoclonal anti-chicken IgY on the control line. Human IgG gold conjugate specific to SARS-CoV-2 Ag and chicken IgY gold conjugate move upwards on the membrane chromatographically and react with anti-SARS-CoV antibody and pre-coated mouse monoclonal anti-chicken IgY, respectively. The presence of SARS-CoV-2 antigen in the patient sample will be indicated by the development of a test line in the result...
So while RNA from SARS-CoV-2 genes is *amplified* in qRT-PCR testing to allow even small amounts of RNA to be detected, rapid antigen tests just have to work with whatever is on the swab. If the right antigen isn't at the swab location, the test will be negative!

23/
If we were still in a world that practiced basic infection control, this study would have confirmed that rapid antigen tests are an effective measuring for rapidly detecting infections, to minimize exposure as much as possible.

24/ "Role of the utilization of the Panbio COVID-19 Test Device in infection control  The rapid turnaround time of the Panbio COVID-19 Ag Rapid Test Device allowed the infection control (IC) team to make quick decisions and move the infected patients to the COVID-19 center on 69.6% of the SARS-CoV-2 patients within 30 minutes of the patient's arrival to the hospital avoiding causing SARS-CoV-2 hospital-acquired infections. However, the presence of negative Panbio COVID-19 Ag Rapid Test in patients with very high viral titers (low Ct value) mandates keeping careful attention to the patient'...
This thread ended up being more of a statistics lesson than anything, which I'll definitely be linking to a whole bunch.

The paper was published on August 2, 2024 in PLOS ONE, and is available open access:

25/25journals.plos.org/plosone/articl…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Nick #RespiratorsFilterPathogens😷 Anderegg

Nick #RespiratorsFilterPathogens😷 Anderegg Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @NickAnderegg

Sep 7
Let’s talk about systemic risk from negligent public health: Catastrophe doesn’t require population-wide illness.

The worst case isn’t sickness. Worst case is infrastructure collapse due to overstressed resources.

You know power plants need stable power to operate?

1/many “8. Performance of Nuclear Power Plants Affected by the Blackout  On August 14, 2003, nine U.S. nuclear power plants experienced rapid shutdowns (reactor trips) as a consequence of the power outage. Seven nuclear power plants in Canada operating at high power levels at the time of the event also experienced rapid shutdowns. […]. Many non-nuclear generating plants in both countries also tripped during the event. Numerous other nuclear plants observed disturbances on the electrical grid but continued to generate electrical power without interruption.  […]  - The severity of the grid transient...
If there is a widespread disruption in the service area of, e.g., a nuclear power plant, it shuts down for safety. Massive blackouts like in 2003 or in Spain this year are caused by safety systems!

If too much trips out at once, it has a ripple effect across the grid
2/ Source: https://www.insurancejournal.com/news/international/2025/04/29/821703.htm  Why Restarting a Power Grid After Massive Collapse Is So Hard April 29, 2025 by Rachel Morison and William Mathis  It’s a worst case scenario that grid operators plan for but hope never to encounter. After one of the worst blackouts in Europe in more than a decade, electricity grid operators in Spain and Portugal are trying to get networks back up and running from the ground up.  The initial estimate from grid operator Red Electrica was that restoring all power supply in Spain may take between six and 10 hour...
Frequency Factor  So far, the only information about what caused the crisis was a comment from grid operator Red Electrica that the blackout was a result of “oscillation,” which suggests a disruption in the grid’s frequency or voltage — both crucial factors for maintaining stability. The frequency, which normally stays pretty steady around 50 hertz, is the heartbeat of the grid.  Frequency monitoring specialist Gridradar said it identified a rapid movement in frequency just after noon in Spain — right before the blackout hit. Such oscillations can cause chain reactions that ultimately lead ...
In 2003, it took 2 days to fully restore most power. The infrastructure is 20 years older than it was back then and higher demand creates risk of cascading failure.

As of 2003, recommendations from blackouts in 1965, 1977, 1982, 1996, and 1998 had not been implemented.
3/ “Recommendations to Prevent or Minimize the Scope of Future Blackouts  As reported in previous chapters, the blackout on August 14, 2003, was preventable. It had several direct causes and contributing factors, including: • Failure to maintain adequate reactive power support • Failure to ensure operation within secure limits • Inadequate vegetation management • Inadequate operator training • Failure to identify emergency conditions and communicate that status to neighboring systems • Inadequate regional-scale visibility over the bulk power system.”
“Further, as discussed in Chapter 7, after each major blackout in North America since 1965, an expert team of investigators has probed the causes of the blackout, written detailed technical reports, and issued lists of recommendations to prevent or minimize the scope of future blackouts. Yet several of the causes of the August 14 blackout are strikingly similar to those of the earlier blackouts. Clearly, efforts to implement earlier recommendations have not been adequate. Accordingly, the recommendations presented below emphasize comprehensiveness, monitoring, training, and enforcement of r...
“1. Market mechanisms should be used where possible, but in circumstances where conflicts between reliability and commercial objectives cannot be reconciled, they must be resolved in favor of high reliability.  2. Regulators and consumers should recognize that reliability is not free, and that maintaining it requires ongoing investments and operational expenditures by many parties. Regulated companies will not make such outlays without assurances from regulators that the costs will be recoverable through approved electric rates, and unregulated companies will not make such outlays unless th...
“3. Recommendations have no value unless they are implemented. Accordingly, the Task Force emphasizes strongly that North American governments and industry should commit themselves to working together to put into effect the suite of improvements mapped out below. Success in this area will require particular attention to the mechanisms proposed for performance monitoring, accountability of senior manage-ment, and enforcement of compliance with standards.  4. The bulk power systems are among the most critical elements of our economic and social infrastructure. Although the August 14 blackout ...
Read 20 tweets
Sep 4
If Florida drops vaccine mandates, society is probably officially over. I really, really, really don’t think most people get that herd immunity is the only thing keeping measles from ripping through the population, and a measles infection wipes out all pre-existing immunity

1/3
Measles specifically infects the cells that are responsible for “remembering” which pathogens your body has encountered before. So they ALL get wiped out, and all you’re left with is cells that remember your measles infection and nothing else.

2/3
Every infection, vaccination, and other pathogenic exposure you’ve ever had? Your body no longer knows how to detect them after a measles infection. The only immunity you’ll be left with is immunity to measles. That’s it. Open season for every other pathogen encountered.

3/3
Read 8 tweets
Jun 30
Can I say something? I have a BA in psych, a BPhil in linguistics, and went to grad school for cognitive psych. My research, including an undergrad fellowship, was on the cognitive relationship between written and spoken language…

Audiobooks are NO DIFFERENT than reading print.
In the last hour, there have been a dozen replies from people nitpicking the first tweet

The topic of discussion is "do audiobooks 'count' as reading?," and the answer is "Audiobooks are NO DIFFERENT than reading print."

Maybe read the thread before arguing with it? lmfao
And for all those people with indignant responses who want to nitpick every detail, the fact that so many people hold THIS exact view—that audiobooks are somehow “cheating”—is the ENTIRE point. It leads to people who would benefit from audiobooks depriving themselves the medium
Read 4 tweets
Feb 1
Many people are asking for recommendations about what storage media to buy, so here's a buying guide from an experienced data hoarder (me)

The MOST IMPORTANT thing to know is that SOLID-STATE MEDIA IS NOT DURABLE. Flash drives, SSDs, SD cards, etc. are NOT long-term storage.

1/
That's not to say that it's impossible to use solid-state media for long-term storage. It's just that anything with durability guarantees gets prohibitively expensive quickly. Spinning hard drives—as well as DVDs and Blu-ray discs!—are your friend.

2/
- The way data is stored in solid-state media makes it much more susceptible to bit rot than other media.
- In a spinning hard drive, the moving parts are the most common point of failure.
- When you burn a DVD, that shit is fairly permanent.

3/
Read 42 tweets
Jan 9
I wish people would understand that insurance underwriters have armies of actuaries calculating risks, and if an insurance company drops you, it's because things have changed in such a way that insuring you will take more out of the financial pool than you're putting in

1/
It sucks, but it's a direct result of the fact that humans are widely inhabiting locations that are rapidly becoming impossible to inhabit safely. If you can't find insurance for your home, it means there's a high likelihood you'll need to move soon anyway.

2/
You get insurance so that you can replace all of your stuff in the event of a disaster. When the insurance company effectively says "the risk of disaster is so high that insuring you would almost certainly cause us to lose a lot of money," it ALSO means your life is in danger

3/
Read 7 tweets
Jan 5
So here’s the thing about some of the subtle neuro damage related to SARS-CoV-2 infection that I think a lot of people miss: some of the known deficits are correlated with things like impulsiveness and poor emotional control, so we might expect to see deficits there are well

1/
Consider how impatient people seem to be on the road in the last couple years relative to the 2010s, and I think we have a perfect example of where this is LIKELY already manifesting.

2/
This impact is particularly insidious for the person experiencing it, because poor impulse control, by definition, doesn’t really come on gradually. My biggest concern is how interactions under these circumstances will play out if this impact continues to become more common

3/
Read 15 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(