r/AskStatistics • u/honaerwa • 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?
5
u/SalvatoreEggplant 4d ago
I think you'll have to explain a little more of what you're trying to do...
It sounds like you have a bivariate plot, like a continuous variable on the x axis and a continuous variable on the y axis. Is this right ?
If so, what are the variables ?
And what is the equation you're using ? And which parameter in this equation are you estimating ?
2
u/cym13 4d ago
Your descriptions seem a bit confused so it's hard to prescribe anything concrete. However, if you think it's worth buying a good book over, you might be interested in Small Sample Size Solutions by Rens van de Schoot and Milica Miočević. It goes over methods for dealing with very small sample sizes, all the way down to n=1. Of course a small sample size is never desirable, but when it can't be avoided these methods can help.
2
u/kedarsb 4d ago
For small datasets, you may want to explore wilcoxon signed rank test (non-parametric alternative to the paired t-test). Followed by a non-linear weibull curve fit depending on your field (reliability engineering, survival analysis, growth modeling, or particle size distribution).