llanalysis: Functions for analyzing data contributions to the likelihood

Description Usage Arguments Details Functions

Description

These functions all take the table produced by the waicmode of gen_likelihood and summarize it by different groupings. This allows us to see whether certain counties or certain time periods are having an outsized contribution to the overall likelihood.

Usage

1
2
3
4
5
6
7
8
9
ll_bycounty(lldetail)

ll_bydate(lldetail)

ll_bydaterange(lldetail, n = 5)

cmpll_bycounty(lldetail, lldetail2)

cmpll_bydaterange(lldetail, lldetail2, n = 5)

Arguments

lldetail

Data frame of detailed log-likelihood contributions.

n

Number of ranges to divide dates into

lldetail2

Data frame of detailed log-likelihood contributions for a comparison scenario.

Details

To use these functions, run the parameters through a likelihood function generated by gen_likelihood with waicmode = TRUE. Then run the parameters you wish to investigate through that likelihood function and pass the result as lldetail.

Functions


rplzzz/CovMitigation documentation built on June 7, 2021, 8:48 a.m.