This helper function computes lengths of fine-scale chunks in the hierarchical case.
compute_T_star(horizon, period, dates = NULL, seed = NULL)An integer vector of fine-scale chunk sizes.
The element controls$horizon, i.e., an integer vector of length 2,
where the second entry can be NA_integer_.
The element controls$period, i.e. one of "w",
"m", "q", or "y".
A character vector of dates of empirical fine-scale data (if any).
By default, dates = NULL.
Set a seed for the simulation of flexible chunk lengths.
By default, seed = NULL (i.e., no seed).