Beispiel #1
0
        public static Series EstimateDailyFromMonthly(Series observed, Series monthly, bool merge = false)
        {
            MonthlyToDailyConversion c = new MonthlyToDailyConversion(observed, monthly);

            var rval = c.ConvertToDaily();
            if (merge)
                return Merge(observed, rval);

            return rval;
        }
Beispiel #2
0
        public static Series EstimateDailyFromMonthly(Series observed, Series monthly, bool merge = false, bool medianOnly = false, bool setMissingToZero = true)
        {
            MonthlyToDailyConversion c = new MonthlyToDailyConversion(observed, monthly);
            c.FillMissingWithZero = setMissingToZero;
            c.MedianOnly = medianOnly;

            var rval = c.ConvertToDaily();
            if (merge)
                return Merge(observed, rval);

            return rval;
        }