MEDICAL ARRANGEMENTS AND A METHOD FOR DETERMINING PARAMETERS RELATED TO INSULIN THERAPY, PREDICTING GLUCOSE VALUES AND FOR PROVIDING INSULIN DOSING RECOMMENDATIONS
The present invention relates to a method for determining a personalized estimate, the magnitude of an intended medical effect, a duration and a shape of this, for a drug, based on sections of data where a target biomarker and dose history have been recorded, wherein the personalized estimate of a finite impulse response model a=[a0, a2 . . . an] and the basal hepatic glucose production Gb is determined according to equations of the present invention. The present invention further relates to a system for controlling insulin delivery to a patient according to the method described in the present invention where the measured biomarker is glucose. The present invention further relates to a medical device performing the calculations according to the present invention.