View source: R/AttMOMO_estimationCut.R
AttMOMO_estimationCut | R Documentation |
Run AttMOMO base and baseline adjusted models and return estimated means and variances.
AttMOMO_estimationCut(
country,
StartWeek,
EndWeek,
groups,
pooled = NULL,
indicators,
indicatorCuts,
death_data,
population_data = NULL,
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 |
indicatorCuts |
list of cut-weeks for each indicator in indicators |
death_data |
Name of deaths data file in memory. |
population_data |
Name of population data file in memory. NULL if not available (default) |
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.