Plot JVN Model Results
Usage
# S3 method for class 'jvn_model'
plot(x, state = "true_lag_0", type = "filtered", ...)See also
Other revision nowcasting:
jvn_nowcast(),
kk_nowcast(),
plot.kk_model(),
print.jvn_model(),
summary.jvn_model()
Examples
gdp <- dplyr::filter(
tsbox::ts_pc(
reviser::gdp
), id %in% c("EA"),
time >= min(pub_date),
time <= as.Date("2020-01-01")
)
gdp <- tidyr::drop_na(gdp)
df <- get_nth_release(gdp, n = 0:4)
# Estimate model
result <- jvn_nowcast(
df = df,
e = 3,
ar_order = 2,
h = 4,
include_news = TRUE,
include_noise = TRUE
)
#> Warning: 2 parameter(s) have problematic standard errors (2 NaN)
plot(result)
