I have a dataset written below. I need to find a rational function that best fits this data set. How can I do it using Mathematica?
The answer should be: $$f(t)=(2.196t^5+2.27t^4+2.013t^3+0.9592t^2+0.2953t+0.05070)/(768.6t^6+1249t^5+1154t^4+712.9t^3+307.6t^2+89.05t+15.29). $$
Data: Constraints for fitting: f(0)=0.0032; f(t->Infinty)=0.0029/t
t, f(t)
0, 0.0033157279810811526
1, 0.0018295674601849948
2, 0.001131312601917103
3, 0.0008137831218081155
4, 0.000634477850153065
5, 0.0005196386646717525
6, 0.00043989323618322913
7, 0.0003813202240932608
8, 0.0003364891929679466
9, 0.0003010778932330931
10, 0.0002724027569571278
11, 0.00024871026460566477
12, 0.00022880647172520942
13, 0.00021185043578976072
14, 0.00019723280821218295
15, 0.00018450128323486335
16, 0.00017331309019417618
17, 0.00016340374128199977
18, 0.000154565898127803
19, 0.00014663473181380346
20, 0.00013947756268911104
21, 0.0001329863885107969
22, 0.00012707240339959042
23, 0.00012166191521331618
24, 0.00011669326214520721
n=1; m=2
(5 parameters) gives an almost perfect fit (and nearly identical predictions as withn=2; m=2
). $\endgroup$fit("CorrelationMatrix")//TableForm
) shows many, many entries near 1 or -1 which implies (or actually yells out) overparameterization. $\endgroup$