Simulation of blood glucose

Hello all,

I would like to make a simulation model of blood glucose using a real dataset of patients' blood glucose levels.

I have thousands of patients' glucose levels but the sampling frequencies are heterogeneous - each patient's sampling is different from the next. I am wondering if I can use these data to simulate many thousands of modelled patients with high sampling frequencies.

Does anyone on here have any ideas, or know where to point me?

I am more than happy to share some dummy data if that would help explain my problem.



Omega Contributor
Can you better define by what you mean by heterogeneity in this setting as well as high frequency sample. What is the exact issue, some individuals are oversampled?

Another option beyond simulations may be resampling approaches like bootstrapping.
Thanks for the reply.

The heterogeneity I refer to is with regard to how frequently the samples were taken from each patient. There was no controlled sampling protocol - samples were just taken as and when indicated according to clinical judgement. So some patients had 30 samples in the first 24 hours when others may have had only 2 or 3. The interval between samples is therefore highly variable.

I want to use this dataset to simulate a cohort of patients with sampling every hour - this is quite a high frequency - for 24 hours.

Perhaps I need bootstrapping for this; I don't know much about this technique so any pointers again would be very welcome.

Best wishes,


Omega Contributor
Why would the time increment between measurements matter? Do you expect fluctuations in values? I am curious what type of inpatients these are? What are you going to use these data for in particular and why couldn't a linear regression model be used to predict glycemic value for a one hour unit increase when controlling for patient characterics? Is there a y systematic bias in who and when patients get level checked?
Thanks again for the response. Yes, time does matter as the values change over time. The patients are intensive care patients.

I am trying to simulate hourly blood glucose sampling, using a database of real glucose values from irregular sampling.

I'm sure it's possible but I need some pointers.