View source: R/AttMOMO_estimation.R
AttMOMO_estimation | R Documentation |
Run AttMOMO base and baseline adjusted models and return estimated means and variances.
AttMOMO_estimation(
country,
StartWeek,
EndWeek,
groups,
pooled = NULL,
indicators,
death_data,
ET_data,
lags = 3,
ptrend = 0.05,
p26 = 0.05,
p52 = 0.1
)
country |
Country name. |
StartWeek |
ISOweek format (YYYY-WXX) |
EndWeek |
ISOweek format (YYYY-WXX) |
groups |
list of group names |
pooled |
list of group names to be pooled (default = NULL) Must be part of groups. |
indicators |
list if indicator variables. One file for each must be available in memory: IndicatorName_data |
death_data |
Name of deaths data file in memory. |
ET_data |
Name of ET data file in memory. |
lags |
weeks of lagged effect (default = 3, max = 9) |
ptrend |
significance of trend to be included (default = 0.05) |
p26 |
significance of half year-sine be included (default = 0.05) |
p52 |
significance of year-sine be included (default = 0.10) |
data with weekly estimated means and variances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.