va_weekly_ntest_county: Weekly effective test statistics by locality

Description Usage Format Details

Description

Weekly total number of tests and number of positive tests, by loality, adjusted for overdispersion.

Usage

1

Format

Data frame with 6 columns

week

Week number.

date

Date of the last day of the week.

fips

FIPS code for the locality.

locality

Name of the locality.

ntesteff

Effective number of statistically independent tests performed in the locality for the week.

nposeff

Effective number of statistically independent positive test results obtained in the locality for the week.

Details

This dataset takes the effective number of tests in each health district from vaweeklytests and downscales it to the localities within the district.

The downscaling proceeds in two steps. First, for each week we compute the ratio of effective count to nominal count ρ = N_e/N in the district. The actual case counts from vaweeklycases are reduced by this factor and rounded to the nearest integer; however, for localities that recorded at least one case, this effective case count has a minimum of 1. Each locality is assigned a base number of tests equal to its effective case count. The remaining effective tests in the district are assigned proportional to population, rounding to the nearest integer and ensuring that the sum of the assigned tests are equal to the total number of effective tests left to be assigned (i.e., after the ones assigned for confirmed cases are deducted.)


rplzzz/vdhcovid documentation built on July 2, 2021, 7:43 a.m.