excess_stats {excessmort}R Documentation

Excess counts in an interval

Description

Helper function to compute excess deaths statistics for a

Usage

excess_stats(
  start,
  end,
  obs,
  mu,
  cov,
  pop,
  frequency,
  fhat = NULL,
  X = NULL,
  betacov = NULL
)

Arguments

start

First day of interval

end

Last day of interval

obs

Observed counts

mu

Expected counts

cov

Covariance matrix for percent change

pop

Population size

frequency

Observations per year

fhat

Estimated percent increase

X

Design matrix used to estimate fhat

betacov

Covariance matrix for parameter estimates used to estimate fhat


[Package excessmort version 0.7.0 Index]