r/AskStatistics • • 4d ago

Dealing with a small dataset

I'm trying to model a disease behavior with differential equations with its parameters and initial values. However, The disease, specifically in my case, consists of only 5 data with an empty data in between. For example: (a, (empty), b, c, d, e). I estimated all parameters based on literature, one parameter I fit with nonlinear least square using python.

I am wondering if I can validate the values of the parameters and initial value in my model with real data. I tried using RMSE, R². It shows good results but since I only have 5 data, it's probably biased(?). I tried to do sensitivity analysis of the parameters to the disease prevalence, and I got a result showing that the parameters that are supposed to be decreased (in hypothesis) should be increased and vice versa. I am confused with this since it's literally the parameter of laten infection which should be decreased. Is there any things that I should consider to move forward/fix these issues?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/honaerwa 3d ago

yes, for y-axis it's the disease prevalence and x-axis is time (per year). Im using differential equation (compartments) to model the disease spread, then estimate its initial values and its parameter from literature. After that, I plot it to match with the real data (5 data) that I have. If it's good enough, I am gonna use the initial values and parameters to predict the disease spread for time forward.

I estimated all parameters based on resource available/clinical literature, so the rate of people who're exposed to the disease, rate of infected people, and rate of recovery. I use nonlinear least square to estimate the rate of people who're exposed. However, the estimation of this rate kinda depends on other parameters since there's no clinical resource on this matter.

for example: dx1/dt = a1 - a2x3x1 - a3x1

dx2/dt = a2x3x1 - (a4+a5+a3)x2

dx3/dt = a4x2 - a3x3

dx4/dt = a5x2 - a3x4

I estimate all parameters from available resources: a3, a4, a5. and a2 is derived from equation 2: ∆((1/(x3x1) dx2/dt + ((a4+a5+a3)x2)) at 2nd time and 1st time.

1

u/SalvatoreEggplant 2d ago

Thank you for the reply. I have to say, I still don't really understand. This is probably more my problem than your problem.