View source: R/alternative_lags.R
| log_normal_lag | R Documentation |
get_weighted_lags. To be passed
#' to hhh4_lag or profile_par_lag as the control$funct_lag argument.
#' @param par_lag a parameter vector of length 2 to steer the lag structure, here log(shape) and log(rate),
#' where shape and rate are the parameters of the discrete gamma distribution as implemented in the extraDistr package.
#' @param min_lag smallest lag to include; the support of the Poisson form starts only at min_lag. Defaults to 1.
#' @param max_lag highest lag to include; higher lags are cut off and he remaining weights standardized. Defaults to 5.
#' @author Maria Dunbar, Johannes Bracher
#' @export
This function generates discretized log-normal weights which are subsequently used inside of get_weighted_lags. To be passed
to hhh4_lag or profile_par_lag as the control$funct_lag argument.#' This function generates (shifted) discrete gamma weights which are subsequently used inside of get_weighted_lags. To be passed
#' to hhh4_lag or profile_par_lag as the control$funct_lag argument.
#' @param par_lag a parameter vector of length 2 to steer the lag structure, here log(shape) and log(rate),
#' where shape and rate are the parameters of the discrete gamma distribution as implemented in the extraDistr package.
#' @param min_lag smallest lag to include; the support of the Poisson form starts only at min_lag. Defaults to 1.
#' @param max_lag highest lag to include; higher lags are cut off and he remaining weights standardized. Defaults to 5.
#' @author Maria Dunbar, Johannes Bracher
#' @export
This function generates discretized log-normal weights which are subsequently used inside of get_weighted_lags. To be passed
to hhh4_lag or profile_par_lag as the control$funct_lag argument.
log_normal_lag(par_lag, min_lag, max_lag)
par_lag |
a parameter vector of length 2 to steer the lag structure, here |
min_lag |
smallest lag to include; the support of the Poisson form starts only at |
max_lag |
highest lag to include; higher lags are cut off and he remaining weights standardized. Defaults to 5. |
Maria Dunbar, Johannes Bracher
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.