You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgot to open issue on Jul 06, 2020, when work started:
currently, from the code, it appears that the monthly fractions are sampled from a distribution once for each realization of annual data. So every year in realization 1 is the same kind of year, every year in realization 2 is the same kind of year (but different from the kind of year in realization 1).
verify that is what the code is doing
add option for using just the mode estimate from the fit for the fractions from the fit multivariable beta distribution, for all years and realizations
add option for sampling across years (year 1 is the same kind of year in every realization, but a different kind of year than year 2)
add option for sampling across realizations and years
The text was updated successfully, but these errors were encountered:
currently, from the code, it appears that the monthly fractions are sampled from a distribution once for each realization of annual data. So every year in realization 1 is the same kind of year, every year in realization 2 is the same kind of year (but different from the kind of year in realization 1).
I don't think that's what's happening. Here is the code that calculates the monthly fractions:
This should produce nyear distinct sets of 12 monthly fractions, which are subsequently multiplied by the annual totals to get monthly totals. For example, for nyear = 10:
Unless there is something else that I've missed, this should give the desired result: nyear different years, each with its annual total apportioned according to a different draw from the same Dirichlet distribution.
Forgot to open issue on Jul 06, 2020, when work started:
currently, from the code, it appears that the monthly fractions are sampled from a distribution once for each realization of annual data. So every year in realization 1 is the same kind of year, every year in realization 2 is the same kind of year (but different from the kind of year in realization 1).
The text was updated successfully, but these errors were encountered: