I have been using NonlinearModelFit
in a current study. Outputs from this procedure include AIC and AICc.
AICc can be calculated from AIC via the following relation:
$$\text{AICc} = \text{AIC} + \frac{2k(k+1)}{n-k-1}$$
If a model with $3$ parameters is considered, then $k = 3$, and if $5$ data points are used in the fitting then $n = 5$. With these assumptions,
$$\frac{2k(k+1)}{n-k-1}=\frac{2\times 3(3+1)}{5-3-1}=24/1=24$$
The denominator of this expression would be zero for $4$ data points.
I have performed an analysis with 5 data points. The value of AICc should be AIC + 24. In this instance NonlinearModelFit
calculated AICc = Infinity
.
Is this an error or am I missing something?